powerpc: Regenerate ULPs
[glibc.git] / ChangeLog
blobccdffd77e705c39809c8d4de231fe226cb8a93e0
1 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
7         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
8         Define to __WORDSIZE, not conditional on [LONG_MAX ==
9         0x7fffffffL].
10         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
15         inline by __inline__.
16         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
17         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
18         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
19         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
20         sigset_t from signal.h.
21         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
22         which is already required.
24 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
26         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
30         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
31         (struct tcp_repair_window): New type.
33 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35         * libio/tst-memstream3.c: Include string.h.
37 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
39         [BZ #18241]
40         [BZ #20181]
41         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
42         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
43         write position is at the end the buffer.
44         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
45         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
46         (_IO_str_seekoff): Set correct offset from negative displacement and
47         set EINVAL for invalid ones.
48         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
49         buffer length.
50         (_IO_wstr_switch_to_get_mode): New function.
51         (_IO_wstr_seekoff): Set correct offset from negative displacement and
52         set EINVAL for invalid ones.
53         * libio/tst-memstream3.c: New file.
54         * libio/tst-wmemstream3.c: Likewise.
55         * manual/examples/memstrm.c: Remove warning when priting size_t.
57 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
59         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
60         macro to use __builtin_fma.
61         * sysdeps/x86_64/fpu/dla.h: Remove file.
63         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
64         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
65         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
67 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
69         [BZ #20292]
70         * elf/Makefile (routines): Add dl-addr-obj.
71         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
72         tst-_dl_addr_inside_object.
73         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
74         [ifeq (yesyes,$(have-fpie)$(build-shared))]
75         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
76         [ifeq (yesyes,$(have-fpie)$(build-shared))]
77         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
78         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
79         * elf/dl-open.c: Likewise.
80         * elf/dl-addr-obj.c: New file.
81         * elf/tst-_dl_addr_inside_object.c: New file.
83 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
85         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
86         <bits/iscanonical.h>.
87         * bits/iscanonical.h: New file.
88         * math/s_iscanonicall.c: Likewise.
89         * math/Versions (__iscanonicall): New libm symbol at version
90         GLIBC_2.25.
91         * math/libm-test.inc (iscanonical_test_data): New array.
92         (iscanonical_test): New function.
93         (main): Call iscanonical_test.
94         * math/Makefile (headers): Add bits/iscanonical.h.
95         (type-ldouble-routines): Add s_iscanonicall.
96         * manual/arith.texi (Floating Point Classes): Document
97         iscanonical.
98         * manual/libm-err-tab.pl: Update comment on interfaces without
99         ulps tabulated.
100         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
101         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
102         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
103         Likewise.
104         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
105         test-iscanonical-ldbl-128ibm.
106         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
107         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
108         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
109         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
110         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
111         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
112         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
114         Likewise.
115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
116         Likewise.
117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
118         Likewise.
119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
120         Likewise.
121         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
122         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
124 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
126         * string/bits/string3.h: Remove C++ style comments.
128 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
130         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
131         instead of ternary condition.
132         (do_sincos_2): Likewise.
133         (__sin): Likewise.
134         (__cos): Likewise.
135         (slow): Likewise.
136         (sloww): Likewise.
137         (sloww1): Likewise.
138         (bsloww): Likewise.
139         (bsloww1): Likewise.
141         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
142         instead of ternary condition.
143         (do_sin_slow): Likewise.
144         (do_sincos_1): Likewise.
145         (do_sincos_2): Likewise.
146         (__cos): Likewise.
147         (sloww): Likewise.
148         (sloww1): Likewise.
149         (sloww2): Likewise.
150         (bsloww): Likewise.
151         (bsloww1): Likewise.
152         (bsloww2): Likewise.
154         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
155         check from here...
156         (slow2): ... and here...
157         (__sin): ... to here.
159 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
161         * math/math.h
162         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
163         Cast argument to its own type.
164         * math/test-iszero-excess-precision.c: New file.
165         * math/Makefile (tests): Add test-iszero-excess-precision.
166         (CFLAGS-test-iszero-excess-precision.c): New variable.
168 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
170         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
171         field, add err field.
172         (__spawni_child): Report error through err member instead of pipe.
173         (__spawnix): Likewise.
175 2016-09-28  Zack Weinberg  <zackw@panix.com>
177         * scripts/check-installed-headers.sh: Generalize treatment of
178         sys/elf.h to all target architectures.
180         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
181         deleted typedef ucontext_t.
183 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
185         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
186         (__INTERNAL_SYSCALL1): Likewise.
187         (__INTERNAL_SYSCALL2): Likewise.
188         (__INTERNAL_SYSCALL3): Likewise.
189         (__INTERNAL_SYSCALL4): Likewise.
190         (__INTERNAL_SYSCALL5): Likewise.
191         (__INTERNAL_SYSCALL6): Likewise.
192         (__INTERNAL_SYSCALL7): Likewise.
193         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
194         (__INTERNAL_SYSCALL_NARGS): Likewise.
195         (__INTERNAL_SYSCALL_DISP): Likewise.
196         (INTERNAL_SYSCALL_CALL): Likewise.
197         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
198         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
199         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
200         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
201         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
202         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
203         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
204         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
205         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
206         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
207         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
208         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
209         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
211 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
213         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
214         macro.
215         * math/libm-test.inc (iszero_test_data): New array.
216         (iszero_test): New function.
217         (main): Call iszero_test.
218         * manual/arith.texi (Floating Point Classes): Document iszero.
219         * manual/libm-err-tab.pl: Update comment on interfaces without
220         ulps tabulated.
222 2016-09-23  Zack Weinberg  <zackw@panix.com>
224         * scripts/check-installed-headers.sh: New script.
225         * Rules: In each directory that defines header files to be installed,
226         run check-installed-headers.sh on them as a special test.
227         * Makefile: Likewise for the headers installed at top level.
229         * include/aliases.h, include/alloca.h, include/argz.h
230         * include/arpa/nameser.h, include/arpa/nameser_compat.h
231         * include/elf.h, include/envz.h, include/err.h
232         * include/execinfo.h, include/fpu_control.h, include/getopt.h
233         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
234         * include/link.h, include/malloc.h, include/mcheck.h
235         * include/mntent.h, include/netinet/ether.h
236         * include/nss.h, include/obstack.h, include/printf.h
237         * include/pty.h, include/resolv.h, include/rpc/auth.h
238         * include/rpc/auth_des.h, include/rpc/auth_unix.h
239         * include/rpc/clnt.h, include/rpc/des_crypt.h
240         * include/rpc/key_prot.h, include/rpc/netdb.h
241         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
242         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
243         * include/rpc/rpc_msg.h, include/rpc/svc.h
244         * include/rpc/svc_auth.h, include/rpc/xdr.h
245         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
246         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
247         * include/rpcsvc/ypupd.h, include/shadow.h
248         * include/stdio_ext.h, include/sys/epoll.h
249         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
250         * include/sys/prctl.h, include/sys/profil.h
251         * include/sys/statfs.h, include/sys/sysctl.h
252         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
253         * sysdeps/arm/nacl/include/bits/setjmp.h
254         * sysdeps/mips/include/sys/asm.h
255         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
256         * sysdeps/unix/sysv/linux/include/sys/timex.h
257         * sysdeps/x86/fpu/include/bits/fenv.h:
258         Add #ifndef _ISOMAC guard around internal declarations.
259         Add multiple-inclusion guard if not already present.
261 2016-09-23  Zack Weinberg  <zackw@panix.com>
263         * sysdeps/generic/sys/ucontext.h
264         * sysdeps/arm/sys/ucontext.h
265         * sysdeps/i386/sys/ucontext.h
266         * sysdeps/m68k/sys/ucontext.h
267         * sysdeps/mips/sys/ucontext.h
268         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
269         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
270         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
271         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
272         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
273         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
274         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
275         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
276         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
277         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
278         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
279         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
280         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
281         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
282         Include both bits/sigcontext.h and bits/sigstack.h.
283         Fix grammar error in comment, if present.
285         * bits/sigstack.h
286         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
287         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
288         * sysdeps/unix/sysv/linux/bits/sigstack.h
289         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
290         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
291         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
292         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
293         * bits/sigcontext.h
294         * sysdeps/mach/hurd/i386/bits/sigcontext.h
295         * sysdeps/unix/sysv/linux/bits/sigcontext.h
296         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
297         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
298         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
299         as well as signal.h, if this was not already allowed.  Request
300         definition of size_t if necessary.  Minimize semantically-null
301         differences across files.
303 2016-09-23  Zack Weinberg  <zackw@panix.com>
305         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
306         Remove all logic conditional on __need macros.  Move all the
307         conditionally defined types to their own headers...
308         * time/bits/types/clock_t.h: Define clock_t here.
309         * time/bits/types/clockid_t.h: Define clockid_t here.
310         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
311         * time/bits/types/struct_timespec.h: Define struct timespec here.
312         * time/bits/types/struct_timeval.h: Define struct timeval here.
313         * time/bits/types/struct_tm.h: Define struct tm here.
314         * time/bits/types/time_t.h: Define time_t here.
315         * time/bits/types/timer_t.h: Define timer_t here.
316         * time/Makefile: Install the new headers.
318         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
319         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
320         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
321         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
322         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
323         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
324         * sysdeps/unix/sysv/linux/bits/resource.h
325         * sysdeps/unix/sysv/linux/bits/timex.h
326         * sysdeps/unix/sysv/linux/mips/bits/resource.h
327         * sysdeps/unix/sysv/linux/net/ppp_defs.h
328         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
329         * sysdeps/unix/sysv/linux/sys/acct.h
330         * sysdeps/unix/sysv/linux/sys/timerfd.h
331         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
332         * time/sys/time.h, time/sys/timeb.h
333         Use the new bits/types headers.
335         * include/time.h: Remove __need logic.
336         * include/bits/time.h
337         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
338         * include/bits/types/time_t.h, include/bits/types/timer_t.h
339         * include/bits/types/struct_itimerspec.h
340         * include/bits/types/struct_timespec.h
341         * include/bits/types/struct_timeval.h
342         * include/bits/types/struct_tm.h:
343         New wrapper headers.
345 2016-09-23  Zack Weinberg  <zackw@panix.com>
347         * sysdeps/mach/hurd/net/if_ppp.h
348         * sysdeps/unix/sysv/linux/net/if_ppp.h:
349         Only define struct ifpppstatsreq and struct ifpppcstatsreq
350         if __USE_MISC is defined, to ensure struct ifreq is declared.
352         * inet/netinet/ether.h: Condition all function prototypes
353         on __USE_MISC, to ensure struct ether_addr is declared.
355         * socket/bits/types/struct_osockaddr.h: New header.
356         * include/bits/types/struct_osockaddr.h: New wrapper.
357         * socket/Makefile: Install the new header.
358         * socket/sys/socket.h, inet/protocols/talkd.h:
359         Refer to bits/types/struct_osockaddr.h for the definition of
360         struct osockaddr.
362 2016-09-23  Zack Weinberg  <zackw@panix.com>
364         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
365         * inet/protocols/routed.h, inet/protocols/talkd.h
366         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
367         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
368         * sysdeps/generic/netinet/if_ether.h
369         * sysdeps/generic/netinet/in_systm.h
370         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
371         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
372         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
373         * sysdeps/mach/hurd/net/if_arp.h
374         * sysdeps/mach/hurd/net/if_ppp.h
375         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
376         * sysdeps/unix/sysv/linux/bits/in.h
377         * sysdeps/unix/sysv/linux/net/ethernet.h
378         * sysdeps/unix/sysv/linux/net/if_arp.h
379         * sysdeps/unix/sysv/linux/net/if_ppp.h
380         * sysdeps/unix/sysv/linux/net/if_shaper.h
381         * sysdeps/unix/sysv/linux/net/route.h
382         * sysdeps/unix/sysv/linux/netinet/if_ether.h
383         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
384         * sysdeps/unix/sysv/linux/netinet/if_tr.h
385         * sysdeps/unix/sysv/linux/netipx/ipx.h
386         * sysdeps/unix/sysv/linux/sys/acct.h
387         * include/arpa/nameser.h, include/resolv.h:
388         Change all uses of u_char to unsigned char,
389         u_short and ushort to unsigned short, u_int and uint to unsigned int,
390         u_long and ulong to unsigned long, u_int8_t to uint8_t,
391         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
392         and u_int64_t and u_quad_t to uint64_t.
394         * mach/sys/reboot.h: Remove two casts of integer literals
395         to the types they already have.
397         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
398         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
399         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
400         from referring to 'unsigned char' to 'uint8_t' for consistency with
401         the macro definition below.
403         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
404         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
405         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
406         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
407         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
408         * sysdeps/unix/sysv/linux/sys/acct.h
409         * include/arpa/nameser.h, include/resolv.h:
410         Fix indentation disrupted by mechanical edits.
412         * inet/protocols/talkd.h, resolv/arpa/nameser.h
413         * sysdeps/generic/netinet/in_systm.h
414         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
415         * sysdeps/gnu/netinet/udp.h
416         * sysdeps/unix/sysv/linux/net/ethernet.h
417         * sysdeps/unix/sysv/linux/net/if_arp.h
418         * sysdeps/unix/sysv/linux/net/if_ppp.h
419         * sysdeps/unix/sysv/linux/net/if_shaper.h
420         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
421         * sysdeps/unix/sysv/linux/netinet/if_tr.h
422         * sysdeps/unix/sysv/linux/netipx/ipx.h
423         * sysdeps/unix/sysv/linux/sys/acct.h
424         Include stdint.h for uintNN_t definitions.
425         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
427 2016-09-23  Zack Weinberg  <zackw@panix.com>
429         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
430         * sysdeps/unix/sysv/linux/netrose/rose.h:
431         Include sys/socket.h and netax25/ax25.h.
433         * inet/netinet/icmp6.h, inet/netinet/ip6.h
434         * resolv/arpa/nameser_compat.h:
435         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
437         * sysdeps/unix/sysv/linux/sys/quota.h:
438         Use __caddr_t instead of caddr_t.
439         * sysdeps/unix/sysv/linux/sys/timerfd.h:
440         Use __clockid_t instead of clockid_t.
442         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
444         * argp/argp.h: Check whether _LIBC is defined before expanding it.
445         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
446         expanding it.
448         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
449         Define __glibc_c99_flexarr_available to 1 when the compiler
450         supports C99-compatible flexible array members, 0 otherwise.
451         * sysdeps/unix/sysv/linux/bits/socket.h
452         * sysdeps/mach/hurd/bits/socket.h
453         * bits/socket.h: Use __glibc_c99_flexarr_available in
454         definitions of struct cmsghdr and CMSG_DATA.
456 2016-09-23  Florian Weimer  <fweimer@redhat.com>
458         * manual/nss.texi (NSS Modules Interface): Adjust function return
459         type to enum nss_status.  Document errnop argument.  Clarify
460         h_errnop semantics.  Fix cross-reference formatting.
461         (NSS Module Function Internals): Mention that *errnop needs to be
462         set on failure, but not to zero.
464 2016-09-23  Florian Weimer  <fweimer@redhat.com>
466         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
467         (get_random_name): New functions.
468         (check_wrapper_flags_mode): Use linkat to give the new file a name
469         determined by get_random_name.
470         (do_test): Add calls to test open64 and openat64.
472 2016-09-23  Florian Weimer  <fweimer@redhat.com>
474         * test-skeleton.c: Remove #include <stdarg.h>.
476 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
478         [BZ #19826]
479         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
480         initialization of static TLS entries.
481         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
482         * nptl/allocatestack.c (init_one_static_tls): Likewise.
484 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
486         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
487         _hurd_malloc_fork_prepare.
488         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
489         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
490         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
491         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
492         (_hurd_fork_child_hook): Drop malloc_fork_child.
493         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
494         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
495         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
496         after locking locks (notably hurd_dtable_lock). Call
497         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
498         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
499         __malloc_fork_unlock_child.
500         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
502 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
504         * soft-fp/extendhftf2.c: New.
505         * soft-fp/fixhfti.c: Likewise.
506         * soft-fp/fixunshfti.c: Likewise.
507         * soft-fp/floattihf.c: Likewise.
508         * soft-fp/floatuntihf.c: Likewise.
509         * soft-fp/half.h: Likewise.
510         * soft-fp/trunctfhf2.c: Likewise.
512 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
514         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
515         macro.
516         * math/libm-test.inc (issubnormal_test_data): New array.
517         (issubnormal_test): New function.
518         * manual/arith.texi (Floating Point Classes): Document
519         issubnormal.
520         * manual/libm-err-tab.pl: Update comment on interfaces without
521         ulps tabulated.
523         * sysdeps/generic/stdint.h: Define
524         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
525         <bits/libc-header-start.h> instead of including <features.h>.
526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
529         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
534         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
535         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
536         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
541         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
544         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
545         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
546         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
547         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
548         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
549         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
550         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
551         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
554         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
559         * manual/arith.texi (Integers): Document these macros for types
560         specified by width properties.
561         * manual/lang.texi (Width of Type): Document these macros for
562         other standard typedefs.
563         * stdlib/tst-width-stdint.c: New file.
564         * stdlib/Makefile (tests): Add tst-width-stdint.
566 2016-09-21  Florian Weimer  <fweimer@redhat.com>
568         [BZ #20016]
569         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
570         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
571         Move ...
572         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
573         ... here, as compatibility symbols in a new file.
574         * resolv/Makefile (libresolv-routines): Add compat-hooks.
575         * resolv/res_init.c (__res_vinit): Adjust member names.
576         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
577         * resolv/resolv.h (res_sendhookact, res_send_qhook)
578         (res_send_rhook): Remove.
579         (struct __res_state): Rename qhook, rhook members.
581 2016-09-21  Florian Weimer  <fweimer@redhat.com>
583         malloc: Use __libc_lock wrappers.
584         * malloc/arena.c (list_lock, free_list_lock): Define using
585         __libc_lock_define_initialized.
586         (arena_lock): Adjust formatting.
587         * malloc/malloc.c (struct malloc_state): Define mutex using
588         __libc_lock_define.
589         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
590         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
591         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
592         (mutex_unlock, mutex_trylock): Remove.
593         (__pthread_initialize): Remove unused macro.
594         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
595         (mutex_unlock, mutex_trylock): Remove.
597 2016-09-21  Florian Weimer  <fweimer@redhat.com>
599         [BZ #20592]
600         Remove RR type classification macros.
601         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
602         (ns_t_udp_p, ns_t_xfr_p): Remove.
604 2016-09-21  Florian Weimer  <fweimer@redhat.com>
606         Remove misleading version information.
607         * resolv/arpa/nameser.h (__NAMESER): Remove.
608         * resolv/arpa/nameser_compat.h (__BIND): Remove.
610 2016-09-21  Florian Weimer  <fweimer@redhat.com>
612         Remove the always-defined BIND_4_COMPAT macro.
613         * resolv/arpa/nameser.h: Unconditionally include
614         <arpa/nameser_compat.h>.
615         (BIND_4_COMPAT): Remove.
616         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
618 2016-09-21  Florian Weimer  <fweimer@redhat.com>
620         [BZ #20591]
621         Remove obsolete DNSSEC support.
622         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
623         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
624         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
625         (ns_verify_tcp, ns_verify_tcp_init): Remove.
626         (ns_cert_types): Add comment.
627         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
628         separately.
629         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
630         (dst_s_dns_key_id): Remove.
631         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
632         variables.
634 2016-09-21  Florian Weimer  <fweimer@redhat.com>
636         [BZ #20524]
637         * manual/string.texi (String/Array Comparison): Clarify the
638         strverscmp behavior.
640 2016-09-21  Florian Weimer  <fweimer@redhat.com>
642         * test-skeleton.c (xasprintf): Add function.
643         * io/tst-open-tmpfile.c: New test.
644         * io/Makefile (tests): Add it.
646 2016-09-21  Florian Weimer  <fweimer@redhat.com>
648         Avoid running $(CXX) during build to obtain header file paths.
649         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
650         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
651         * Makerules (cstdlib, cmath): Remove variables.  Use
652         $(c++-cstdlib-header), $(c++-cmath-header) instead.
653         * configure: Regenerate.
655 2016-09-21  Florian Weimer  <fweimer@redhat.com>
657         * Makeconfig (all-object-suffixes): Include .op only if
658         $(build-profile).
660 2016-09-21  Florian Weimer  <fweimer@redhat.com>
662         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
663         conditionals.  Do not define PATH_MAX.
665 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
667         * posix/Makefile (tests): Add tst-spawn3.
668         * posix/tst-spawn3.c: New file.
669         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
670         if it is already opened for open action.
672         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
673         all signals when executing the clone vfork child.
674         (SIGALL_SET): Remove macro.
676         * nptl/Makefile (tests): Add tst-exec5.
677         * nptl/tst-exec5.c: New file.
678         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
679         asynchronous cancellation.
681 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
683         * hurd/exc2signal.c: #include <hurd/signal.h>
684         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
685         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
686         accordingly.
687         * mach/mach_error.c (mach_error): Fix old-style function definition.
688         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
690 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
692         * math/Makefile (libm-calls): Remove s_nanF.
693         (gen-libm-calls): Add s_nanF.
695         * math/s_nan.c: Refactor into ...
696         * math/s_nan_template.c: New file.
698         * math/s_nanf.c: Removed.
699         * math/s_nanl.c: Removed.
700         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
701         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
703         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
704         (LDOUBLE_nanl_libm_version): New macro.
706         * sysdeps/generic/math-type-macros-double.h:
707         (M_STRTO_NAN): New macro.
708         * sysdeps/generic/math-type-macros-float.h: Likewise.
709         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
711         * sysdeps/generic/math-type-macros.h: Document
712         M_STRTO_NAN.
714 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
716         * math/s_nanf.c: Remove __nanf undef.
717         * math/s_nan.c: Remove __nan undef.
718         * math/s_nanl.c: Remove __nanl undef.
720         * sysdeps/generic/math_private.h (__nan): Remove macro
721         override.
722         (__nanf): Likewise.
723         (__nanl): Likewise.
725 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
727         * math/Makefile (gen-all-calls): New variable.
728         (generated): Replace gen-libm-calls with gen-all-calls.
729         (gen-libm-templates.stmp): Likewise.  Also, ensure
730         the output directory exists or is created and add
731         dependency on the Makefile.
732         (calls): Move s_ldexpF into gen-calls.
733         (gen-calls): New variable.
735         * math/s_ldexpf.c: Removed.
736         * math/s_ldexpl.c: Removed.
737         * math/s_ldexp.c: Refactored into ...
738         * math/s_ldexp_template.c: New file.
740         * sysdeps/generic/math-type-macros-double.h: Remove
741         redundant fall-through definition of declare_mgen_alias.
742         (declare_mgen_alias_2): New macro.
744         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
745         New macro for function aliased to two exported symbols.
747         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
748         new template file.
749         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
751 2016-09-20  Florian Weimer  <fweimer@redhat.com>
753         * Makeconfig (all-object-suffixes): Remove .og.
754         * Makerules (elide-routines.og): Remove.
755         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
756         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
757         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
759 2016-09-20  Florian Weimer  <fweimer@redhat.com>
761         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
762         .os objects.
764 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
766         [BZ #20615]
767         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
768         fpu directory by non-fpu.
769         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
770         on non-fpu directory from a fpu directory.
772 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
774         * include/limits.h: Define
775         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
776         <bits/libc-header-start.h> instead of including <features.h>.
777         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
778         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
779         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
780         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
781         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
782         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
783         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
784         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
785         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
788         * manual/lang.texi (Width of Type): Document these macros.
789         * stdlib/tst-width.c: New file.
790         * stdlib/Makefile (tests): Add tst-width.
792 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
794         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
795         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
797 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
799         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
800         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
801         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
803 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
805         [BZ #18243]
806         * rt/Makefile (test): Add tst-shm-cancel.
807         * rt/tst-shm-cancel.c: New file.
808         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
810         [BZ #18243]
811         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
812         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
813         definition.
814         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
815         uncontended case.
816         * nptl/sem_wait.c (__new_sem_wait): Likewise.
817         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
818         (tf): Fix check for uncontended case.
819         (do_test): Likewise.
820         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
821         (tf): Fix check for uncontended case.
822         (do_test): Likewise.
823         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
824         (tf): Fix check for uncontended case.
825         (do_test): Likewise.
826         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
827         (tf): Fix check for uncontended case.
828         (do_test): Likewise.
830         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
831         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
833         [BZ #15765]
834         * nptl/Makefile (tests): Add tst-sem16.
835         * nptl/tst-sem16.c: New file.
836         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
838         * nptl/sem_open.c (sem_open): Init pad value to 0.
839         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
840         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
842 2016-09-15  Florian Weimer  <fweimer@redhat.com>
844         [BZ #20611]
845         * inet/Makefile (routines): Add inet6_scopeid_pton.
846         (tests): Add tst-inet6_scopeid_pton.
847         * inet/inet6_scopeid_pton.c: New file.
848         * inet/net-internal.h: Likewise.
849         * inet/tst-inet6_scopeid_pton.c: New test.
850         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
851         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
854 2016-09-14  Florian Weimer  <fweimer@redhat.com>
856         Remove support for compiling wrappers with PTW.
857         * sysdeps/nptl/Makeconfig: Drop ptw- support.
858         * nptl/Makefile (pthread-compat-wrappers): Define.
859         (libpthread-routines): Use pthread-compat-wrappers.
860         * sysdeps/unix/sysv/linux/alpha/Makefile
861         (libpthread-routines, libpthread-shared-only-routines): Remove
862         ptw- prefix.
863         * sysdeps/s390/nptl/Makefile
864         (libpthread-routines, libpthread-shared-only-routines): Likewise.
865         * sysdeps/ia64/nptl/Makefile
866         (libpthread-routines, libpthread-shared-only-routines): Likewise.
867         * sysdeps/nacl/Makefile (libpthread-routines): Use
868         pthread-compat-wrappers to filter the routines list instead of the
869         ptw- prefix.
871 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
873         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
874         with L() and remove explicit suffix, convert real literals
875         which can be equivalentally substituted with integers, and
876         transform -L(x) to L(-x).
878         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
879         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
880         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
881         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
882         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
883         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
884         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
885         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
886         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
887         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
888         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
889         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
890         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
891         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
892         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
893         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
894         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
895         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
896         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
897         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
898         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
899         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
900         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
901         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
902         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
903         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
904         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
905         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
906         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
907         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
908         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
909         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
910         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
911         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
912         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
913         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
914         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
915         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
916         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
917         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
918         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
919         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
920         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
921         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
922         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
923         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
924         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
925         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
926         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
927         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
929 2016-09-13  Florian Weimer  <fweimer@redhat.com>
931         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
933 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
935         * malloc/Makefile (tests): Remove individual static test names
936         and just add all of tests-static.
938         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
940 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
942         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
943         file.
945         * sysdeps/sparc/fpu/fegetmode.c: New file.
946         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
948         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
949         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
951         * sysdeps/s390/fpu/fegetmode.c: New file.
952         * sysdeps/s390/fpu/fesetmode.c: Likewise.
954         * sysdeps/powerpc/fpu/fegetmode.c: New file.
955         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
956         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
957         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
958         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
959         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
961         * sysdeps/mips/fpu/fegetmode.c: New file.
962         * sysdeps/mips/fpu/fesetmode.c: Likewise.
964         * sysdeps/m68k/fpu/fegetmode.c: New file.
965         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
967         * sysdeps/ia64/fpu/fegetmode.c: New file.
968         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
970         * sysdeps/hppa/fpu/fegetmode.c: New file.
971         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
973         * sysdeps/arm/fegetmode.c: New file.
974         * sysdeps/arm/fesetmode.c: Likewise.
976         * sysdeps/alpha/fpu/fegetmode.c: New file.
977         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
979         * sysdeps/aarch64/fpu/fegetmode.c: New file.
980         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
982         * math/fegetmode.c: New file.
983         * math/fesetmode.c: Likewise.
984         * sysdeps/i386/fpu/fegetmode.c: Likewise.
985         * sysdeps/i386/fpu/fesetmode.c: Likewise.
986         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
987         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
988         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
989         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
990         declaration.
991         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
992         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
993         typedef.
994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
995         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
996         (femode_t): New typedef.
997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
998         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
999         (femode_t): New typedef.
1000         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1001         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1002         (femode_t): New typedef.
1003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1004         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1005         (femode_t): New typedef.
1006         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1007         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1008         (femode_t): New typedef.
1009         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1010         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1011         (femode_t): New typedef.
1012         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1013         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1014         (femode_t): New typedef.
1015         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1016         * sysdeps/mips/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/nios2/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/powerpc/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 variable
1025         declaration.
1026         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1027         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1028         (femode_t): New typedef.
1029         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1030         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1031         (femode_t): New typedef.
1032         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1033         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1034         (femode_t): New typedef.
1035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1036         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1037         (femode_t): New typedef.
1038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1039         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1040         (femode_t): New typedef.
1041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1042         * manual/arith.texi (FE_DFL_MODE): Document macro.
1043         (fegetmode): Document function.
1044         (fesetmode): Likewise.
1045         * math/Versions (fegetmode): New libm symbol at version
1046         GLIBC_2.25.
1047         (fesetmode): Likewise.
1048         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1049         (tests): Add test-femode and test-femode-traps.
1050         * math/test-femode-traps.c: New file.
1051         * math/test-femode.c: Likewise.
1052         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1053         alias for __fe_dfl_env.
1054         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1055         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1056         (__fe_dfl_mode): Likewise.
1057         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1058         version GLIBC_2.25.
1059         * sysdeps/nacl/libm.abilist: Update.
1060         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1061         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1062         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1063         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1064         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1065         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1066         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1067         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1068         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1069         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1070         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1071         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1073         Likewise.
1074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1075         Likewise.
1076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1077         Likewise.
1078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1079         Likewise.
1080         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1081         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1082         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1083         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1084         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1086         Likewise.
1087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1088         Likewise.
1089         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1090         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1091         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1093 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1095         [BZ #20495]
1096         [BZ #20508]
1097         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1098         processors, set Use_dl_runtime_resolve_slow and set
1099         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1100         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1101         New.
1102         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1103         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1104         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1105         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1106         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1107         if Use_dl_runtime_resolve_opt is set.  Use
1108         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1109         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1110         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1111         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1112         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1113         New.
1114         (_dl_runtime_resolve_opt): Likewise.
1115         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1116         defined.
1118 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1120         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1121         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1123 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1125         Convert malloc to __libc_lock.  Automated part, using this Perl
1126         s/// command:
1127           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1128             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1129         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1130         conversion.
1132 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1134         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1135         (linknamespace-symlists-tests): Likewise.
1136         (linknamespace-header-tests): Likewise.
1138 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1140         [BZ #19810]
1141         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1142         * elf/tst-noload.c: New test case.
1143         * elf/Makefile (tests): Add tst-noload.
1145 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1147         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1149         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1150         not any more.
1152         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1154 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1156         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1157         (do_cos_slow): Likewise.
1158         (do_sin): Likewise.
1159         (do_sin_slow): Likewise.
1160         (slow): Likewise.
1161         (slow1): Likewise.
1162         (slow2): Likewise.
1163         (sloww): Likewise.
1164         (sloww1): Likewise.
1165         (sloww2): Likewise.
1166         (bsloww): Likewise.
1167         (bsloww1): Likewise.
1168         (bsloww2): Likewise.
1169         (cslow2): Likewise.
1171         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1173         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1174         arguments.  Consolidate input partitioning from callers here.
1175         (do_cos_slow): Likewise.
1176         (do_sin): Likewise.
1177         (do_sin_slow): Likewise.
1178         (do_sincos_1): Remove the no longer necessary input partitioning.
1179         (do_sincos_2): Likewise.
1180         (__sin): Likewise.
1181         (__cos): Likewise.
1182         (slow1): Likewise.
1183         (slow2): Likewise.
1184         (sloww1): Likewise.
1185         (sloww2): Likewise.
1186         (bsloww1): Likewise.
1187         (bsloww2): Likewise.
1188         (cslow2): Likewise.
1190 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1192         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1193         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1194         outside of allocated array.
1196 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1198         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1199         instead of MB_CUR_MAX to avoid variable-length array.
1201 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1203         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1204         (type-double-routines): Add k_rem_pio2.
1205         (type-float-routines): Add k_rem_pio2f.
1207         * sysdeps/generic/math_private.h:
1208         (__kernel_rem_pio2l): Removed.
1210         * math/k_rem_pio2l.c: Removed.
1211         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1212         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1213         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1214         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1216 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1218         * math/Makefile (gen-libm-calls): Add s_fmin
1219         (libm-calls): Remove above.
1221         * math/s_fmin.c: Refactor into ...
1222         * math/s_fmin_template.c: New file.
1224         * math/s_fminf.c: Removed.
1225         * math/s_fminl.c: Removed.
1226         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1227         (LDOUBLE_fmin_libm_version): New macro.
1229         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1230         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1232 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1234         * math/Makefile: (gen-libm-calls): Add s_fmax.
1235         (libm-calls): Remove above.
1237         * math/s_fmax.c: Refactor into ...
1238         * math/s_fmax_template.c: New file.
1239         * math/s_fmaxf.c: Removed.
1240         * math/s_fmaxl.c: Removed.
1242         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1243         (LDOUBLE_fmaxl_libm_version): New macro.
1245         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1246         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1248         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1249         s_fmin.c to pick the aarch64 version of the file.
1250         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1251         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1253 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1255         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1256         (libm-calls): Remove above.
1258         * math/s_nextdown.c: Refactor into ...
1259         * math/s_nextdown_template.c: New file.
1260         * math/s_nextdownf.c: Removed.
1261         * math/s_nextdownl.c: Removed.
1263         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1265 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1267         * math/Makefile (gen-libm-calls): Add s_fdim.
1268         (libm-calls): Move to above.
1270         * math/s_fdim.c: Renamed and refactored into to ...
1271         * math/s_fdim_template.c: New file.
1272         * math/s_fdiml.c: Removed.
1273         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1274         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1276         * sysdeps/generic/math-type-macros-double.h:
1277         (declare_mgen_alias): Don't declare if already declared.
1278         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1279         Likewise.
1281         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1282         (declare_mgen_alias): Don't declare if already declared.
1283         (M_LIBM_NEED_COMPAT): Likewise.
1284         (declare_mgen_libm_compat): Likewise.
1285         (LDOUBLE_fdiml_libm_version): New macro.
1287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1288         Include math/s_fdim.c now that ldbl-opt version is not needed.
1289         (declare_mgen_alias): New macro to disable aliasing.
1291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1292         (declare_mgen_alias): Likewise.
1293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1294         (declare_mgen_alias): Likewise.
1295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1296         (declare_mgen_alias): Likewise.
1297         (M_LIBM_NEED_COMPAT): Likewise.
1299 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1301         [BZ #20525]
1302         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1303         Include <linux/quota.h>.
1304         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1305         and btodb.
1306         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1307         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1308         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1309         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1310         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1311         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1312         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1313         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1314         types.
1315         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1316         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1318 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1320         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1321         (gammal_positive): Fix spacing.
1322         (__ieee754_gammal_r): Likewise.
1324 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1326         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1327         (_Float128): Define as long double, always.
1328         (L): Apply long double type suffix, always.
1330         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1331         _Float128, excepting comments.
1333         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1334         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1335         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1336         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1337         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1338         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1339         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1340         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1341         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1342         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1343         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1344         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1345         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1346         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1347         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1348         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1349         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1350         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1351         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1352         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1353         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1354         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1355         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1356         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1357         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1358         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1359         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1360         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1361         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1362         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1363         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1364         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1365         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1366         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1367         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1368         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1369         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1370         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1371         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1372         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1373         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1374         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1375         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1376         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1377         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1378         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1379         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1380         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1381         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1382         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1383         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1384         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1385         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1386         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1387         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1388         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1389         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1390         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1391         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1392         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1393         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1394         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1395         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1396         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1397         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1398         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1399         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1400         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1402         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1403         _Float128, and include math_private.h.
1404         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1406         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1407         long double semantics.
1408         (_Float128): Likewise.
1409         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1410         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1411         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1412         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1414 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1416         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1417         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1418         * sysdeps/s390/configure: Regenerated.
1419         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1420         instruction for raising over-/underflow if z196 zarch is supported
1421         by default.
1422         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1424 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1426         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1427         it point to a dumb buffer for RPC to fill it.
1429 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1431         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1432         instead of if/else.
1433         (do_sin_slow): Likewise.
1434         (do_sincos_1): Use fabs instead of if/else.
1435         (do_sincos_2): Likewise.
1436         (__sin): Likewise.
1437         (__cos): Likewise.
1438         (slow2): Likewise.
1439         (sloww): Likewise.
1440         (sloww1): Likewise.  Drop argument M.
1441         (sloww2): Use fabs instead of if/else.
1442         (bsloww): Likewise.
1443         (bsloww1): Likewise.
1444         (bsloww2): Likewise.
1446         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1447         fall through comment.
1448         (do_sincos_1): Likewise.
1450         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1451         Consolidate switch cases 0 and 2.
1453 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1455         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1456         (libm-calls): Remove the above.
1458         * math/s_cexp_template.c: Update using type-generic macros.
1459         * math/s_clog10_template.c: Likewise.
1460         * math/s_cpow_template.c: Likewise.
1461         * math/s_clog_template.c: Likewise.
1462         * math/s_cproj_template.c: Likewise.
1463         * math/s_csqrt_template.c: Likewise.
1465         * math/s_cexp.c: Removed.
1466         * math/s_cexpf.c: Removed.
1467         * math/s_cexpl.c: Removed.
1468         * math/s_clog10.c: Removed.
1469         * math/s_clog10f.c: Removed.
1470         * math/s_clog10l.c: Removed.
1471         * math/s_cpow.c: Removed.
1472         * math/s_cpowf.c: Removed.
1473         * math/s_cpowl.c: Removed.
1474         * math/s_clog.c: Removed.
1475         * math/s_clogf.c: Removed.
1476         * math/s_clogl.c: Removed.
1477         * math/s_cproj.c: Removed.
1478         * math/s_cprojf.c: Removed.
1479         * math/s_cprojl.c: Removed.
1480         * math/s_csqrt.c: Removed.
1481         * math/s_csqrtf.c: Removed.
1482         * math/s_csqrtl.c: Removed.
1484         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1485         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1486         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1487         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1488         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1489         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1491         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1492         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1493         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1494         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1495         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1496         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1497         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1498         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1499         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1500         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1501         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1503         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1504         version.
1506         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1507         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1508         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1509         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1511 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1513         * s_cexp_template.c: Copy of s_cexp.c.
1514         * s_clog_template.c: Copy of s_clog.c.
1515         * s_clog10_template.c: Copy of s_clog10.c.
1516         * s_cpow_template.c: Copy of s_cpow.c.
1517         * s_cproj_template.c: Copy of s_cproj.c.
1518         * s_csqrt_template.c: Copy of s_csqrt.c.
1520 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1522         [BZ #20517]
1523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1524         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1525         exported.
1527 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1529         * math/fetestexceptflag.c: New file.
1530         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1531         Stefan Liebler.
1532         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1533         (fetestexceptflag): New function declaration.
1534         * manual/arith.texi (fetestexceptflag): Document function.
1535         * math/Versions (fetestexceptflag): New libm symbol at version
1536         GLIBC_2.25.
1537         * math/Makefile (libm-support): Add fetestexceptflag.
1538         (tests): Add test-fetestexceptflag.
1539         * math/test-fetestexceptflag.c: New file.
1540         * sysdeps/nacl/libm.abilist: Update.
1541         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1542         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1543         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1544         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1545         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1546         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1547         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1548         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1549         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1550         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1551         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1552         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1554         Likewise.
1555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1556         Likewise.
1557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1558         Likewise.
1559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1560         Likewise.
1561         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1562         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1563         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1564         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1565         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1567         Likewise.
1568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1569         Likewise.
1570         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1571         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1572         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1574 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1576         [BZ #20432]
1577         Avoid strong references to malloc-internal symbols when linking
1578         statically, to support statically interposed mallocs.
1579         * include/libc-symbols.h (call_function_static_weak): New macro.
1580         * malloc/Makefile (tests): Add tst-interpose-nothread,
1581         tst-interpose-thread, tst-interpose-static-nothread,
1582         tst-interpose-static-thread.
1583         (tests-static): Add tst-interpose-static-nothread,
1584         tst-interpose-static-thread.
1585         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1586         tst-interpose-aux-thread.o.
1587         (test-extras): Add tst-interpose-aux-nothread,
1588         tst-interpose-aux-thread.
1589         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1590         tst-interpose-aux-nothread.o.
1591         (tst-interpose-thread, tst-interpose-static-thread): Link with
1592         tst-interpose-aux-thread.o and libthread.
1593         * malloc/tst-interpose-aux-nothread.c: New file.
1594         * malloc/tst-interpose-aux-thread.c: Likewise.
1595         * malloc/tst-interpose-aux.c: Likewise.
1596         * malloc/tst-interpose-aux.h: Likewise.
1597         * malloc/tst-interpose-nothread.c: Likewise.
1598         * malloc/tst-interpose-skeleton.c: Likewise.
1599         * malloc/tst-interpose-static-nothread.c: Likewise.
1600         * malloc/tst-interpose-static-thread.c: Likewise.
1601         * malloc/tst-interpose-thread.c: Likewise.
1602         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1603         * sysdeps/mach/hurd/fork.c (__fork): Only call
1604         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1605         __malloc_fork_unlock_child if defined.
1606         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1608 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1610         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1611         timespec C99 designated initialization.
1613 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1615         [BZ #19946]
1616         Avoid expected SIGALRM signals.
1617         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1618         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1619         (xpthread_create, xpthread_detach, xpthread_join)
1620         (delayed_exit_thread, delayed_exit): New functions.
1621         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1622         (tf): Use xpthread_cond_wait.
1623         (do_test): Likewise.  Replace alarm with delayed_exit.
1624         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1625         (do_test): Call delayed_exit.  Report failure.
1626         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1627         (do_test): Call delayed_exit.
1628         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1629         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1630         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1631         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1632         error.
1633         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1634         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1635         error.
1636         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1637         (do_test): Call delayed_exit.
1638         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1639         (do_test): Call delayed_exit.
1640         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1641         (do_test): Call delayed_exit instead of alarm.  Use
1642         xpthread_mutex_lock.
1643         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1644         (do_test): Call delayed_exit instead of alarm.  Use
1645         xpthread_mutex_lock.
1646         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1647         (do_test): Call delayed_exit instead of alarm.
1648         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1649         (do_test): Call delayed_exit instead of alarm.  Use
1650         xpthread_spin_lock.
1651         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1652         (do_test): Call delayed_exit instead of alarm.  Use
1653         xpthread_join.
1655 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1657         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1658         adjust CFA when allocating register save area on re-aligned
1659         stack.
1661 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1663         * string/tst-cmp.c: New test.
1664         * string/Makefile (tests): Add it.
1666 2016-08-25  Mark Wielaard  <mark@klomp.org>
1668         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1669         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1670         (check_tree_recurse): Use newly defined accessors.
1671         (check_tree): Likewise.
1672         (maybe_split_for_insert): Likewise.
1673         (__tfind): Likewise.
1674         (__tdelete): Likewise.
1675         (trecurse): Likewise.
1676         (tdestroy_recurse): Likewise.
1677         (__tsearch): Likewise. And add asserts for malloc alignment.
1678         (__twalk): Cast root to node in case CHECK_TREE is defined.
1680 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1682         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1684 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1686         * math/Makefile (libm-gen-calls): Add
1687         catan, catanh, ctan, ctanh.
1688         (libm-calls): Remove the above.
1690         * math/s_catan_template.c: Update using type-generic macros.
1691         * math/s_catanh_template.c: Likewise.
1692         * math/s_ctan_template.c: Likewise.
1693         * math/s_ctanh_template.c: Likewise.
1695         * math/s_catanf.c: Removed.
1696         * math/s_catan.c: Removed.
1697         * math/s_catanl.c: Removed.
1698         * math/s_catanhf.c: Removed.
1699         * math/s_catanh.c: Removed.
1700         * math/s_catanhl.c: Removed.
1701         * math/s_ctanf.c: Removed.
1702         * math/s_ctan.c: Removed.
1703         * math/s_ctanl.c: Removed.
1704         * math/s_ctanhf.c: Removed.
1705         * math/s_ctanh.c: Removed.
1706         * math/s_ctanhl.c: Removed.
1708         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1709         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1710         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1711         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1712         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1713         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1715         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1716         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1717         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1718         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1720 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1722         * s_catan_template.c: Copy of s_catan.c.
1723         * s_catanh_template.c: Copy of s_catanh.c.
1724         * s_ctan_template.c: Copy of s_ctan.c.
1725         * s_ctanh_template.c: Copy of s_ctanh.c.
1727 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1729         * math/Makefile (gen-libm-calls): Move
1730         casin, casinh, csin, csinh here.
1731         (libm-calls): Remove the above.
1733         * math/s_casin_template.c: Update using type-generic macros.
1734         * math/s_casinh_template.c: Likewise.
1735         * math/s_csin_template.c: Likewise.
1736         * math/s_csinh_template.c: Likewise.
1737         * math/k_casinh_template.c: Likewise.
1739         * math/s_casinf.c: Removed.
1740         * math/s_casin.c: Removed.
1741         * math/s_casinl.c: Removed.
1742         * math/s_casinh.c: Removed.
1743         * math/s_casinhf.c: Removed.
1744         * math/s_casinhl.c: Removed.
1745         * math/s_csin.c: Removed.
1746         * math/s_csinf.c: Removed.
1747         * math/s_csinl.c: Removed.
1748         * math/s_csinh.c: Removed.
1749         * math/s_csinhf.c: Removed.
1750         * math/s_csinhl.c: Removed.
1751         * math/k_casinh.c: Removed.
1752         * math/k_casinhf.c: Removed.
1753         * math/k_casinhl.c: Removed.
1755         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1756         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1757         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1758         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1760         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1761         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1762         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1763         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1764         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1765         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1766         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1767         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1769         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1770         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1771         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1772         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1774         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1775         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1776         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1777         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1779 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1781         * s_casin_template.c: Copy of s_casin.c.
1782         * s_casinh_template.c: Copy of s_casinh.c.
1783         * s_csin_template.c: Copy of s_csin.c.
1784         * s_csinh_template.c: Copy of s_csinh.c.
1785         * k_casinh_template.c: Copy of k_casinh.c.
1787 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1789         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1791 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1793         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1794         (mul_split) Remove, rename as mul_splitl, remove
1795         redundant float.h include, and include via mul_splitl.h
1797         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1798         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1799         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1800         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1801         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1803         * math/mul_splitl.h: New file.
1805         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1806         Move into mul_split.h, and remove redundant float.h include.
1808         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1809         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1810         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1811         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1813         * math/mul_split.h: New file.
1815 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1817         * math/Makefile (libm-gen-calls): Move
1818         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1819         (libm-calls): Remove above.
1821         * math/s_cacos_template.c: Update using type-generic macros.
1822         * math/s_cacosh_template.c: Likewise.
1823         * math/s_ccos_template.c: Likewise.
1824         * math/s_ccosh_template.c: Likwise.
1826         * math/s_cacosf.c: Removed.
1827         * math/s_cacos.c: Removed.
1828         * math/s_cacosl.c: Removed.
1829         * math/s_cacoshf.c: Removed.
1830         * math/s_cacosh.c: Removed.
1831         * math/s_cacoshl.c: Removed.
1832         * math/s_ccosf.c: Removed.
1833         * math/s_ccos.c: Removed.
1834         * math/s_ccosl.c: Removed.
1835         * math/s_ccoshf.c: Removed.
1836         * math/s_ccosh.c: Removed.
1837         * math/s_ccoshl.c: Removed.
1839         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1840         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1841         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1842         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1843         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1844         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1846         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1847         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1848         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1849         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1851         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1852         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1853         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1854         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1856 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1858         * s_cacos_template.c: Copy of s_cacos.c.
1859         * s_cacosh_template.c: Copy of s_cacosh.c.
1860         * s_ccos_template.c: Copy of s_ccos.c.
1861         * s_ccosh_template.c: Copy of s_ccosh.c.
1863 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1865         * stdlib/tst-strtod-round-skeleton.c:
1866         Refactored from tst-strtod-round.c.
1868         (L_): New macro to apply literal modifier.
1869         (FNPFX): New macro to select str or wcs prefix.
1870         (CHAR): New macro to choose wchar_t or char.
1871         (STRM): New macro to choose printf for tested character type.
1873         (STRTO): New macro to choose appropriate string -> real function.
1874         (FNPFXS): Stringitized version of FNPFX.
1875         (STR): Support for above macro.
1876         (STRX): Likewise.
1878         (TEST): Update with above macros.
1879         (test): Likewise.
1880         (GEN_ONE_TEST): Likewise.
1881         (test_in_one_mode): Likewise.
1883         * stdlib/tst-strtod-round.c: New file.
1884         * wcsmbs/tst-wcstod-round.c: New file.
1886         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1887         (tst-wcstod-round): Add libm depencency for fesetround.
1889 2016-08-19  Zack Weinberg  <zackw@panix.com>
1891         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1893 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1895         [BZ #20477]
1896         * resolv/res_hconf.c (do_init): Use atomic access.
1897         * resolv/res_hconf.h: Add comments.
1898         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1899         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1902 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1904         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1905         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1906         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1907         Likewise.
1909 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1911         [BZ #16907]
1912         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1913         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1914         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1915         (__attribute__): Remove definition.
1917 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1919         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1920         Remove unused sqrtl declaration.
1922 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1924         * math/Makefile: (gen-libm-templates.stmp): New rule.
1925         (libm-calls): Move carg conj cimag and cabs into ...
1926         (gen-libm-calls): New variable.
1927         (generated): Inform Make objects from gen-libm-calls
1928         may be generated.
1930         * sysdeps/generic/math-type-macros.h: New file.
1931         * sysdeps/generic/math-type-macros-float.h: Likewise.
1932         * sysdeps/generic/math-type-macros-double.h: Likewise.
1933         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1934         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1935         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1937         * math/cabs.c: Refactor into
1938         * math/cabs_template.c: new file.
1939         * math/cabsf.c: Removed.
1940         * math/cabsl.c: Removed.
1941         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1942         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1944         * math/carg.c: Refactor into
1945         * math/carg_template.c: new file.
1946         * math/cargf.c: Removed.
1947         * math/cargl.c: Removed.
1948         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1949         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1951         * math/conj.c: Refactor into
1952         * math/conj_template.c: new file.
1953         * math/conjf.c: Removed.
1954         * math/conjl.c: Removed.
1955         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1956         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1958         * math/cimag.c: Refactor into
1959         * math/cimag_template.c: new file.
1960         * math/cimagf.c: Removed.
1961         * math/cimagl.c: Removed.
1962         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1963         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1965         * math/cimag.c: Refactor into
1966         * math/cimag_template.c: new file.
1967         * math/cimagf.c: Removed.
1968         * math/cimagl.c: Removed.
1969         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1970         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1972 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1974         Reduce time to expected nptl/tst-once5 failure.
1975         * nptl/tst-once5.cc (TIMEOUT): Define.
1977 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1979         [BZ #20452]
1980         Avoid additional copies of objects in libc.a in static libraries.
1981         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1982         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1983         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1984         rt-sysdep.
1985         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1986         Add nptl-sysdep.
1987         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1988         Add ptw-sysdep.
1989         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1990         rt-sysdep.
1991         * sysdeps/unix/sysv/linux/alpha/Makefile
1992         (libpthread-shared-only-routines): Add ptw-sysdep,
1993         ptw-sigprocmask, ptw-rt_sigaction.
1994         * sysdeps/unix/sysv/linux/ia64/Makefile
1995         (librt-shared-only-routines): Add rt-sysdep.
1996         * sysdeps/unix/sysv/linux/i386/Makefile
1997         (libpthread-shared-only-routines): Add libc-do-syscall.
1998         * sysdeps/unix/sysv/linux/microblaze/Makefile
1999         (libpthread-shared-only-routines): Add sysdep.
2000         * sysdeps/unix/sysv/linux/powerpc/Makefile
2001         (librt-shared-only-routines): Add rt-sysdep.
2002         (libpthread-shared-only-routines): Add sysdep.
2003         * sysdeps/unix/sysv/linux/s390/Makefile
2004         (librt-shared-only-routines): Add rt-sysdep.
2005         * sysdeps/unix/sysv/linux/sparc/Makefile
2006         (librt-shared-only-routines): Add rt-sysdep.
2007         (libpthread-shared-only-routines): Add sysdep.
2008         * sysdeps/unix/sysv/linux/tile/Makefile
2009         (libpthread-shared-only-routines): Likewise.
2011 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2013         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2014         Mask implicit bit out of unpacked value.
2015         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2016         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2017         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2019         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2021         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2023         * sysdeps/s390/fpu/fesetexcept.c: New file.
2025         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2026         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2027         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2029         * sysdeps/mips/fpu/fesetexcept.c: New file.
2031         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2033         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2035         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2037         * sysdeps/arm/fesetexcept.c: New file.
2039         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2041         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2043         * math/fesetexcept.c: New file.
2044         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2045         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2046         * math/fenv.h: Define
2047         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2048         <bits/libc-header-start.h> instead of including <features.h>.
2049         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2050         declaration.
2051         * manual/arith.texi (fesetexcept): Document function.
2052         * math/Versions (fesetexcept): New libm symbol at version
2053         GLIBC_2.25.
2054         * math/Makefile (libm-support): Add fesetexcept.
2055         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2056         * math/test-fesetexcept.c: New file.
2057         * math/test-fesetexcept-traps.c: Likewise.
2058         * sysdeps/nacl/libm.abilist: Update.
2059         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2060         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2061         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2062         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2063         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2064         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2065         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2066         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2067         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2068         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2069         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2070         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2072         Likewise.
2073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2074         Likewise.
2075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2076         Likewise.
2077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2078         Likewise.
2079         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2080         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2081         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2082         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2083         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2085         Likewise.
2086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2087         Likewise.
2088         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2089         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2090         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2092 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2094         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2095         New.
2096         (do_test): Apply default_stack_size_in_mb if not set.
2097         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2099 2016-08-15  Andreas Schwab  <schwab@suse.de>
2101         [BZ #20435]
2102         CVE-2016-6323
2103         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2104         as .cantunwind.
2106 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2108         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2109         comment from fraiseexcpt.c.
2111         * math/test-fexcept.c (feraiseexcept_exact): New function.
2112         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2113         (test_except): Likewise.
2115 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2117         [BZ #20455]
2118         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2119         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2120         to be restored.
2122         * math/test-fexcept-traps.c: New file.
2123         * math/test-fexcept.c: Likewise.
2124         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2125         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2126         macro.
2127         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2128         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2130 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2132         * include/atomic.h (atomic_fetch_and_relaxed,
2133         atomic_fetch_and_release, atomic_fetch_or_release,
2134         atomic_fetch_xor_release): New.
2136 2016-08-06  Christian Seiler  <christian@iwakd.de>
2138         [BZ #20444]
2139         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2140         MACH_PORT_NULL.
2142 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2144         * math/s_fdim.c: Avoid alias renamed.
2145         * math/s_fdimf.c: Likewise.
2146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2147         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2148         Add s_fdimf-vis3, s_fdim-vis3.
2149         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2150         (CFLAGS-s_fdim-vis3.c): Likewise.
2151         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2152         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2154 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2157         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2158         Remove s_fdimf-vis3, s_fdim-vis3.
2159         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2160         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2167         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2168         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2170 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2172         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2173         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2174         -Wa,-Av9a -mvis.
2176 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2178         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2179         LIT() to individual constants in simple expressions
2180         after splitting on spaces.
2181         (_apply_lit): Rename replaced version, and use it to
2182         apply to what appears to be a token.
2184         * math/libm-test.inc: Fix many, many issues with
2185         spacing.
2187 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2189         * math/math.h: Move comment about <bits/mathdef.h> definitions
2190         above inclusion of <bits/mathdef.h>.  Do not mention
2191         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2193 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2195         * include/atomic.h (atomic_exchange_relaxed): New.
2197 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2199         * math/e_scalb.c: Do not include <fenv.h>.
2200         (invalid_fn): Do calculation resulting in NaN instead of raising
2201         FE_INVALID and returning a NaN explicitly.
2202         * math/e_scalbf.c: Do not include <fenv.h>.
2203         (invalid_fn): Do calculation resulting in NaN instead of raising
2204         FE_INVALID and returning a NaN explicitly.
2205         * math/e_scalbl.c: Do not include <fenv.h>.
2206         (invalid_fn): Do calculation resulting in NaN instead of raising
2207         FE_INVALID and returning a NaN explicitly.
2209 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2211         * po/de.po: Updated from Translation Project.
2212         * po/fi.po: Likewise.
2213         * po/sv.po: Likewise.
2215 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2217         [BZ #20452]
2218         Use sysdep.o from libc.a in static libraries.
2219         * sysdeps/unix/sysv/linux/i386/Makefile
2220         (libpthread-shared-only-routines): Add sysdep.
2221         (librt-shared-only-routines): Likewise.
2223 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2225         * math/tgmath.h (nextdown): Define if
2226         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2227         (nextup): Likewise.
2229         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2230         macro.
2231         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2232         Document.
2233         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2234         Document macro.
2235         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2236         (exp10f): Likewise.
2237         (exp10l): Likewise.
2238         * math/bits/mathcalls.h (exp10): Declare if
2239         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2241         * manual/arith.texi (nextup): Fix typo in last change.
2243 2016-08-03  Zack Weinberg  <zackw@panix.com>
2245         [BZ #19239]
2246         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2247         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2248         define major, minor, and makedev to issue deprecation warnings on use.
2249         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2250         previously-activated deprecation warnings for these macros and prevent
2251         subsequent inclusions of this header from having any effect.
2252         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2253         including <sys/sysmacros.h>, and undefine it again afterward.
2255 2016-08-03  Zack Weinberg  <zackw@panix.com>
2257         * sysdeps/generic/sys/sysmacros.h: Delete file.
2258         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2259         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2260         * bits/sysmacros.h: ... here; this encoding is now the generic
2261         encoding.  Now defines only the following macros:
2262         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2263         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2264         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2266         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2267         bits/sysmacros.h and the above new macros to generate the
2268         public implementations of major, minor, and makedev.
2269         * misc/tst-makedev.c: New test.
2270         * include/sys/sysmacros.h: New wrapper.
2272         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2273         (routines): Add makedev.
2274         (tests): Add tst-makedev.
2275         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2276         gnu_dev_makedev.
2277         * posix/Makefile (headers): Remove sys/sysmacros.h.
2278         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2280         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2281         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2282         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2283         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2284         * sysdeps/unix/sysv/linux/arm/libc.abilist
2285         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2286         * sysdeps/unix/sysv/linux/i386/libc.abilist
2287         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2288         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2289         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2290         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2291         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2292         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2293         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2294         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2295         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2300         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2301         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2302         * sysdeps/unix/sysv/linux/sh/libc.abilist
2303         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2304         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2307         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2308         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2309         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2310         Add GLIBC_2.25.
2312         * include/features.h (__glibc_clang_prereq): New macro.
2313         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2314         (__attribute_deprecated_msg__): New macros.
2316 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2318         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2319         macro.
2320         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2321         * manual/arith.texi (issignaling): Document as ISO from TS
2322         18661-1:2014.
2323         (nextup): Likewise.
2324         (nextupf): Likewise.
2325         (nextupl): Likewise.
2326         (nextdown): Likewise.
2327         (nextdownf): Likewise.
2328         (nextdownl): Likewise.
2329         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2330         macro.
2331         * math/math.h: Define
2332         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2333         <bits/libc-header-start.h> instead of including <features.h>.
2334         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2335         [__USE_GNU].
2336         * math/bits/mathcalls.h (nextdown): Declare if
2337         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2338         (nextup): Likewise.
2339         (__issignaling): Likewise.
2341 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2343         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2344         check, and remove __glibc_likely hint
2345         from FP_INFINITE check.
2346         * s_csinhf.c (__csinhf): Likewise.
2348         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2349         hint from FP_INFINITE check.
2350         * s_csinhl.c (__csinhl): Likewise.
2352 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2354         * math/Makefile (libm-calls): Insert F placeholder into
2355         object names.  Move w_lgamma_compat* routines into
2356         (libm-compat-calls): New variable.
2357         (libm-compat-calls-ldouble-yes): New variable.
2358         (calls): Insert F placeholder.
2359         (generated): Redefine using new type-foreach macro call.
2360         (routines): Likewise.
2362         (types): New variable to hold a list of symbolic names
2363         for each type supported by the target machine.
2364         (libm-routines): Redefine using new types variable.
2365         (type-foreach): macro to replace fooF with the
2366         appropriately suffixed foo for each types.
2368         (type-ldouble-suffix): New variable.
2369         (type-ldouble-routines): Likewise.
2370         (type-ldouble-yes): Likewise.
2371         (type-double-suffix): Likewise.
2372         (type-double-routines): Likewise.
2373         (type-float-suffix): Likewise.
2374         (type-float-routines): Likewise.
2376         (dbl-only-routines): Remove.
2377         (long-c-yes): Likewise.
2378         (long-m-routines): Likewise.
2379         (long-m-support): Likewise.
2380         (long-m-yes): Likewise.
2381         (test-longdouble-yes): Likewise.
2383         (test-float.o): Simplify by increasing the scope of the
2384         recipe which adds libm-test.stmp to the vector types.
2385         (test-ifloat.o): Likewise.
2386         (test-float-finite.o): Likewise.
2387         (test-double.o): Likewise
2388         (test-idouble.o): Likewise.
2389         (test-double-finite.o): Likewise.
2390         (test-ldouble.o): Likewise
2391         (test-ildoubl.o): Likewise.
2392         (test-ldouble-finite.o): Likewise.
2394         (libm-tests): Redefine type tests using foreach and the
2395         list of types in types.
2397         (CPPFLAGS-test-ildoubl.c): Rename to
2398         (CPPFLAGS-test-ildouble.c): New variable
2400         * math/test-ildoubl.c: Rename to
2401         * math/test-ildouble.c: New file.
2403 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2405         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2406         Use fabsl instead of fabs.
2407         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2408         Likewise.
2409         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2410         Add long double suffix to constant to ensure proper
2411         promotion to long double.
2413 2016-08-03  Tom Tromey  <tom@tromey.com>
2415         [BZ #20311]
2416         * nptl_db/Makefile (headers): Add proc_service.h.
2417         * nptl_db/proc_service.h: Add include guard.  Use
2418         __BEGIN/__END_DECLS.
2419         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2420         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2421         arguments.
2424 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2426         [BZ #17730]
2427         Avoid using memalign for TCB allocations.
2428         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2429         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2430         Avoid alignment gap in the TLS_DTV_AT_TP case.
2431         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2432         determine the pointer to free.
2433         * nptl/tst-tls3-malloc.c: New test.
2434         * nptl/Makefile (tests): Add it.
2435         (tst-tls3-malloc): Link with libdl, libpthread.
2436         (LDFLAGS-tst-tls3-malloc): Set.
2437         (tst-tls3-malloc.out): Depend on DSO used in test.
2439 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2441         [BZ #17730]
2442         Avoid using memalign for TLS allocations.
2443         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2444         is_static member with to_free member.
2445         (union dtv): Use struct dtv_pointer.
2446         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2447         dtv_pointer instead of is_static.
2448         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2449         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2450         instead of val.
2451         (allocate_dtv_entry): New function.
2452         (allocate_and_init): Return struct dtv_pointer.  Call
2453         allocate_dtv_entry instead of __libc_memalign.
2454         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2455         instead of val.
2456         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2457         instead of is_static.  Adjust call to allocate_and_init.
2458         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2459         struct dtv_pointer instead of val.
2461 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2463         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2464         (MALLOC_ALIGN_MASK): Move ...
2465         * malloc/malloc-internal.h: ... to here.
2466         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2468 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2470         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2471         (UDP_ENCAP_GTP1U): Likewise.
2473         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2474         (PF_MAX): Update value.
2475         (AF_QIPCRTR): New macro.
2477 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2479         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2480         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2481         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2482         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2483         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2484         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2485         s_truncf-vis3, s_trunc-vis3.
2486         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2487         (CFLAGS-s_ceil-vis3.c): Likewise.
2488         (CFLAGS-s_floorf-vis3.c): Likewise.
2489         (CFLAGS-s_floor-vis3.c): Likewise.
2490         (CFLAGS-s_truncf-vis3.c): Likewise.
2491         (CFLAGS-s_trunc-vis3.c): Likewise.
2492         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2493         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2494         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2495         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2496         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2497         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2498         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2499         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2500         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2501         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2502         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2503         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2505 2016-08-02  David S. Miller  <davem@davemloft.net>
2507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2508         (__nearbyint_vis3): Don't check for sNaN before float register is
2509         loaded with the incoming argument.
2510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2511         (__nearbyintf_vis3): Likewise.
2512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2513         Likewise.
2514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2515         Likewise.
2517         * string/test-strncmp.c (do_test_limit): Make sure the test data
2518         stream is aligned as required for the type "CHAR".
2519         (do_test): Likewise.
2521 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2523         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2524         by beq instructions jumping to the end of the function.
2525         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2526         clobber list. Use "i" constraint instead of "X".
2527         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2528         of "X".
2530 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2532         * bits/libc-header-start.h: New file.
2533         * Makefile (headers): Add bits/libc-header-start.h.
2534         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2535         (__GLIBC_USE): New macro.
2536         * libio/stdio.h: Define
2537         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2538         <bits/libc-header-start.h> instead of including <features.h>.
2539         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2540         (open_memstream): Likewise.
2541         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2542         (__asprintf): Likewise.
2543         (asprintf): Likewise.
2544         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2545         (getdelim): Likewise.
2546         (getline): Likewise.
2547         * string/string.h: Define
2548         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2549         <bits/libc-header-start.h> instead of including <features.h>.
2550         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2551         (strndup): Likewise.
2552         * wcsmbs/wchar.h: Define
2553         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2554         <bits/libc-header-start.h> instead of including <features.h>.
2555         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2556         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2558 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2560         Support linking against compatibility symbols, for use in tests.
2561         * include/libc-symbols.h (symbol_version_reference): New macro.
2562         (symbol_version): Use it.
2563         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2564         (compat_symbol): Use compat_symbol_reference.
2565         (compat_symbol_1, compat_symbol_2): Remove.
2566         (compat_symbol_reference, compat_symbol_reference_1)
2567         (compat_symbol_reference_2): New macro.  Use
2568         symbol_version_reference.
2570 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2572         [BZ #19469]
2573         * malloc/Makefile (CPPFLAGS): Compile tests with
2574         -DTEST_NO_MALLOPT.
2575         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2577 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2579         [BZ #20033]
2580         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2581         finite version.
2582         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2583         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2584         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2585         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2586         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2587         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2588         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2589         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2590         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2591         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2592         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2593         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2594         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2595         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2596         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2597         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2598         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2599         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2600         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2601         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2602         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2603         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2604         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2605         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2606         in zero power.
2608 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2610         [BZ #20370]
2611         * malloc/arena.c (get_free_list): Update comment.  Assert that
2612         arenas on the free list have no attached threads.
2613         (remove_from_free_list): New function.
2614         (reused_arena): Call it.
2616 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2618         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2619         when it is a NaN.
2620         [_IEEE_FP_INEXACT] Remove.
2621         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2622         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2623         when it is a NaN.
2624         [_IEEE_FP_INEXACT] Remove.
2625         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2626         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2627         when it is a NaN.
2628         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2629         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2630         when its absolute value is greater than 0x1.0p52.
2631         [_IEEE_FP_INEXACT] Remove.
2632         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2633         when its absolute value is greater than 0x1.0p23.
2634         [_IEEE_FP_INEXACT] Remove.
2636 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2638         * version.h (RELEASE): Set to "development"
2639         (VERSION): Set to 2.24.90.
2640         * NEWS: Add 2.25 section.
2642         * version.h (RELEASE): Set to "stable"
2643         (VERSION): Set to 2.24.
2644         * include/features.h (__GLIBC_MINOR__): Set to 24.
2646         * NEWS: Add 2.24 fixed bugs.
2647         * po/libc.pot: Regenerate.
2649 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2652         [$(subdir) = math] (libm-sysdep_routines): Remove.
2653         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2654         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2655         s_truncf-vis3, s_trunc-vis3.
2656         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2658         file.
2659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2680         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2681         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2682         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2683         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2684         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2686         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2687         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2688         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2689         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2690         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2691         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2692         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2693         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2694         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2695         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2696         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2697         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2698         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2699         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2700         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2701         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2703 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2705         [BZ #20384]
2706         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2707         test-double-libmvec-sincos-avx-main.o,
2708         test-double-libmvec-sincos-avx2-main.o,
2709         test-double-libmvec-sincos-main.o,
2710         test-float-libmvec-sincosf-avx-main.o,
2711         test-float-libmvec-sincosf-avx2-main.o and
2712         test-float-libmvec-sincosf-main.o.
2713         test-float-libmvec-sincosf-avx512-main.o.
2714         ($(objpfx)test-double-libmvec-sincos): Also link with
2715         $(objpfx)test-double-libmvec-sincos-main.o.
2716         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2717         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2718         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2719         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2720         ($(objpfx)test-float-libmvec-sincosf): Also link with
2721         $(objpfx)test-float-libmvec-sincosf-main.o.
2722         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2723         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2724         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2725         test-double-libmvec-sincos-avx512-main.o and
2726         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2727         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2728         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2729         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2730         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2731         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2732         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2733         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2734         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2735         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2736         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2737         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2738         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2739         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2740         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2741         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2742         -DREQUIRE_AVX2.
2743         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2744         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2745         -DREQUIRE_AVX512F.
2746         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2747         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2748         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2749         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2750         file.
2751         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2752         Likewise.
2753         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2754         Likewise.
2755         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2756         Likewise.
2757         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2758         Likewise.
2759         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2760         Likewise.
2761         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2762         Likewise.
2763         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2764         Likewise.
2766 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2768         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2770 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2772         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2773         and typo in a comment about AT_HWCAP entry.
2775 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2777         * sysdeps/aarch64/libm-test-ulps: Updated.
2779 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2781         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2782         of r13 as it is not restored in mvcle case.
2784 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2786         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2787         Rename "ret" to "__ret".
2788         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2789         inline_syscall5, inline_syscall6): Likewise.
2791 2016-07-19   Will Newton  <will.newton@gmail.com>
2793         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2794         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2795         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2796         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2797         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2799 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2801         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2802         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2803         -mfpmath=387 with $(rtld-CFLAGS).
2804         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2805         $(rtld-CFLAGS).
2807 2016-07-18   Ross Burton  <ross.burton@intel.com>
2808              Khem Raj  <raj.khem@gmail.com>
2810         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2811         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2812         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2813         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2814         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2815         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2816         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2817         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2818         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2819         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2820         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2821         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2822         R_METAG_TLS_DTPOFF): New.
2824 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2825             Matt Clay  <mclay@lycos.com>
2827         [BZ #20357]
2828         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2829         to call __mpsin/__mpcos and to negate values.
2830         * math/auto-libm-test-in: Add test.
2831         * math/auto-libm-test-out: Regenerate.
2833 2016-07-18  Zack Weinberg  <zackw@panix.com>
2835         * grp/Makefile: Don't install the internal header grp-merge.h.
2837 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2839         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2841 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2843         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2845 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2847         [BZ #15368]
2848         * sysdeps/unix/sysv/linux/nptl-signals.h
2849         (__nptl_clear_internal_signals): New function.
2850         (__libc_signal_block_all): Likewise.
2851         (__libc_signal_block_app): Likewise.
2852         (__libc_signal_restore_set): Likewise.
2853         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2854         implementation.
2855         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2856         the cached pid/tid value in pthread structure.
2858 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2860         [BZ #20347]
2861         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2863 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2865         [BZ #20348]
2866         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2867         preadv64, pwrite64 and pwritev64.
2869 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2871         [BZ #20350]
2872         * posix/tst-preadwrite.c: Renamed to ...
2873         * posix/tst-preadwrite-common.c: This.
2874         (PREAD): Removed.
2875         (PWRITE): Likewise.
2876         (STRINGIFY): Likewise.
2877         (STRINGIFY2): Likewise.
2878         (do_prepare): Make it static and remove function arguments.
2879         (do_test): Likewise.
2880         (PREPARE): Updated.
2881         (TEST_FUNCTION): New.
2882         (name): Make it static.
2883         (fd): Likewise.
2884         (do_prepare): Use create_temp_file.
2885         (do_test): Renamed to ...
2886         (do_test_with_offset): This.  Make it static and accept offset.
2887         Properly check return value of PWRITE and PREAD.  Return bytes
2888         read.  Don't close fd nor unlink name.
2889         * posix/tst-preadwrite.c: Rewrite.
2890         * posix/tst-preadwrite64.c: Likewise.
2892 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2894         [BZ #20309]
2895         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2896         -mtls-dialect=gnu2 works.
2897         * configure: Regenerated.
2898         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2899         (tests): Add tst-gnu2-tls1.
2900         (modules-names): Add tst-gnu2-tls1mod.
2901         ($(objpfx)tst-gnu2-tls1): New.
2902         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2903         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2904         * elf/tst-gnu2-tls1.c: New file.
2905         * elf/tst-gnu2-tls1mod.c: Likewise.
2906         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2907         bytes for push in the PLT entry to align the stack.
2909 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2911         [BZ #20349]
2912         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2914 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2916         [BZ #18707]
2917         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2918         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2920 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2922         * sysdeps/unix/sysv/linux/sysdep.h
2923         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2924         guards.
2925         * misc/tst-preadvwritev-common.c: New file.
2926         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2927         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2928         a check for files larger than 2GB.
2930         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2931         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2932         * sysdeps/unix/sysv/linux/pread.c
2933         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2934         __OFF_T_MATCHES_OFF64_T.
2935         * sysdeps/unix/sysv/linux/pread64.c
2936         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2937         * sysdeps/unix/sysv/linux/preadv.c
2938         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2939         * sysdeps/unix/sysv/linux/preadv64.c
2940         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2941         * sysdeps/unix/sysv/linux/pwrite.c
2942         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2943         * sysdeps/unix/sysv/linux/pwrite64.c
2944         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2945         * sysdeps/unix/sysv/linux/pwritev.c
2946         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2947         * sysdeps/unix/sysv/linux/pwritev64.c
2948         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2950 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2952         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2953         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2955 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2957         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2959 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2961         [BZ #20240]
2962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2963         (CFLAGS-s_modf-ppc32.c): New variable.
2964         (CFLAGS-s_modff-ppc32.c): Likewise.
2965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2966         (CFLAGS-s_modf-ppc64.c): Likewise.
2967         (CFLAGS-s_modff-ppc64.c): Likewise.
2969 2016-07-07  Andreas Schwab  <schwab@suse.de>
2971         [BZ #20263]
2972         * nptl/tst-robust10.c: New test.
2973         * nptl/Makefile (tests): Add tst-robust10.
2975 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2977         [BZ #20263]
2978         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2980 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2982         * sysdeps/s390/linkmap.h (struct link_map_machine):
2983         Remove member gotplt and add member jmprel.
2984         * sysdeps/s390/s390-32/dl-machine.h
2985         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2986         instead of gotplt with &got[3].
2987         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2988         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2990 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2992         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2994 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2996         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2997         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2998         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2999         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3000         * libio/vtables.c (_IO_vtable_check)
3001         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3002         * libio/libioP.h (IO_set_accept_foreign_vtables)
3003         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3005 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3007         [BZ #20314]
3008         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3009         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3010         $(common-objpfx)cmath.
3011         ($(common-objpfx)cstdlib): New target.
3012         ($(common-objpfx)cmath): Likewise.
3014 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3016         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3018 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3020         [BZ #20327]
3021         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3022         are not part of the string.
3024 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3026         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3027         * nptl/tst-cancel4-common.h (fifoname): New variable.
3028         (fifofd): Likewise.
3029         (cl_fifo): New function.
3030         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3031         SIGINT.
3032         (tf_open): Add early cancel test.
3034 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3036         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3038 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3040         * sysdeps/generic/ldsodefs.h
3041         (dl_symbol_visibility_binds_local_p): New inline function.
3042         * elf/dl-addr.c (determine_info): Treat hidden and internal
3043         symbols as local.
3044         * elf/dl-lookup.c (do_lookup_x): Likewise.
3045         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3047 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3049         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3050         invalid exception for a sNaN input.
3051         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3052         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3053         (__nearbyint_vis3): Likewise
3054         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3055         (__nearbyintf_vis3): Likewise
3056         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3057         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3058         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3059         Likewise.
3060         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3061         Likewise.
3063 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3065         [BZ #20139]
3066         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3067         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3068         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3069         2.24 or above.
3070         (HAVE_AVX512_ASM_SUPPORT): Removed.
3071         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3072         * sysdeps/x86_64/configure: Regenerated.
3073         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3074         check unconditional.
3075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3076         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3077         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3078         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3079         Likewise.
3080         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3081         Likewise.
3082         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3083         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3084         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3085         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3086         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3087         Likewise.
3088         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3089         Likewise.
3090         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3091         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3092         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3093         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3094         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3095         Likewise.
3096         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3097         Likewise.
3098         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3099         Likewise.
3100         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3101         Likewise.
3102         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3103         Likewise.
3104         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3105         Likewise.
3106         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3107         Likewise.
3108         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3109         Likewise.
3110         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3111         Likewise.
3112         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3113         Likewise.
3114         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3115         Likewise.
3117 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3119         [BZ #20024]
3120         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3121         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3122         of this implementation of vector function.
3123         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3124         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3125         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3126         Likewise.
3127         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3128         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3129         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3130         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3131         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3132         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3133         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3134         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3135         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3136         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3137         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3138         for testing vector sincos with fixed ABI.
3139         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3140         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3141         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3142         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3143         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3144         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3145         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3146         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3147         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3148         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3149         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3150         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3151         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3152         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3153         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3154         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3156 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3158         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3160 2016-06-30  Anton Blanchard  <anton@samba.org>
3162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3163         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3164         s_sinf-ppc64.
3165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3168         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3170 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3174         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3175         e_expf-ppc64.
3176         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3177         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3178         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3179         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3181 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3183         [BZ #20277]
3184         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3185         when SHARED is defined.
3187 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3189         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3190         (index_arch_Prefer_ERMS): Likewise.
3191         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3192         __memcpy_erms for Prefer_ERMS.
3193         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3194         (__memmove_erms): Enabled for libc.a.
3195         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3196         __memmove_erms or Prefer_ERMS.
3197         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3198         __mempcpy_erms for Prefer_ERMS.
3199         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3200         __memset_erms for Prefer_ERMS.
3202 2016-06-30  Andreas Schwab  <schwab@suse.de>
3204         [BZ #20262]
3205         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3206         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3207         of memory.
3209 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3211         [BZ #18645]
3212         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3213         (test-extras): Add tst-cleanupx4aux.
3214         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3215         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3216         tst-cleanupx4aux.o.
3217         * nptl/tst-cleanupx4aux.c: New file.
3219 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3221         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3223 2016-06-29  Andreas Schwab  <schwab@suse.de>
3225         [BZ #20260]
3226         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3227         address before the beginning of the string as an integer to avoid
3228         array-bounds warning.
3230 2016-06-28  Richard Henderson  <rth@redhat.com>
3232         * elf/elf.h (EM_BPF): New.
3233         (EM_NUM): Update.
3234         (R_BPF_NONE, R_BPF_MAP_FD): New.
3236         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3237         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3238         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3239         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3240         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3241         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3242         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3243         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3244         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3245         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3246         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3247         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3248         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3249         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3250         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3251         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3252         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3253         (EM_NUM): Update.
3255 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3257         [BZ #18960]
3258         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3259         Set _nl_current_LC_CATEGORY_used to two instead of one.
3261 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3263         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3264         (do_test): ... this.
3265         (TEST_FUNCTION): New macro.
3266          Include test-skeleton.c.
3267         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3268         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3270 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3272         [BZ #15479]
3273         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3274         floating-point environment rather than just control word.
3275         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3276         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3277         floating-point environment, with "invalid" exceptions merged in,
3278         rather than just control word.
3279         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3280         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3281         "inexact" exceptions.
3283         [BZ #15479]
3284         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3285         floating-point environment rather than just control word.
3286         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3287         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3288         floating-point environment, with "invalid" exceptions merged in,
3289         rather than just control word.
3290         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3291         * math/libm-test.inc (floor_test_data): Do not allow spurious
3292         "inexact" exceptions.
3294         [BZ #15479]
3295         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3296         floating-point environment rather than just control word.
3297         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3298         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3299         floating-point environment, with "invalid" exceptions merged in,
3300         rather than just control word.
3301         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3302         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3303         "inexact" exceptions.
3305 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3307         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3308         __libc_vfork.
3309         (__vfork) [IS_IN (libc)]: Remove alias.
3310         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3311         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3312         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3314 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3316         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3317         of atomic_compare_and_exchange_bool_rel.
3318         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3319         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3320         catomic_compare_and_exchange_bool_rel): Remove.
3321         * sysdeps/aarch64/atomic-machine.h
3322         (atomic_compare_and_exchange_bool_rel): Likewise.
3323         * sysdeps/alpha/atomic-machine.h
3324         (atomic_compare_and_exchange_bool_rel): Likewise.
3325         * sysdeps/arm/atomic-machine.h
3326         (atomic_compare_and_exchange_bool_rel): Likewise.
3327         * sysdeps/mips/atomic-machine.h
3328         (atomic_compare_and_exchange_bool_rel): Likewise.
3329         * sysdeps/microblaze/atomic-machine.h
3330         ( __arch_compare_and_exchange_bool_8_rel,
3331         __arch_compare_and_exchange_bool_16_rel): Likewise.
3332         * sysdeps/powerpc/atomic-machine.h
3333         ( __arch_compare_and_exchange_bool_8_rel,
3334         __arch_compare_and_exchange_bool_16_rel): Likewise.
3335         * sysdeps/powerpc/powerpc32/atomic-machine.h
3336         ( __arch_compare_and_exchange_bool_32_rel,
3337         __arch_compare_and_exchange_bool_64_rel): Likewise.
3338         * sysdeps/powerpc/powerpc64/atomic-machine.h
3339         ( __arch_compare_and_exchange_bool_32_rel,
3340         __arch_compare_and_exchange_bool_64_rel): Likewise.
3341         * sysdeps/tile/atomic-machine.h
3342         (atomic_compare_and_exchange_bool_rel): Likewise.
3344 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3346         [BZ #20296]
3347         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3348         when either argument is a NaN.
3349         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3350         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3352         * math/libm-test.inc (snan_value_ld): New macro.
3353         (isgreater_test_data): Add sNaN tests.
3354         (isgreaterequal_test_data): Likewise.
3355         (isless_test_data): Likewise.
3356         (islessequal_test_data): Likewise.
3357         (islessgreater_test_data): Likewise.
3358         (isunordered_test_data): Likewise.
3359         (nextafter_test_data): Likewise.
3360         (nexttoward_test_data): Likewise.
3361         (remainder_test_data): Likewise.
3362         (remquo_test_data): Likewise.
3363         (significand_test_data): Likewise.
3364         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3366 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3368         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3369         environment macros are defined.
3370         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3372 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3374         [BZ #20191]
3375         Implement vtable verification in libio.
3376         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3377         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3378         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3379         _IO_new_file_init_internal instead of _IO_file_init.
3380         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3381         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3382         * libio/Makefile (routines): Add vtables.
3383         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3384         (_IO_init): Remove, not for internal use.
3385         (_IO_init_internal): Declare, internal replacement for _IO_init.
3386         (_IO_file_init): Remove, not for internal use.
3387         (_IO_new_file_init): Remove, not for internal use.
3388         (_IO_new_file_init_internal): Declare, internal replacement for
3389         _IO_new_file_init.
3390         (_IO_old_file_init): Remove, not for internal use.
3391         (_IO_old_file_init_internal): Declare, internal replacement for
3392         _IO_old_file_init.
3393         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3394         internal use.
3395         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3396         Declare.
3397         (libio_vtable): New macro.
3398         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3399         functions.
3400         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3401         _IO_new_file_init.
3402         (_IO_new_file_init): New externally visible wrapper which disables
3403         vtable verification.
3404         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3405         Define as vtables.
3406         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3407         (_IO_init): New externally visible wrapper which disables
3408         vtable verification.
3409         * libio/iofdopen.c (_IO_new_fdopen): Call
3410         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3411         comment.
3412         * libio/iofopen.c (__fopen_internal): Call
3413         _IO_new_file_init_internal instead of _IO_file_init.
3414         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3415         Define as vtables.
3416         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3417         _IO_new_file_init_internal instead of _IO_file_init.
3418         * libio/iopopen.c (_IO_new_popen): Likewise.
3419         (_IO_proc_jumps): Define as vtable.
3420         * libio/iovdprintf.c (_IO_vdprintf): Call
3421         _IO_new_file_init_internal instead of _IO_file_init.
3422         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3423         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3424         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3425         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3426         _IO_old_file_init.
3427         (_IO_old_file_init): New externally visible wrapper which disables
3428         vtable verification.
3429         (_IO_old_file_jumps): Define as vtable.
3430         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3431         _IO_old_file_init_internal instead of _IO_old_file_init.
3432         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3433         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3434         (_IO_old_proc_jumps): Define as vtable.
3435         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3436         Define as vtables.
3437         * libio/vtables.c: New file.
3438         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3439         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3440         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3441         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3442         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3443         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3444         instead of _IO_init.
3446 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3448         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3450 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3452         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3453         potentially unused.
3455 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3457         * test-skeleton.c (write_message): New function.
3458         * malloc/tst-mallocfork2.c (write_message): Remove.
3459         * debug/tst-longjmp_chk2.c (write_indented): New function.
3460         (write_message): Remove.
3461         (stackoverflow_handler): Call write_indented.
3463 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3465         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3466         "inexact" exceptions after fnstenv.
3467         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3468         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3469         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3471 2015-06-22  Zack Weinberg  <zackw@panix.com>
3473         * sysdeps/generic/bits/hwcap.h: Moved to ...
3474         * bits/hwcap.h: Here.
3476 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3478         * sysdeps/aarch64/memcpy.S (memcpy):
3479         Further tuning for performance.
3481 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3483         [BZ #20284]
3484         * malloc/arena.c (reused_arena): Do not return NULL if we start
3485         out with a non-corrupted arena.
3487 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3489         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3490         * misc/tst-preadvwritev.c: New file.
3491         * misc/tst-preadvwritev64.c: Likewise.
3492         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3493         usage.
3494         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3495         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3496         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3497         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3499 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3501         [BZ #19654]
3502         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3503         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3504         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3505         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3506         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3507         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3508         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3509         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3510         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3511         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3512         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3513         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3514         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3515         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3516         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3517         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3518         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3519         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3520         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3521         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3522         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3523         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3524         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3525         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3526         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3527         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3529 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3531         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3532         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3534 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3536         * sysdeps/aarch64/memcpy.S (memcpy):
3537         Rewrite of optimized memcpy and memmove.
3538         * sysdeps/aarch64/memmove.S (memmove): Remove
3539         memmove code (merged into memcpy.S).
3541 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3543         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3544         * sysdeps/generic/dl-dtv.h: New file.
3545         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3546         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3547         (dtv_t): Remove.
3548         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3549         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3550         (dtv_t): Remove.
3551         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3552         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3553         (dtv_t): Remove.
3554         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3555         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3556         (dtv_t): Remove.
3557         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3558         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3559         (dtv_t): Remove.
3560         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3561         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3562         (dtv_t): Remove.
3563         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3564         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3565         (dtv_t): Remove.
3566         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3567         (dtv_t): Remove.
3568         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3569         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3570         (dtv_t): Remove.
3571         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3572         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3573         (dtv_t): Remove.
3574         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3575         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3576         (dtv_t): Remove.
3577         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3578         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3579         (dtv_t): Remove.
3580         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3581         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3582         (dtv_t): Remove.
3583         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3584         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3585         (dtv_t): Remove.
3586         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3587         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3588         (dtv_t): Remove.
3589         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3590         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3591         (dtv_t): Remove.
3593 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3595         Revert symbol poisoning of  __malloc_initialize_hook.
3596         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3597         poisoning.
3598         * malloc/Makefile: Remove un-poisoning.
3599         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3600         instead of old__malloc_initialize_hook.
3601         * malloc/malloc-hooks.h: Likewise.
3602         * malloc/malloc.c: Likewise.
3603         * malloc/mcheck-init.c: Likewise.
3605 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3607         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3609 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3611         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3612         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3613         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3614         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3616 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3618         * NEWS: Mention addition of nextup and nextdown.
3619         * manual/arith.texi: Document nextup and nextdown.
3620         * manual/libm-err-tab.pl: Add nextup and nextdown.
3621         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3622         * math/Versions (libm): Add GLIBC_2.24.
3623         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3624         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3625         Add new test.
3626         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3627         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3628         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3629         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3630         (nextup_test_data): Likewise.
3631         (nextdown_test_data): Likewise.
3632         * math/s_nextdown.c: New file.
3633         * math/s_nextdownf.c: Likewise.
3634         * math/s_nextdownl.c: Likewise.
3635         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3636         F(nextup): New function.
3637         F(nextdown): Likewise.
3638         * math/tgmath.h: Add nextup and nextdown.
3639         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3640         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3641         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3642         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3643         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3644         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3645         Add nextup and nextdown.
3646         (CFLAGS-nldbl-nextup.c): New variable.
3647         (CFLAGS-nldbl-nextdown.c): Likewise.
3648         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3649         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3650         * sysdeps/nacl/libm.abilist: Update.
3651         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3652         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3653         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3654         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3655         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3656         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3657         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3658         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3659         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3660         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3661         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3662         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3665         Likewise.
3666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3668         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3669         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3670         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3671         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3672         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3675         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3676         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3677         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3678         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3680 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3682         * manual/pattern.texi: Fix typos & grammar errors.
3684 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3686         * manual/search.texi: Fix typos & grammar errors.
3688 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3690         * manual/message.texi: Fix typos & grammar errors.
3692 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3694         * manual/contrib.texi: Fix spelling typos.
3695         * manual/crypt.texi: Likewise.
3696         * manual/filesys.texi: Likewise.
3697         * manual/locale.texi: Likewise.
3698         * manual/message.texi: Likewise.
3699         * manual/nss.texi: Likewise.
3700         * manual/string.texi: Likewise.
3702 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3704         * manual/locale.texi: Fix typos & grammar errors.
3706 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3708         * manual/charset.texi: Fix typos & grammar errors.
3710 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3712         * manual/string.texi: Fix typos.
3714 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3716         * manual/ctype.texi: Fix typos.
3718 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3720         * manual/memory.texi: Fix various typos & grammar errors.
3722 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3724         [BZ #20255]
3725         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3726         * math/libm-test.inc (fdim_test_data): Add another test.
3728         [BZ #6796]
3729         [BZ #20255]
3730         [BZ #20256]
3731         * math/s_fdim.c: Include <math_private.h>.
3732         (__fdim): Use math_narrow_eval on result.
3733         * math/s_fdimf.c: Include <math_private.h>.
3734         (__fdimf): Use math_narrow_eval on result.
3735         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3736         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3737         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3738         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3739         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3740         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3741         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3742         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3743         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3744         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3745         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3746         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3747         overflow.  Add sNaN tests.
3749         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3750         fpclassify.
3751         * math/s_fdimf.c (__fdimf): Likewise.
3752         * math/s_fdiml.c (__fdiml): Likewise.
3754 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3756         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3757         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3759         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3760         ifunc'ed strcasecmp/strncasecmp.
3761         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3762         [EALIGN]: Removed.
3763         [END]: Likewise.
3764         [__strcasecmp]: Define instead of the above to control symbol name.
3765         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3766         for __strcasecmp_power8.
3767         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3768         for __strncasecmp_power8.
3769         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3770         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3771         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3772         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3773         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3774         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3776 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3778         [BZ #20252]
3779         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3780         arguments when second argument is a NaN.
3781         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3782         qNaN tests.
3784         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3785         (conj_test_data): Likewise.
3786         (copysign_test_data): Likewise.
3787         (creal_test_data): Likewise.
3788         (fma_test_data): Likewise.
3789         (fmod_test_data): Likewise.
3791         [BZ #20250]
3792         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3793         itself.
3794         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3795         zero input to itself.
3796         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3797         Likewise.
3798         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3799         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3800         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3801         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3802         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3804 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3806         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3807         * nptl/tst-cancel4-common.c: New file.
3808         * nptl/tst-cancel4-common.h: Likewise.
3809         * nptl/tst-cancel4.c: Move common definitions to
3810         tst-cancel4-common.{c,h} file.
3811         * nptl/tst-cancel4_1.c: New test.
3812         * nptl/tst-cancel4_2.c: New test.
3814 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3816         [BZ #20248]
3817         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3818         (write_message): New function.
3819         (stackoverflow_handler): Call it instead of printf, to avoid
3820         excessive stack usage by printf.
3821         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3823 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3825         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3826         (prio_inherit_missing): Remove define.
3827         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3828         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3829         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3830         Likewise.
3831         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3832         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3833         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3834         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3835         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3836         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3838 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3840         [BZ #19670]
3841         [BZ #19672]
3843         * io/test-lfs.c (do_prepare): Use xmalloc.
3844         * io/tst-fcntl.c (do_prepare): Likewise.
3845         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3846         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3847         * login/tst-utmp.c (do_prepare): Likewise.
3848         * posix/tst-exec.c (do_prepare): Likewise.
3849         * posix/tst-pathconf.c (prepare): Likewise.
3850         * posix/tst-spawn.c (do_prepare): Likewise.
3851         * posix/tst-truncate.c (do_prepare): Likewise.
3852         * rt/tst-aio.c (do_prepare): Likewise.
3853         * rt/tst-aio64.c (do_prepare): Likewise.
3855 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3857         [BZ #20237]
3858         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3859         (get*ent): Set entidx to NULL during initialization.  If entidx is
3860         NULL, start iteration from the beginning.
3862 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3864         * malloc/malloc.c (musable): Return correct size for dumped fake
3865         mmapped chunk.
3867 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3869         [BZ #20222]
3870         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3871         (_IO_cookie_write): Likewise.
3872         (_IO_cookie_seek): Likewise.
3873         (_IO_cookie_close): Likewise.
3874         (_IO_old_cookie_seek): Likewise.
3875         (set_callbacks): New function.
3876         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3878 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3880         * locale/programs/localedef.c (oldstyle_tables): Remove.
3881         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3883 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3885         [BZ #20240]
3886         * math/Makefile (CFLAGS-s_modf.c): New variable.
3887         (CFLAGS-s_modff.c): Likewise.
3888         (CFLAGS-s_modfl.c): Likewise.
3889         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3891 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3893         [BZ #20215]
3894         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3895         [!__GNUC_PREREQ (3,2)]: Likewise.
3897 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3899         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3900         (msghdr.msg_controllen): Likewise.
3901         (cmsghdr.cmsg_len): Likewise.
3902         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3903         ptw-oldsendmsg.
3904         (CFLAGS-oldrecvmsg.c): Remove rule.
3905         (CFLAGS-oldsendmsg.c): Likewise.
3906         (CFLAGS-recvmsg.c): Add rule.
3907         (CFLAGS-sendmsg.c): Likewise.
3908         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3909         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3910         (CFLAGS-recvmsg.c): Remove rule.
3911         (CFLAGS-sendmsg.c): Likewise.
3912         (CFLAGS-oldrecvmsg.c): Likewise.
3913         (CFLAGS-oldsendmsg.c): Likewise.
3914         (CFLAGS-recvmmsg.c): Likewise.
3915         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3916         to kernel defined interfaces.
3917         (msghdr.msg_controllen): Likewise.
3918         (cmsghdr.cmsg_len): Likewise.
3919         (msghdr.__glibc_reserved1): Remove member.
3920         (msghdr.__glibc_reserved2): Likewise.
3921         (cmsghdr.__glibc_reserved1): Likewise.
3922         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3923         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3924         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3925         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3926         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3927         version.
3928         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3929         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3930         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3931         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3932         Remove recvmsg and sendmsg.
3933         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3934         Likewise.
3935         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3936         Likewise.
3937         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3938         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3939         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3940         Likewise.
3941         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3942         Likewise.
3943         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3944         [libc] (GLIBC_2.24): Likewise.
3945         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3946         Likewise.
3947         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3948         Likewise.
3949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3950         [libc] (GLIBC_2.24): Likewise.
3951         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3952         Likewise.
3953         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3954         Likewise.
3955         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3956         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3957         Likewise.
3958         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3959         Likewise.
3960         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3961         Likewise.
3962         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3963         Likewise.
3964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3965         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3966         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3967         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3968         version for {recv,send,recm,sendm}msg.
3969         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3970         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3971         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3972         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3973         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3974         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3975         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3976         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3977         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3978         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3979         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3980         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3982         Likewise.
3983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3984         Likewise.
3985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3987         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3988         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3989         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3990         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3991         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3992         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3995         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3996         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3997         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3999 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4001         [BZ #19564]
4002         Remove __malloc_initialize_hook from the API.
4003         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4004         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4005         #pragma GCC poison.
4006         * malloc/malloc-hooks.h: New file.
4007         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4008         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4009         (old__malloc_initialize_hook): Rename from
4010         __malloc_initialize_hook to evade poisoning.  Turn into compat
4011         symbol.
4012         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4013         __malloc_initialize_hook.
4014         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4015         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4016         * manual/memory.texi (Hooks for Malloc): Remove
4017         __malloc_initialize_hook.  Adjust hook example.
4019 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4021         [BZ #20235]
4022         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4023         itself.
4024         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4025         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4027         [BZ #20234]
4028         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4029         infinity or NaN input to itself.
4031         [BZ #20233]
4032         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4033         to itself.
4035         [BZ #20232]
4036         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4037         itself.
4039 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4041         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4042         __libc_start_main via GOT.
4044 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4046         * sysdeps/x86_64/memcopy.h: New file.
4047         * sysdeps/x86_64/wordcopy.c: Likewise.
4049 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4051         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4052         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4053         <cstdlib>.
4054         (optimization_barrier): New.
4055         (do_test): Use it.  Call quick_exit in the global namespace.
4056         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4057         instead of <cstdlib>, <thread>.
4058         (optimization_barrier): New.
4059         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4060         Call quick_exit in the global namespace.
4061         (do_test): Call optimization_barrier.  Use pthread_create,
4062         pthread_join instead of std::thread.
4064 2016-06-09  Andreas Schwab  <schwab@suse.de>
4066         [BZ #19755]
4067         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4068         new entries in auto-propagate mode.
4069         * nscd/grpcache.c (cache_addgr): Likewise.
4071 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4073         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4074         New functions.
4075         (add_temp_file): Use them.
4077 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4079         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4081 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4083         [BZ #20229]
4084         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4085         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4086         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4088         [BZ #20228]
4089         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4090         itself.
4091         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4092         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4094         [BZ #20227]
4095         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4096         itself.
4097         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4098         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4099         * math/libm-test.inc (log_test_data): Add sNaN tests.
4101         [BZ #20226]
4102         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4103         itself.
4104         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4105         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4106         (exp10_test_data): Likewise.
4107         (expm1_test_data): Likewise.
4109         [BZ #20225]
4110         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4111         itself.
4112         * math/s_ldexpf.c (__ldexpf): Likewise.
4113         * math/s_ldexpl.c (__ldexpl): Likewise.
4114         * math/w_scalbln.c (__w_scalbln): Likewise.
4115         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4116         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4117         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4118         (scalbln_test_data): Likewise.
4120         [BZ #20224]
4121         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4122         argument to itself.
4123         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4125 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4127         [BZ #19776]
4128         * sysdeps/x86_64/memcpy.S: Make it dummy.
4129         * sysdeps/x86_64/mempcpy.S: Likewise.
4130         * sysdeps/x86_64/memmove.S: New file.
4131         * sysdeps/x86_64/memmove_chk.S: Likewise.
4132         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4133         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4134         * sysdeps/x86_64/memmove.c: Removed.
4135         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4136         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4137         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4138         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4139         Likewise.
4140         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4141         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4142         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4143         memcpy-sse2-unaligned, memmove-avx-unaligned,
4144         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4145         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4146         (__libc_ifunc_impl_list): Replace
4147         __memmove_chk_avx512_unaligned_2 with
4148         __memmove_chk_avx512_unaligned.  Remove
4149         __memmove_chk_avx_unaligned_2.  Replace
4150         __memmove_chk_sse2_unaligned_2 with
4151         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4152         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4153         with __memmove_avx512_unaligned.  Replace
4154         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4155         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4156         with __memcpy_chk_avx512_unaligned.  Remove
4157         __memcpy_chk_avx_unaligned_2.  Replace
4158         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4159         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4160         Replace __memcpy_avx512_unaligned_2 with
4161         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4162         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4163         with __mempcpy_chk_avx512_unaligned.  Remove
4164         __mempcpy_chk_avx_unaligned_2.  Replace
4165         __mempcpy_chk_sse2_unaligned_2 with
4166         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4167         Replace __mempcpy_avx512_unaligned_2 with
4168         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4169         Replace __mempcpy_sse2_unaligned_2 with
4170         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4171         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4172         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4173         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4174         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4175         (ENTRY): Removed.
4176         (END): Likewise.
4177         (ENTRY_CHK): Likewise.
4178         (libc_hidden_builtin_def): Likewise.
4179         Don't include ../memcpy.S.
4180         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4181         __memcpy_chk_avx512_unaligned_erms and
4182         __memcpy_chk_avx512_unaligned.  Use
4183         __memcpy_chk_avx_unaligned_erms and
4184         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4185         Default to __memcpy_chk_sse2_unaligned.
4186         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4187         Change function suffix from unaligned_2 to unaligned.
4188         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4189         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4190         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4191         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4192         (ENTRY): Removed.
4193         (END): Likewise.
4194         (ENTRY_CHK): Likewise.
4195         (libc_hidden_builtin_def): Likewise.
4196         Don't include ../mempcpy.S.
4197         (mempcpy): New.  Add a weak alias.
4198         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4199         __mempcpy_chk_avx512_unaligned_erms and
4200         __mempcpy_chk_avx512_unaligned.  Use
4201         __mempcpy_chk_avx_unaligned_erms and
4202         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4203         Default to __mempcpy_chk_sse2_unaligned.
4205 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4207         [BZ #19881]
4208         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4209         into ...
4210         * sysdeps/x86_64/memset.S: This.
4211         (__bzero): Removed.
4212         (__memset_tail): Likewise.
4213         (__memset_chk): Likewise.
4214         (memset): Likewise.
4215         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4216         defined.
4217         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4218         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4219         (__memset_zero_constant_len_parameter): Check SHARED instead of
4220         PIC.
4221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4222         memset-avx2 and memset-sse2-unaligned-erms.
4223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4224         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4225         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4226         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4227         (__bzero): Enabled.
4228         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4229         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4230         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4231         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4232         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4233         (memset): Removed.
4234         (__memset_chk): Likewise.
4235         (MEMSET_SYMBOL): New.
4236         (libc_hidden_builtin_def): Replace __memset_sse2 with
4237         __memset_sse2_unaligned.
4238         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4239         __memset_chk_sse2 and __memset_chk_avx2 with
4240         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4241         Use __memset_chk_sse2_unaligned_erms or
4242         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4243         __memset_chk_avx512_unaligned_erms and
4244         __memset_chk_avx512_unaligned.
4246 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4248         * math/gen-auto-libm-test.c (fp_format_desc): remove
4249         suffix member.
4250         (output_generic_value): Remove usage of suffix member,
4251         and the resulting unuse of the fp_format argument.
4252         (output_for_one_input_case): Remove unused fp_format
4253         parameter.
4255         * math/auto-libm-test-out: Regenerate.
4257         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4258         usage with TEST_COND_ibm128.
4259         (TEST_COND_flt_32): Remove.
4260         (TEST_COND_dbl_64): Remove.
4261         (TEST_COND_ldbl_96_intel): Remove.
4262         (TEST_COND_ldbl_96_m68k): Remove.
4263         (TEST_COND_ldbl_128): Remove.
4265 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4267         * auto-libm-test-in:
4268         Replace flt-32 usage with binary32.
4269         Replace dbl-64 usage with binary64.
4270         Replace ldbl-intel-96 usage with intel96.
4271         Replace ldbl-m68k-96 usage with m68k96.
4272         Replace ldbl-128ibm usage with ibm128.
4273         Replace ldbl-128 usage with binary128.
4275         * auto-libm-test-out: Regenerate.
4277 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4279         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4280         (parse_ulps): Dynamically generate type name matching
4281         string from all_floats.
4282         (get_ulps): Generate the ulps as an array instead.
4283         (output_ulps): Dynamically compose the type based
4284         on the number of supported formats, and print
4285         the indices as type specific helper macros.
4287         * math/libm-test.inc: Remove comment about CHOOSE.
4288         (ulp_data): Generate the type in libm-test-ulps.h.
4289         (ULP_IDX): New macro.
4290         (find_ulps): Update usage of max_ulp.
4292         * math/test-double-vlen2.h (CHOOSE): Remove.
4293         * math/test-double-vlen4.h (CHOOSE): Likewise.
4294         * math/test-double-vlen8.h (CHOOSE): Likewise.
4295         * math/test-float.c (CHOOSE): Likewise.
4296         * math/test-float-finite.c (CHOOSE): Likewise.
4297         * math/test-double.c (CHOOSE): Likewise.
4298         * math/test-double-finite.c (CHOOSE): Likewise.
4299         * math/test-idouble.c (CHOOSE): Likewise.
4300         * math/test-ifloat.c (CHOOSE): Likewise.
4301         * math/test-ildoubl.c (CHOOSE): Likewise.
4302         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4303         * math/test-ldouble.c (CHOOSE): Likewise.
4305         * math/test-float.h (TEST_FLOAT): Remove.
4306         * math/test-double.h (TEST_DOUBLE): Likewise.
4307         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4309 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4311         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4312         (parse_args): Strip C suffix from floating point literals
4313         typed with 'f' and wrap them with LIT().
4315         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4316         (test_ff_f_data_nexttoward): Rename to
4317         (test_fj_f_data): New struct.
4318         (nexttoward_test_data): Relabel tests as
4319         TEST_fj_f instead of TEST_ff_f.
4321 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4323         Emacs bug 23726.
4324         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4325         (__libc_realloc): Correct size computation for dumped fake mmapped
4326         chunks.
4328 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4330         [BZ #20219]
4331         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4332         to itself.
4333         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4335         [BZ #20218]
4336         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4337         to itself.
4338         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4340 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4342         [BZ #20195]
4343         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4344         check to ...
4345         (init_cpu_features): Here.
4347 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4349         [BZ #20214]
4350         * sysdeps/unix/sysv/linux/bits/in.h
4351         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4352          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4353         Define to 1.
4354         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4355          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4356         Define to 0.
4357         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4358         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4360 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4362         [BZ #20198]
4363         * stdlib/Makefile (tests): Add tst-quick_exit, and
4364         tst-thread-quick_exit.
4365         [ifeq ($(have-cxx-thread_local),yes)]
4366         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4367         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4368         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4369         (LDLIBS-tst-thread-quick_exit): Likewise.
4370         [ifneq ($(have-cxx-thread_local),yes)]
4371         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4372         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4373         If run_dtors is true call __call_tls_dtors.
4374         (exit): Call __run_exit_handlers with run_dtors set to true.
4375         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4376         definition.
4377         * stdlib/quick_exit.c (quick_exit): Remove function.
4378         (__new_quick_exit): New function.
4379         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4380         function.
4381         * stdlib/tst-quick_exit.cc: New file.
4382         * stdlib/tst-thread-quick_exit.cc: New file.
4383         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4384         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4385         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4386         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4387         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4388         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4389         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4390         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4391         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4392         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4393         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4394         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4395         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4396         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4397         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4398         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4403         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4404         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4405         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4406         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4407         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4410         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4411         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4412         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4414 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4416         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4417         a typo in comments.
4419 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4421         [BZ #20213]
4422         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4423         argument to itself.
4424         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4426 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4428         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4429         required flags.
4430         (CFLAGS-pwritev64.c): Likewise.
4431         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4432         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4433         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4434         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4435         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4436         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4437         syscall from auto-generation.
4438         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4439         [WORDSIZE == 64] (pwritev64): Remove macro.
4440         [!PWRITEV] (PWRITEV): Likewise.
4441         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4442         [!PWRITEV] (PWRITE): Likewise.
4443         [!PWRITEV] (OFF_T): Likewise.
4444         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4445         (LO_HI_LONG): Remove macro.
4446         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4447         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4448         (PWRITEV): Remove macro.
4449         (PWRITEV_REPLACEMENTE): Likewise.
4450         (PWRITE): Likewise.
4451         (OFF_T): Likewise.
4452         (pwritev64): New function.
4453         * nptl/tst-cancel4.c (tf_writev): Add test.
4455         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4456         required flags.
4457         (CFLAGS-preadv64.c): Likewise.
4458         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4459         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4460         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4461         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4462         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4463         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4464         syscall from auto-generation.
4465         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4466         [WORDSIZE == 64] (preadv64): Remove macro.
4467         [!PREADV] (PREADV): Likewise.
4468         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4469         [!PREADV] (PREAD): Likewise.
4470         [!PREADV] (OFF_T): Likewise.
4471         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4472         (LO_HI_LONG): Remove macro.
4473         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4474         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4475         (PREADV): Remove macro.
4476         (PREADV_REPLACEMENTE): Likewise.
4477         (PREAD): Likewise.
4478         (OFF_T): Likewise.
4479         (preadv64): New function.
4480         * nptl/tst-cancel4.c (tf_preadv): Add test.
4482 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4484         [BZ #20212]
4485         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4486         argument to itself.
4487         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4489 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4491         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4492         New symbol defined as libc_hidden_def.
4493         (strcasestr): Became a weak alias to __strcasestr.
4494         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4495         according to multi-arch support.  Move __stpncpy hidden
4496         definition from here to...
4497         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4498         symbol stpncpy.
4499         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4500         libc_hidden_builtin_def.
4501         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4502         memset symbol to use when multi-arch support is available.
4504 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4506         * dlfcn/tst-rec-dlopen.c: Include string.h.
4508 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4510         * manual/install.texi: Remove mention of --without-tls
4511         * INSTALL: Regenerate.
4513 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4515         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4516         Remove.
4517         (call_function, interposed_malloc_called): New variables.
4518         (malloc): New function.
4519         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4520         and clear call_function as needed.
4522 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4524         * include/wchar.h (__wmemset): Use __typeof.
4526 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4528         * include/wchar.h (__wmemset): Declare function without typeof.
4530 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4532         [BZ #20205]
4533         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4534         exponent when incrementing negative subnormal with low mantissa
4535         word zero.
4536         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4537         Add another test.
4539 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4541         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4542         __wmemset instead of wmemset.
4544 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4546         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4547         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4548         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4549         __USE_KERNEL_IPV6_DEFS to 0.
4550         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4551         Update comment.
4553 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4555         [BZ #19861]
4556         Do not use IFUNC resolver with potentially unrelocated symbol.
4557         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4558         (DEFINE_FORK): Remove macro and inline definition.
4559         (fork_alias): Renamed from fork_ifunc.
4560         (__fork_alias): Renamed from __fork_ifunc.
4562 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4564         [BZ 19653]
4565         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4566         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4568 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4570         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4571         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4572         i386-linux-gnu).
4573         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4574         Set to no.
4575         * sysdeps/mach/hurd/configure: Refresh.
4577 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4579         [BZ #20178]
4580         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4581         on failure instead of exit.
4583 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4585         [BZ #3629]
4586         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4587         of POSIX.1-2008.
4589 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4591         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4592           Use PLT entry for calling _hurd_self_sigstate.
4594 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4596         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4597         available logical processors with SMT level type sharing L2
4598         cache for Intel processors.
4600 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4602         [BZ #20160]
4603         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4604         argument to itself before returning the result.
4605         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4606         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4607         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4608         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4609         Likewise.
4610         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4611         Likewise.
4612         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4613         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4614         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4615         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4616         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4617         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4619         [BZ #20160]
4620         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4621         argument to itself before returning the result.
4622         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4623         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4624         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4625         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4626         Likewise.
4627         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4628         Likewise.
4629         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4630         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4631         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4632         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4633         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4634         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4636 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4638         * libm-test.inc: Replace usage of M_El with
4639         (lit_e): New macro.
4641 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4643         * libm-test.inc: Replace usage of M_PI_4l with
4644         (lit_pi_4_d): New macro.
4646 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4648         * libm-test.inc: Replace usage of M_PIl with
4649         (lit_pi): New macro.
4651 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4653         * libm-test.inc: Replace usage of M_PI2l with
4654         (lit_pi_2_d): New macro.
4656         * math/test-double.h (LITM): New macro.
4657         * math/test-float.h (LITM): Likewise.
4658         * math/test-ldouble.h (LITM): Likewise.
4660 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4662         * libm-test.inc (M_PI_34l): Rename to
4663         (lit_pi_3_m_4_d): New Macro.
4664         (M_PI_34_LOG10El): Rename to
4665         (lit_pi_3_m_4_ln10_m_d): New Macro.
4666         (M_PI2_LOG10El): Rename to
4667         (lit_pi_2_ln10_m_d):  New Macro.
4668         (M_PI4_LOG10El): Rename to
4669         (lit_pi_4_ln10_m_d):  New Macro.
4670         (M_PI_LOG10El): Rename to
4671         (lit_pi_ln10_d):  New Macro.
4673 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4675         [BZ #20157]
4676         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4677         determine whether to negate low half if [_ARCH_PPCGR], and integer
4678         comparison otherwise.
4679         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4680         determine whether to negate low half.
4682         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4683         (NO_TEST_INLINE_DOUBLE): Likewise.
4684         (TEST_COND_x86_64): Likewise.
4685         (TEST_COND_x86): Likewise.
4686         (M_PI_6l): Likewise.
4688 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4690         * math/libm-test.inc:
4691         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4692         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4693         (TEST_LDOUBLE): Update usage to evaluate as true if
4694         the guarded tests match the property being tested.
4695         (LDBL_MAX_EXP): Change to MAX_EXP.
4696         (LDBL_MIN_EXP): Change to MIN_EXP.
4697         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4698         nexttoward tests.
4700 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4702         * math/libm-test.inc:
4703         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4704         (TYPE_MIN): Likewise.
4705         (TYPE_TRUE_MIN): Likewise.
4706         (TYPE_MAX): Likewise.
4707         (MIN_EXP): Likewise.
4708         (MAX_EXP): Likewise.
4709         (MANT_DIG): Likewise.
4711         (FSTR_MAX): New macro.
4712         (__CONCATX): Likewise.
4713         (QTYPE_STR): Likewise.
4714         (TEST_COND_binary32): Likewise.
4715         (TEST_COND_binary64): Likewise.
4716         (TEST_COND_binary128): Likewise.
4717         (TEST_COND_ibm128): Likewise.
4718         (TEST_COND_intel96): Likewise.
4719         (TEST_COND_m68k96): Likewise.
4721         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4722         (TEST_COND_dbl_64): Likewise.
4723         (TEST_COND_ldbl_96_intel): Likewise.
4724         (TEST_COND_ldbl_96_m68k): Likewise.
4725         (TEST_COND_ldbl_128): Likewise.
4726         (TEST_COND_ldbl_128ibm): Likewise.
4728         (plus_zero): Redefine using LIT macro.
4729         (minus_zero): Likewise.
4730         (plus_infty): Redefine as (INF).
4731         (minux_infty): Redefine as (-INF).
4732         (max_value): Redefine as TYPE_MAX.
4733         (min_value): Redefine as TYPE_MIN.
4734         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4736         (print_float): Refactor to use snprintf to convert FLOAT values
4737         to string. This brings it closer to dropin replacement of strtof
4738         for the TS 18661 defined types.
4739         (update_stats): Likewise.
4740         (print_complex_function_ulps): Likewise.
4741         (print_max_error): Likewise.
4742         (print_complex_max_error): Likewise.
4743         (check_float_internal): Likewise.
4745         * math/test-float.h (PREFIX): New macro.
4746         (LIT): Likewise.
4747         (TYPE_STR): Likewise.
4748         (FTOSTR): Likewise.
4750         * math/test-double.h (PREFIX): New macro.
4751         (LIT): Likewise.
4752         (TYPE_STR): Likewise.
4753         (FTOSTR): Likewise.
4755         * math/test-ldouble.h (PREFIX): New macro.
4756         (LIT): Likewise.
4757         (TYPE_STR): Likewise.
4758         (FTOSTR): Likewise.
4760 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4762         [BZ #20156]
4763         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4764         to itself when zero or not finite.
4765         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4766         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4767         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4768         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4770 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4772         [BZ #20153]
4773         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4774         x * x + x for infinities and NaNs.
4776         [BZ #20151]
4777         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4778         argument to itself before returning result.
4779         (__ieee754_y0l): Likewise.
4780         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4781         (__ieee754_y1l).
4783         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4784         (atan_test_data): Likewise.
4785         (ceil_test_data): Likewise.
4786         (cos_test_data): Likewise.
4787         (cosh_test_data): Likewise.
4788         (erf_test_data): Likewise.
4789         (exp2_test_data): Likewise.
4790         (fabs_test_data): Likewise.
4791         (floor_test_data): Likewise.
4792         (ilogb_test_data): Likewise.
4793         (j0_test_data): Likewise.
4794         (j1_test_data): Likewise.
4795         (jn_test_data): Likewise.
4796         (lgamma_test_data): Likewise.
4797         (lrint_test_data): Likewise.
4798         (llrint_test_data): Likewise.
4799         (logb_test_data): Likewise.
4800         (lround_test_data): Likewise.
4801         (llround_test_data): Likewise.
4802         (nearbyint_test_data): Likewise.
4803         (rint_test_data): Likewise.
4804         (round_test_data): Likewise.
4805         (sin_test_data): Likewise.
4806         (sincos_test_data): Likewise.
4807         (sinh_test_data): Likewise.
4808         (sqrt_test_data): Likewise.
4809         (tan_test_data): Likewise.
4810         (tanh_test_data): Likewise.
4811         (tgamma_test_data): Likewise.
4812         (trunc_test_data): Likewise.
4813         (y0_test_data): Likewise.
4814         (y1_test_data): Likewise.
4815         (yn_test_data): Likewise.
4817         * math/libm-test.inc: Update comment about NaN testing.
4818         (TEST_SNAN): New macro.
4819         (snan_value): Likewise.
4820         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4821         (fpclassify_test_data): Add sNaN tests.
4822         (isfinite_test_data): Likewise.
4823         (isinf_test_data): Likewise.
4824         (isnan_test_data): Likewise.
4825         (isnormal_test_data): Likewise.
4826         (issignaling_test_data): Likewise.
4827         (signbit_test_data): Likewise.
4828         * math/gen-libm-test.pl (%beautify): Add snan_value.
4829         (show_exceptions): Add argument $test_snan.
4830         (parse_args): Handle snan_value as non-finite.  Update call to
4831         show_exceptions.
4832         * math/Makefile (libm-test-no-inline-cflags): Add
4833         -fsignaling-nans.
4835 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4837         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4838         (CFLAGS-oldsendmsg.c): Add rule.
4839         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4840         Correct recvmsg symbol name.
4841         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4842         Likewise.
4844 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4846         * sysdeps/unix/sysv/linux/Makefile
4847         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4848         oldsendmmsg.
4849         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4850         sendmmsg.
4851         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4852         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4853         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4854         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4856         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4857         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4859         Likewise.
4860         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4861         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4862         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4863         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4864         iovlen and controllen fields to adjust to POSIX specification.
4865         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4867         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4868         and change to correct expected type.
4869         (msghdr.msg_controllen): Likewise.
4870         (cmsghdr.cmsg_len): Likewise.
4871         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4872         expected POSIX assumption about the size.
4873         (msghdr.msg_controllen): Likewise.
4874         (msghdr.__glibc_reserved1): Likewise.
4875         (msghdr.__glibc_reserved2): Likewise.
4876         (cmsghdr.cmsg_len): Likewise.
4877         (cmsghdr.__glibc_reserved1): Likewise.
4878         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4879         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4880         (CFLAGS-sendmsg.c): Remove rule.
4881         (CFLAGS-recvmsg.c): Likewise.
4882         (CFLAGS-oldsendmsg.c): Add rule.
4883         (CFLAGS-oldrecvmsg.c): Likewise.
4884         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4885         recvmsg and sendmsg.
4886         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4887         Likewise.
4888         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4889         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4890         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4891         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4892         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4893         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4894         Likewise.
4895         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4896         Likewise.
4897         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4898         Likewise.
4899         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4900         Likewise.
4901         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4902         Likewise.
4903         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4904         Likewise.
4905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4906         (GLIBC_2.24): Likewise.
4907         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4908         Likewise.
4909         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4910         Likewise.
4911         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4912         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4913         Likewise.
4914         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4915         Likewise.
4916         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4917         Likewise.
4918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4919         (GLIBC_2.24): Likewise.
4920         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4921         Likewise.
4922         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4923         Likewise.
4924         * sysdeps/unix/sysv/linux/Makefile
4925         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4926         (CFLAGS-sendmsg.c): Add rule.
4927         (CFLAGS-recvmsg.c): Likewise.
4928         (CFLAGS-oldsendmsg.c): Likewise.
4929         (CFLAGS-oldrecvmsg.c): Likewise.
4930         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4931         initialization.
4932         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4933         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4934         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4935         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4936         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4937         iovlen and controllen fields to adjust to POSIX specification.
4938         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4939         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4940         added recvmsg and sendmsg.
4941         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4942         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4943         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4944         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4945         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4946         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4947         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4948         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4949         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4950         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4951         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4952         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4954         Likewise.
4955         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4957         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4958         Likewise.
4959         Likewise.
4960         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4961         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4962         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4963         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4964         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4965         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4967         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4969         Likewise.
4970         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4971         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4973         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4974         from auto-generation.
4975         (sendmsg): Likewise.
4976         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4977         (sendmsg): Likewise.
4978         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4979         (sendmsg): Likewise.
4980         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4981         (sendmsg): Likewise.
4982         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4983         (sendmsg): Likewise.
4984         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4985         (sendmsg): Likewise.
4986         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4987         Likewise.
4988         (sendmsg): Likewise.
4989         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4990         (sendmsg): Likewise.
4991         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4992         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4993         Remove.
4994         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4995         Likewise.
4996         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4997         Undefine.
4998         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4999         Likewise.
5000         * sysdeps/unix/sysv/linux/kernel-features.h
5001         (__ASSUME_SENDMSG_SYSCALL): Define.
5002         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5003         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5004         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5005         Remove.
5006         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5007         Likewise.
5008         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5009         Undefine.
5010         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5011         Likewise.
5012         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5013         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5014         Remove.
5015         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5016         Likewise.
5017         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5018         Undefine.
5019         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5020         Likewise.
5021         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5022         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5023         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5024         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5025         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5026         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5027         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5028         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5029         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5031 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5033         * stdlib/gen-tst-strtod-round.c: Add backslash to
5034         compile command in comment.
5035         (printfp): Remove the literal suffix, and define an infinite
5036         value as INF to avoid expansion clash with INFINITY.
5037         (round_str): Remove the literal suffix.
5038         (round_for_all): Likewise, remove the now duplicate ldbl-64
5039         entry, and remove some magic constants.
5041         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5042         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5043         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5044         (_CONCAT): New macro.
5045         (CONCAT): Likewise.
5046         (CHOOSE_ld): Likewise.
5047         (CHOOSE_f): Likewise.
5048         (CHOOSE_d): Likewise.
5049         (FTYPE_MEMBER): Likewise.
5050         (BOOL_MEMBER): Likewise.
5051         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5052         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5053         (_XNTRY): Likewise.
5054         (XNTRY): Likewise.
5055         (_ENTRY): Likewise.
5056         (ENTRY): Likewise.
5057         (test_exactness): Generate members via macro.
5058         (test_results): Likewise.
5059         (test): Update members.
5060         (TEST): Redefine using new macros.
5061         (INF): New macro.
5062         (fetestmodes): New structure.
5063         (do_test): Refactor to be type generic.
5064         (test_in_one_mode): Refactor duplicate code into
5065         (GEN_ONE_TEST): New macro.
5067         * stdlib/tst-strtod-round-data.h: Regenerate.
5069         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5070         Extend to pass additional arbitrary parameters to
5071         generators.
5073 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5075         [BZ #15479]
5076         * sysdeps/powerpc/powerpc64/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/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5081         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5082         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5083         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5084         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5086         [BZ #15479]
5087         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5088         floating-point state after first floating-point operation on
5089         input.  Restore full floating-point state instead of just rounding
5090         mode.
5091         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5092         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5093         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5094         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5095         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5097 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5099         [BZ #19727]
5100         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5101         valid high surrogate.
5102         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5103         of an utf16 surrogate.
5104         * iconv/gconv_simple.c (BODY): Likewise.
5105         * iconvdata/bug-iconv12.c: New file.
5106         * iconvdata/Makefile (tests): Add bug-iconv12.
5108 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5110         [BZ #19726]
5111         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5112         outptrp in case of an illegal input.
5113         * iconv/tst-iconv6.c: New file.
5114         * iconv/Makefile (tests): Add tst-iconv6.
5116 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5118         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5119         an error in case of a value in range of an utf16 low surrogate.
5121 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5123         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5124         an error in case of a value in range of an utf16 low surrogate.
5126 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5128         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5129         Move to ...
5130         * sysdeps/s390/Makefile: ... here.
5131         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5132         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5133         (BRANCH_ON_COUNT): New define.
5134         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5135         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5136         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5137         run on s390-32, too.
5138         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5139         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5140         run on s390-32, too.
5141         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5142         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5143         run on s390-32, too.
5145 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5147         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5148         etf3eh or new vector loop-variant.
5150 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5152         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5153         etf3eh or new vector loop-variant.
5155 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5157         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5158         or new vector loop-variant.
5160 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5162         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5163         Rename to TR_LOOP and usage of tr instead of troo instruction.
5165 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5167         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5168         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5170 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5172         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5173         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5174         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5175         New override define.
5176         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5178 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5180         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5181         * sysdeps/s390/configure.ac: Add test for S390 vector register
5182         support in gcc.
5183         * sysdeps/s390/configure: Regenerated.
5185 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5187         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5188         Install file from $(objpfx)gconv-modules.
5189         ($(objpfx)gconv-modules): Concatenate architecture specific file
5190         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5191         * sysdeps/s390/gconv-modules: New file.
5192         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5193         Deleted.
5194         ($(objpfx)gconv-modules-s390): Deleted.
5195         (sysdeps-gconv-modules): New variable.
5197 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5199         [BZ #15479]
5200         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5201         of immediate operand to rounding instruction.
5202         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5203         Likewise.
5204         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5205         Likewise.
5206         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5207         Likewise.
5209 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5211         * math/libm-test.inc (MIN_EXP): Directly define as
5212         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5214 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5216         * math/libm-test.inc (MANT_DIG): Directly define as
5217         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5219 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5221         * stdlib/gen-tst-strtod-round.c (main):
5222           Change usage to more closely match the generated
5223           output.  Add usage and compilation instructions.
5224           (string_to_fp): Add and use FILE* parameter as
5225           output target.
5226           (print_fp): Likewise.
5227           (round_str): Likewise.
5228           (round_for_all): Likewise.
5229         * stdlib/tst-strtod-round.c (tests): Move into
5230         * stdlib/tst-strtod-round-data.h: New file.
5232 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5234         [BZ #15479]
5235         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5236         (__round): Do not force "inexact" exception.
5237         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5238         variable.
5239         (__round): Do not force "inexact" exception.
5240         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5241         (__roundf): Do not force "inexact" exception.
5242         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5243         (__roundl): Do not force "inexact" exception.
5244         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5245         (__roundl): Do not force "inexact" exception.
5246         * math/libm-test.inc (round_test_data): Do not allow spurious
5247         "inexact" exceptions.
5249         [BZ #15479]
5250         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5251         exception in comment.
5252         (huge): Remove variable.
5253         (__floor): Do not force "inexact" exception.
5254         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5255         "inexact" exception in comment.
5256         (huge): Remove variable.
5257         (__floor): Do not force "inexact" exception.
5258         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5259         exception in comment.
5260         (huge): Remove variable.
5261         (__floorf): Do not force "inexact" exception.
5262         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5263         exception in comment.
5264         (huge): Remove variable.
5265         (__floorl): Do not force "inexact" exception.
5267         [BZ #15479]
5268         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5269         exception in comment.
5270         (huge): Remove variable.
5271         (__ceil): Do not force "inexact" exception.
5272         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5273         "inexact" exception in comment.
5274         (huge): Remove variable.
5275         (__ceil): Do not force "inexact" exception.
5276         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5277         (__ceilf): Do not force "inexact" exception.
5278         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5279         exception in comment.
5280         (huge): Remove variable.
5281         (__ceill): Do not force "inexact" exception.
5283 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5285         * config.h.in (BIND_NOW): New.
5286         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5287         * configure: Regenerated.
5288         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5289         indirect branch via the GOT slot.
5291 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5293         [BZ #19765]
5294         * sysdeps/s390/mempcpy.S: New File.
5295         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5296         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5297         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5298         Add mempcpy variants.
5299         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5300         (memcpy): Adjust to be usable from mempcpy entry point.
5301         (__memcpy_mvcle): Likewise.
5302         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5303         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5304         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5305         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5306         (__memcpy_z10): Likewise.
5307         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5309 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5311         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5312         Remove __GI_ symbol.
5313         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5314         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5315         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5316         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5317         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5318         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5320 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5322         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5323         Use cghi instead of chi to compare 64bit value.
5325 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5327         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5328         Jump to 1MB check before executing mvc-loop.
5330 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5332         [BZ #6527]
5333         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5334         unconditionally.
5335         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5337 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5339         * stdlib/tst-strtod6.c (do_test): Use new type generic
5340         invocation of the test function.
5341         (test): Refactor into ...
5342         (TEST_STRTOD): New macro base function.
5344 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5346         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5347         (TEST_STRTOD): New macro.
5348         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5350 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5352         * stdlib/tst-strtod6.c (do_test): Use new type generic
5353         invocation of the test function.
5354         (test): Refactor into ...
5355         (TEST_STRTOD): New macro base function.
5357 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5359         CVE-2016-4429
5360         [BZ #20112]
5361         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5362         payload.
5364 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5366         [BZ #20111]
5367         * bits/sockaddr.h (_SS_SIZE): Define.
5368         * bits/socket.h (_SS_SIZE): Remove.
5369         (_SS_PADSIZE): Adjust to account for all padding.
5370         (struct sockaddr_storage): Update comment.  Avoid implicit
5371         padding.
5372         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5373         (_SS_PADSIZE): Adjust to account for all padding.
5374         (struct sockaddr_storage): Update comment.  Avoid implicit
5375         padding.
5376         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5377         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5378         (_SS_PADSIZE): Adjust to account for all padding.
5379         (struct sockaddr_storage): Update comment.  Avoid implicit
5380         padding.
5381         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5382         __SS_SIZE is 126 in this version.
5383         * inet/tst-sockaddr.c: New file.
5384         * inet/Makefile (tests): Add tst-sockaddr.c
5385         (tst-sockaddr.c): Compile with non-strict aliasing.
5387 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5389         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5390         [XPG3 || XPG4].
5391         (NL_ARGMAX): Also expect for [XPG3].
5392         (NL_LANGMAX): Likewise.
5393         (NL_MSGMAX): Likewise.
5394         (NL_NMAX): Likewise.
5395         (NL_SETMAX): Likewise.
5396         (NL_TEXTMAX): Likewise.
5397         (NZERO): Likewise.
5398         (TMP_MAX): Likewise.
5399         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5400         variable.
5402         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5403         (PF_MAX): Update value.
5404         (AF_KCM): New macro.
5405         (SOL_NETBEUI): Likewise.
5406         (SOL_LLC): Likewise.
5407         (SOL_DCCP): Likewise.
5408         (SOL_NETLINK): Likewise.
5409         (SOL_TIPC): Likewise.
5410         (SOL_RXRPC): Likewise.
5411         (SOL_PPPOL2TP): Likewise.
5412         (SOL_BLUETOOTH): Likewise.
5413         (SOL_PNPIPE): Likewise.
5414         (SOL_RDS): Likewise.
5415         (SOL_IUCV): Likewise.
5416         (SOL_CAIF): Likewise.
5417         (SOL_ALG): Likewise.
5418         (SOL_NFC): Likewise.
5419         (SOL_KCM): Likewise.
5420         (MSG_BATCH): New enum value and macro.
5422 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5424         [BZ #18185]
5425         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5426         sharing L2 cache to 2 for Knights Landing.
5428 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5430         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5431         (FTW_DP): Do not expect for [XPG3 || XPG4].
5432         (FTW_SL): Do not expect for [XPG3].
5433         (FTW_SLN): Likewise.
5434         (FTW_PHYS): Likewise.
5435         (FTW_MOUNT): Likewise.
5436         (FTW_DEPTH): Likewise.
5437         (FTW_CHDIR): Likewise.
5438         (nftw): Likewise.
5439         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5440         variable.
5442 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5444         * manual/errno.texi: Fix various typos & grammar errors.
5446 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5448         * manual/intro.texi: Fix duplicated typo.
5450 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5452         [BZ #13304]
5453         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5454         <float.h>, <math_private.h> and <stdlib.h>.
5455         (add_split): New function.
5456         (mul_split): Likewise.
5457         (ext_val): New typedef.
5458         (store_ext_val): New function.
5459         (mul_ext_val): New function.
5460         (compare): New function.
5461         (add_split_ext): New function.
5462         (__fmal): After checking for Inf, NaN and zero, compute result as
5463         an exact sum of scaled double values in round-to-nearest before
5464         adding those up and adjusting for other rounding modes.
5465         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5466         tests of fma.
5467         * math/auto-libm-test-out: Regenerated.
5469 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5471         [BZ #20119]
5472         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5473         processor level type mask for CPUID with EAX == 11.
5475 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5477         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5478         logical threads if the HTT bit is 0.
5479         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5480         (index_cpu_HTT): Likewise.
5481         (reg_HTT): Likewise.
5483 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5485         [BZ #20115]
5486         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5487         Remove alignments on jump targets.
5489 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5491         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5492         (getpwent): Likewise.
5493         (setpwent): Likewise.
5494         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5495         variable.
5497         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5498         (remque): Likewise.
5499         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5500         variable.
5502 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5504         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5505         not being tested.
5507 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5509         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5510         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5511         call.
5512         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5513         (__condvar_cleanup1): Likewise.
5515 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5517         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5518         New
5519         (__pthread_unwind): Renamed to ...
5520         (PTHREAD_UNWIND): This.
5521         (__pthread_enable_asynccancel): Replace
5522         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5524 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5526         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5527         (CLONE_NEWCGROUP): New macro.
5529         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5530         (Q_GETNEXTQUOTA): New macro.
5532 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5534         [BZ #19907]
5535         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5536         buffer updated by the previous run.
5537         * string/test-memcpy.c (do_one_test): Likewise.
5538         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5539         * string/test-memmove.c (do_one_test): Likewise.
5541 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5543         [BZ #20094]
5544         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5545         not [__USE_XOPEN].
5546         (unlockpt): Likewise.
5547         (ptsname): Likewise.
5548         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5549         variable.
5551         [BZ #20076]
5552         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5553         instead of [__USE_UNIX98].
5554         (S_ISSOCK): Likewise.
5555         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5556         variable.
5558         [BZ #20074]
5559         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5560         [__USE_POSIX].
5561         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5562         variable.
5564         [BZ #20051]
5565         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5566         (ttyslot): Do not declare.
5567         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5568         (ttyslot): New prototype.
5569         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5570         variable.
5571         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5573 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5575         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5577 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5579         Fix race condition in tst-mallocfork2, use fewer resources.
5580         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5581         to current process group.
5582         (signal_sender): Yield in the non-sleeping case.
5584 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5586         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5587         (ecvt): Likewise.
5588         (fcvt): Likewise.
5589         (gcvt): Likewise.
5590         (getsubopt): Likewise.
5591         (grantpt): Likewise.
5592         (initstate): Likewise.
5593         (l64a): Likewise.
5594         (mktemp): Likewise.
5595         (mkstemp): Likewise.
5596         (ptsname): Likewise.
5597         (random): Likewise.
5598         (realpath): Likewise.
5599         (setstate): Likewise.
5600         (srandom): Likewise.
5601         (ttyslot): Likewise.
5602         (unlockpt): Likewise.
5603         (valloc): Likewise.
5605         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5606         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5607         variable.
5609 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5611         [BZ #20072]
5612         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5613         init_cpu_features only if SHARED is defined.
5614         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5616 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5618         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5619         non-inclusive caches on Intel processors.
5621 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5623         * malloc/malloc.c (dumped_main_arena_start)
5624         (dumped_main_arena_end): New variables.
5625         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5626         (do_check_chunk): Skip dumped fake mmapped chunks.
5627         (munmap_chunk): Likewise.
5628         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5629         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5630         mmapped chunks.
5631         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5632         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5633         and dumped_main_arena_end to cover the dumped heap.
5635 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5637         * conform/data/time.h-data (getdate_err): Do not expect for
5638         [XPG3].
5639         (getdate): Likewise.
5640         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5641         variable.
5643         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5644         (F_ULOCK): Likewise.
5645         (F_TEST): Likewise.
5646         (F_TLOCK): Likewise.
5647         (useconds_t): Likewise.
5648         (intptr_t): Do not expect for [XPG3] or [XPG4].
5649         (brk): Do not expect for [XPG3]
5650         (fchown): Likewise.
5651         (fchdir): Likewise.
5652         (ftruncate): Likewise.
5653         (getdtablesize): Likewise.
5654         (gethostid): Likewise.
5655         (getpagesize): Likewise.
5656         (getpgid): Likewise.
5657         (getsid): Likewise.
5658         (getwd): Likewise.
5659         (lchown): Likewise.
5660         (lockf): Likewise.
5661         (readlink): Likewise.
5662         (sbrk): Likewise.
5663         (setpgrp): Likewise.
5664         (setregid): Likewise.
5665         (setreuid): Likewise.
5666         (symlink): Likewise.
5667         (sync): Likewise.
5668         (truncate): Likewise.
5669         (ualarm): Likewise.
5670         (usleep): Likewise.
5671         (vfork): Likewise.
5672         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5673         variable.
5675         [BZ #20054]
5676         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5677         not [__USE_UNIX98].
5678         * conform/data/unistd.h-data (gethostname): Do not expect for
5679         [XPG3].
5681         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5682         [!POSIX] (S_IFBLK): Likewise.
5683         [!POSIX] (S_IFCHR): Likewise.
5684         [!POSIX] (S_IFIFO): Likewise.
5685         [!POSIX] (S_IFREG): Likewise.
5686         [!POSIX] (S_IFDIR): Likewise.
5687         [!POSIX] (S_IFLNK): Likewise.
5688         [!POSIX] (S_IFSOCK): Likewise.
5689         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5690         variable.
5691         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5693 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5695         * sysdeps/aarch64/memset.S (__memset):
5696         Rewrite of optimized memset.
5698 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5700         [BZ #19703]
5701         Partially async-signal-safe fork for single-threaded processes.
5702         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5703         variable.  Do not acquire and reset/release malloc and libio locks
5704         in single-threaded processes.
5705         * malloc/tst-mallocfork2.c: New file.
5706         * malloc/Makefile (tests): Add it.
5708 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5710         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5711         argument.  Use scratch buffer instead of extend_alloca.
5712         (gethosts): Use scratch buffer instead of extend_alloca.
5713         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5714         extend_alloca.
5715         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5717 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5719         [BZ #20055]
5720         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5721         instead of [__USE_UNIX98].
5722         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5723         [__USE_UNIX98].
5724         * conform/data/termios.h-data (tcgetsid): Do not expect for
5725         [XPG3].
5726         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5727         variable.
5728         (test-xfail-XPG4/termios.h/conform): Likewise.
5730 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5732         Do not use mcheck in localedef.
5733         * locale/programs/localedef.c (turn_on_mcheck)
5734         (__malloc_initialize_hook): Remove.
5736 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5738         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5739         * sysdeps/s390/s390-64/Makefile: Likewise.
5741 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5743         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5744         Remove ifunc-defines.sym.
5745         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5746         Likewise.
5747         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5748         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5749         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5750         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5751         rtld-global-offsets.sym.
5752         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5753         * sysdeps/x86/cpu-features-offsets.sym: This.
5754         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5755         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5757 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5759         [BZ #20073]
5760         * io/sys/stat.h (fchmod): Declare for
5761         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5762         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5763         variable.
5765         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5766         [XPG3] (S_IFSOCK): Likewise.
5767         [XPG3] (S_ISVTX): Likewise.
5768         [XPG3] (S_ISLNK): Likewise.
5769         [XPG3] (S_ISSOCK): Likewise.
5770         [XPG3] (fchmod): Likewise.
5771         [XPG3] (lstat): Likewise.
5772         [XPG3] (mknod): Likewise.
5774         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5775         [XPG3].  Expect type long and XFAIL for [XPG4].
5776         (st_blocks): Likewise.
5778         [BZ #20044]
5779         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5780         (pthread_atfork): New prototype.
5781         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5782         variable.
5784         [BZ #20043]
5785         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5786         prototype.
5788 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5790         [BZ #20017]
5791         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5792         gmtime.
5794 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5796         [BZ #19994]
5797         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5798         flag in _res.options.
5800 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5802         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5803         [XPG3 || XPG4].
5804         (blksize_t): Likewise.
5805         (clockid_t): Likewise.
5806         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5807         variable.
5808         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5810 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5812         * sysdeps/unix/sysv/linux/s390/init-first.c:
5813         Add VDSO_SYMBOL(getcpu).
5814         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5815         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5816         Add VDSO_SYMBOL(getcpu).
5817         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5818         New define HAVE_GETCPU_VSYSCALL.
5819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5821 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5823         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5824         instead of <sysdeps/x86_64/cacheinfo.c>.
5825         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5826         * sysdeps/x86/cacheinfo.c: Here.
5828 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5830         * malloc/malloc-internal.h: Adjust header file guard.
5832 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5834         [BZ #19787]
5835         * inet/getnameinfo.c (check_sprintf_result): New function.
5836         (CHECKED_SNPRINTF): New macro.
5837         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5838         to the host buffer.
5839         (gni_host_local): Use checked_copy to copy the host name.
5840         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5841         (gni_serv_local): Use checked_copy to copy the service name.
5842         (getnameinfo): Remove unnecessary truncation of result buffers.
5844 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5846         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5847         in case of inet_ntop failure.
5849 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5851         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5852         avoid long lines.
5853         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5854         variables.
5855         (gni_host_inet, gni_host_local): Add comment.
5856         (gni_host): Add comment.  Use temporary to avoid long lines.
5858 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5860         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5861         registers specifiers where general purpose registers specifiers should
5862         have been used.
5864 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5866         [BZ #19779]
5867         CVE-2016-1234
5868         Avoid copying names of directory entries.
5869         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5870         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5871         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5872         (struct readdir_result): New type.
5873         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5874         (GL_READDIR): New macros.
5875         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5876         (convert_dirent, convert_dirent64): New functions.
5877         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5878         convert_dirent64.  Adjust references to the readdir result.
5879         * sysdeps/unix/sysv/linux/i386/glob64.c:
5880         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5881         * posix/bug-glob2.c (LONG_NAME): Define.
5882         (filesystem): Add LONG_NAME.
5883         (my_DIR): Increase the size of room_for_dirent.
5885 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5887         [BZ #20041]
5888         * misc/sys/select.h (__need_timespec): Only define if
5889         [__USE_XOPEN2K].
5890         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5891         variable.
5892         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5893         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5894         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5896 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5897             Segher Boessenkool  <segher@gcc.gnu.org>
5899         [BZ #20004]
5900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5901         (__novec_swapcontext): Add missing load.
5903 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5905         [BZ #20023]
5906         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5907         <time.h>.
5908         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5909         variable.
5910         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5912 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5915         flags CLONE_VM compare.
5917 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5919         [BZ #20031]
5920         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5921         completely empty.
5923 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5925         [BZ #19573]
5926         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5927         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5928         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5929         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5930         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5931         (hesiod_free_list): Mark as hidden.
5932         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5933         res_set, res_get.
5934         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5935         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5936         (hesiod_init): Remove obsolete res_ninit call.
5937         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5938         (hesiod_bind): Do not call init.
5939         (get_txt_records): Use res_mkquery, res_send instead of
5940         res_nmkquery, res_nsend.
5941         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5942         instead of _nss_hesiod_init.
5943         (_nss_hesiod_initgroups_dyn): Likewise.
5944         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5945         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5946         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5948 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5950         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5951         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5953 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5955         * hesiod/hesiod.h: Remove RCS keyword.
5956         * hesiod/hesiod_p.h: Likewise.
5958         * hesiod/hesiod.c: Likewise.
5960 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5962         [BZ #12450]
5963         * locale/iso-639.def: Add Samogitian/sgs.
5965 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5967         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5969         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5971 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5972             Carlos O'Donell  <carlos@redhat.com>
5974         [BZ #19072]
5975         * grp/Makefile (headers): Add grp-merge.h
5976         (routines): Add grp-merge.
5977         * grp/getgrgid_r.c: Include grp-merge.h.
5978         (DEEPCOPY_FN): Define.
5979         (MERGE_FN): Define.
5980         * grp/getgrname_r.c: Include grp-merge.h.
5981         (DEEPCOPY_FN): Define.
5982         (MERGE_FN): Define.
5983         * grp/grp-merge.c: New file.
5984         * grp/grp-merge.h: New file.
5985         * include/grp-merge.h: New file.
5986         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5987         __copy_grp@GLIBC_PRIVATE.
5988         * manual/nss.texi (Actions in the NSS configuration): Describe
5989         return, continue, and merge.
5990         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5991         (DEEPCOPY_FN): Define.
5992         (MERGE_FN): Define.
5993         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5994         (DEEPCOPY_FN): Define.
5995         (MERGE_FN): Define.
5996         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5997         [!MERGE_FN]: Define __merge_einval.
5998         (CHECK_MERGE): Define.
5999         (REENTRANT_NAME): Process merge if do_merge is true.
6000         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6001         (__nss_getent_r): Likewise.
6002         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6003         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6005 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6007         [BZ #20012]
6008         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6009         length to calculate the buffer to read.
6010         (fmemopen_write): Set the buffer position based on bytes written.
6011         (fmemopen_seek): Return EINVAL for invalid whence modes.
6013         [BZ #19957]
6014         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6015         tst-getpid2.
6016         (test): Add tst-clone2.
6017         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6018         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6019         pid/tid fields for CLONE_VM.
6020         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6021         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6022         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6023         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6024         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6025         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6026         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6027         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6029         Likewise.
6030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6031         Likewise.
6032         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6033         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6034         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6035         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6036         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6037         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6038         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6039         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6041 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6043         [BZ #19642]
6044         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6045         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6046         (gni_serv_local, gni_serv): New functions extracted from
6047         getnameinfo.
6048         (getnameinfo): Call gni_host and gni_serv to perform the
6049         processing.  Always free scratch buffer.
6051 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6053         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6054         remaining bytes in the dest string, with zeros.
6056 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6058         [BZ #20010]
6059         CVE-2016-3706
6060         * sysdeps/posix/getaddrinfo.c
6061         (convert_hostent_to_gaih_addrtuple): New function.
6062         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6063         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6064         AF_INET data.
6066 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6068         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6069         callback function gl_readdir.
6070         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6071         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6072         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6073         memcpy to copy the name.
6074         * manual/pattern.texi (Calling Glob): Document requirements for
6075         implementations of the gl_readdir callback function.
6076         * manual/examples/mkdirent.c: New example.
6077         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6078         per the manual guidance.
6079         * posix/tst-gnuglob.c (my_readdir): Likewise.
6081 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6083         [BZ #20014]
6084         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6085         not [__USE_POSIX].
6086         (getchar_unlocked): Likewise.
6087         (putc_unlocked): Likewise.
6088         (putchar_unlocked): Likewise.
6089         (flockfile): Likewise.
6090         (ftrylockfile): Likewise.
6091         (funlockfile): Likewise.
6092         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6093         variable.
6094         (test-xfail-XPG4/stdio.h/conform): Likewise.
6096         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6097         Expect constant.
6098         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6099         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6100         variable.
6101         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6102         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6104         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6105         [__USE_LARGEFILE64] (off64_t): Likewise.
6106         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6107         variable.
6109 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6111         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6113 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6115         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6116         * resolv/res_init.c: Likewise.
6117         * resolv/res_mkquery.c: Likewise.
6119 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6121         * resolv/res_init.c (isascii): Do not define.  Use definition in
6122         <ctype.h>.
6123         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6124         (LOG_AUTH): Remove.
6125         (SPRINTF): Remove, adjust caller.
6126         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6128 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6130         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6131         SUNSECURITY conditional.
6132         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6134 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6136         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6137         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6138         Remove BSD-related preprocessor conditionals.
6139         * conf/portability.h: Remove.
6141 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6143         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6144         * resolv/res_data.c: Likewise.
6146 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6148         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6149         * resolv/res_data.c: Remove code conditional on ultrix.
6151 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6153         * resolv/res_init.c (RFC1535): Do not define.  Remove
6154         RFC1535 preprocessor conditionals.
6155         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6156         because there configuration options which make the resolver
6157         behavior different.
6159 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6161         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6162         RESOLVSORT preprocessor conditionals.
6163         * resolv/nss_dns/dns-host.c: Likewise.
6164         * resolv/res_init.c: Likewise.
6166 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6168         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6169         is never defined.
6171 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6173         * inet/inet_lnaof.c: Remove SCSS keyword.
6174         * inet/inet_mkadr.c: Likewise.
6175         * inet/inet_net.c: Likewise.
6176         * inet/inet_netof.c: Likewise.
6177         * inet/rcmd.c: Likewise.
6178         * inet/rexec.c: Likewise.
6179         * inet/ruserpass.c: Likewise.
6181 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6183         * resolv/inet_addr.c: Remove _LIBC conditionals.
6184         * resolv/res_data.c: Likewise.
6185         * resolv/res_init.c: Likewise.
6186         * resolv/res_mkquery.c: Likewise.
6187         * resolv/res_libc.c: Update comment.
6188         * resolv/README: Update.
6190 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6192         * resolv/gethnamaddr.c: Remove SCSS keyword.
6193         * resolv/herror.c: Likewise.
6194         * resolv/inet_addr.c: Likewise.
6195         * resolv/inet_net_ntop.c: Likewise.
6196         * resolv/inet_net_pton.c: Likewise.
6197         * resolv/inet_neta.c: Likewise.
6198         * resolv/inet_ntop.c: Likewise.
6199         * resolv/inet_pton.c: Likewise.
6200         * resolv/ns_date.c: Remove RCS keyword.
6201         * resolv/ns_name.c: Likewise.
6202         * resolv/ns_netint.c: Likewise.
6203         * resolv/ns_parse.c: Likewise.
6204         * resolv/ns_print.c: Likewise.
6205         * resolv/ns_samedomain.c: Likewise.
6206         * resolv/ns_ttl.c: Likewise.
6207         * resolv/nsap_addr.c: Likewise.
6208         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6209         * resolv/res_data.c: Remove RCS keyword.
6210         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6211         * resolv/res_init.c: Likewise.
6212         * resolv/res_mkquery.c: Likewise.
6213         * resolv/res_query.c: Likewise.
6214         * resolv/res_send.c: Likewise.
6216 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6218         * conform/data/stdio.h-data (fdopen): Expect also for
6219         [XPG3 || XPG4].
6221         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6222         (fseeko): Likewise.
6223         (ftello): Likewise.
6224         (ftrylockfile): Likewise.
6225         (funlockfile): Likewise.
6226         (getc_unlocked): Likewise.
6227         (getchar_unlocked): Likewise.
6228         (putc_unlocked): Likewise.
6229         (putchar_unlocked): Likewise.
6231 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6233         [BZ #19868]
6234         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6235         DNS packet syntax checks (which were not needed before).  Skip
6236         over non-PTR records.
6238 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6240         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6241         definition.  Include <stddef.h> instead.
6243 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6245         [BZ #19831]
6246         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6247         function.
6248         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6249         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6251 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6253         [BZ #19862]
6254         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6255         (getanswer_r): Do not call syslog.
6256         (gaih_getanswer_slice): Likewise.
6257         * resolv/gethnamaddr.c (AskedForGot): Remove.
6258         (getanswer): Do not call syslog.
6259         (gethostbyaddr): Likewise.
6261 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6263         * conform/data/signal.h-data (union sigval): Expect also if
6264         [XOPEN2K].
6265         (struct sigevent): Likewise.
6266         (SIGEV_NONE): Likewise.
6267         (SIGEV_SIGNAL): Likewise.
6268         (SIGEV_THREAD): Likewise.
6269         (SIGRTMIN): Likewise.
6270         (SIGRTMAX): Likewise.
6271         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6272         variable.
6273         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6275 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6277         [BZ #19830]
6278         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6279         (gaih_getanswer_slice): Likewise.
6280         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6281         Also check for availability of RR metadata.
6283 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6285         [BZ #19825]
6286         * resolv/res_send.c (send_vc): Remove early *resplen2
6287         initialization.  Set *resplen2 on socket error.  Call
6288         close_and_return_error for other errors.
6290 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6292         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6293         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6294         (SCM_IUCV_TRGCLS): New define.
6296 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6298         [BZ #20005]
6299         * libio/fmemopen.c (fmemopen_write): Update internal position after
6300         write.
6301         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6302         * stdio-common/tst-fmemopen4.c: New file..
6304 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6306         [BZ #19996]
6307         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6308         not [__USE_XOPEN2K].
6309         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6310         variable.
6312         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6313         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6314         variable.
6316         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6317         [__USE_XOPEN2K8].
6318         [__USE_LARGEFILE64] (off64_t): Likewise.
6319         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6320         variable.
6322 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6324         [BZ #19989]
6325         * libio/stdio.h (cuserid): Do not declare if
6326         [__USE_XOPEN2K && !__USE_GNU].
6327         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6328         variable.
6330 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6332         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6333         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6335         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6336         ifunc'ed strcspn.
6337         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6338         [EALIGN]: Removed.
6339         [END]: Likewise
6340         [STRSPN]: Define instead of the above to control symbol name.
6341         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6342         New file.
6343         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6344         Likewise.
6345         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6346         Likewise.
6347         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6348         Likewise.
6349         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6350         [INITIAL_MASK]: New macro.
6351         [STRCSPN]: Likewise.
6352         [UPDATE_MASK]: Likewise.
6353         [USE_AS_STRCSPN]: Lisewise.
6355 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6357         [BZ #19931]
6358         * stdio-common/tst-vfprintf-width-prec.c: New file.
6359         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6360         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6361         (generated): Add mtrace-related files.
6362         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6363         (tst-%-mem.out): New pattern rule, replaces
6364         tst-printf-bz18872-mem.out.
6365         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6366         specifier, deallocate any previously allocated work buffer.
6368 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6370         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6371         Add nop before __startcontext, add explaining comments.
6373 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6375         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6376         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6377         completely different API.
6379         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6380         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6381         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6382         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6383         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6384         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6385         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6386         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6387         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6388         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6390 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6392         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6394 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6396         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6397         when it is the default of 0.
6399 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6401         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6402         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6403         (sysdep_routines): Add new strcasestr targets.
6404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6405         (__libc_ifunc_impl_list): Likewise.
6406         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6407         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6408         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6409         * sysdeps/powerpc/powerpc64/power8/Makefile:
6410         New file to add strcasestr-ppc64 to sysdep_routines.
6411         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6412         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6414 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6416         * benchtests/Makefile (wcsmbs-benchset): Include only for
6417         native builds and runs.
6418         (LOCALES): Likewise.
6419         (bench-build): Build timing-type here instead of the bench
6420         target.  Generate locale only for native builds.
6421         * benchtests/README: Add note for cross-building.
6423         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6425         * benchtests/README: Update README to include instructions on
6426         using bench-build.
6428         * Makefile.in (bench-build): New target.
6429         * Rules (PHONY): Add bench-build target.
6430         * benchtests/Makefile (bench): Depend on bench-build.
6431         (bench-build): New target.
6433 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6435         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6436         profil_reply_port.
6437         (profile_waiter): Do not initialize profil_reply_port.
6438         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6439         frequency instead of tick length in us.
6441 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6443         [BZ #18712]
6444         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6445         (__old_mempcpy_small): Likewise.
6446         (__old_strcpy_small): Likewise.
6447         (__old_stpcpy_small): Likewise.
6448         (__old_strpbrk_c2): Fix compat symbol name.
6449         (__old_strpbrk_c3): Likewise.
6450         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6451         (__mempcpy_small): Remove.
6452         (__strcpy_small): Remove.
6453         (__stpcpy_small): Remove.
6455 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6457         [BZ #19400]
6458         * locale/iso-639.def: Add the Talossan/tzl language.
6460 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6462         [BZ #16983]
6463         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6464         comment.  Add "ln" to strchr check on postal_fmt.
6466 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6468         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6469         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6470         tel_dom_fmt.
6472 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6474         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6475         (sysdep_routines): Added __strlen_power8.
6476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6477         __strlen_power8 entry.
6478         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6479         Implementation for POWER8.
6480         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6481         for __strlen_power8.
6482         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6483         Implementation for POWER8.
6485 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6487         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6489 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6491         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6492         Goldmont and Airmont processors.
6494 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6496         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6497         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6498         (__STRING2_SMALL_GET32): Remove.
6499         (memset): Remove.
6500         (__memset_1): Remove.
6501         (__memset_gc): Remove.
6502         (__mempcpy): Remove.
6503         (mempcpy): Remove.
6504         (__mempcpy_args): Remove.
6505         (strchr): Remove.
6506         (strcpy): Remove.
6507         (strcpy_args): Remove.
6508         (__stpcpy_args): Remove.
6509         (__strcmp_cc): Remove.
6510         (__strcmp_gc): Remove.
6511         (strstr): Remove.
6513 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6515         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6516         * nis/nis_call.c (nis_server_cache_add): Likewise.
6518 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6520         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6522 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6524         * malloc/arena.c (__malloc_fork_lock_parent)
6525         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6526         internal_function attribute.
6528 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6530         * stdio-common/printf_fp.c (__printf_fp_l):
6531         Rename ___printf_fp_l to __printf_fp_l and
6532         remove strong alias. Use libc_hidden_def instead
6533         of ldbl_hidden_def macro.
6535 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6537         Remove malloc hooks from fork handler.  They are no longer needed
6538         because malloc runs right before fork, and no malloc calls from
6539         other fork handlers are not possible anymore.
6540         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6541         declarations.
6542         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6543         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6544         (atfork_recursive_cntr): Remove.
6545         (__malloc_fork_lock_parent): Do not override malloc hooks and
6546         thread_arena.
6547         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6548         thread_arena.
6549         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6550         thread_arena instead of save_arena.
6552 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6554         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6555         (thread_atfork, thread_atfork_static): Remove.
6556         * sysdeps/mach/hurd/malloc-machine.h:
6557         (thread_atfork, thread_atfork_static): Remove.
6559 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6561         [BZ #19431]
6562         Run the malloc fork handler as late as possible to avoid deadlocks.
6563         * malloc/malloc-internal.h: New file.
6564         * malloc/malloc.c: Include it.
6565         * malloc/arena.c (ATFORK_MEM): Remove.
6566         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6567         Update comment.
6568         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6569         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6570         Remove outdated comment.
6571         (ptmalloc_init): Do not call thread_atfork.  Remove
6572         thread_atfork_static.
6573         * malloc/tst-malloc-fork-deadlock.c: New file.
6574         * Makefile (tests): Add tst-malloc-fork-deadlock.
6575         (tst-malloc-fork-deadlock): Link against libpthread.
6576         * manual/memory.texi (Aligned Memory Blocks): Update safety
6577         annotation comments.
6578         * sysdeps/nptl/fork.c (__libc_fork): Call
6579         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6580         __malloc_fork_unlock_child.
6581         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6583 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6585         [BZ #19613]
6586         Remove union wait.
6587         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6588         (w_stopsig, w_stopval): Remove.
6589         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6590         stat_loc argument.
6591         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6592         (__WAIT_STATUS_DEFN): Remove.
6593         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6594         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6595         (wait, wait3, wait4): Use int * for the stat_loc argument.
6596         * posix/wait.c (__wait): Likewise.
6597         * posix/wait3.c (__wait3): Likewise.
6598         * posix/wait4.c (__wait4): Likewise.
6599         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6600         (__WAIT_STATUS_DEFN): Remove.
6601         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6602         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6603         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6604         argument.
6605         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6606         * sysdeps/posix/wait3.c (__wait3): Likewise.
6607         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6608         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6609         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6610         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6611         stat_loc argument.
6612         * manual/process.texi (BSD Wait Functions): Remove union wait.
6614 2016-04-13  Andreas Schwab  <schwab@suse.de>
6616         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6617         (test-extras): Add tst-tlsalign-vars.
6618         * math/Makefile: Wrap long lines.
6619         (libm-vec-test-wrappers): Define.
6620         (test-extras): Add $(libm-vec-test-wrappers).
6621         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6622         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6623         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6624         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6625         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6626         (extra-test-objs): Add corresponding objects.
6628 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6630         [BZ #19928]
6631         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6632         New.
6633         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6634         times of shared cache size.
6635         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6636         (VMOVNT): New.
6637         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6638         (VMOVNT): Likewise.
6639         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6640         (VMOVNT): Likewise.
6641         (VMOVU): Changed to movups for smaller code sizes.
6642         (VMOVA): Changed to movaps for smaller code sizes.
6643         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6644         comments.
6645         (PREFETCH): New.
6646         (PREFETCH_SIZE): Likewise.
6647         (PREFETCHED_LOAD_SIZE): Likewise.
6648         (PREFETCH_ONE_SET): Likewise.
6649         Rewrite to use forward and backward loops, which move 4 vector
6650         registers at a time, to support overlapping addresses and use
6651         non temporal store if size is above the threshold and there is
6652         no overlap between destination and source.
6654 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6656         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6657         Include dl-vdso.
6658         * sysdeps/unix/sysv/linux/mips/Versions: Add
6659         __vdso_clock_gettime.
6660         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6661         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6662         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6663         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6664         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6665         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6666         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6667         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6668         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6670 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6672         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6673         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6674         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6675         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6676         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6677         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6680         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6681         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6682         syscalls generation.
6683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6684         [__NR_pwrite64] (__NR_write): Remove define.
6685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6686         [__NR_pwrite64] (__NR_write): Remove define.
6687         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6688         Remove define.
6689         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6690         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6691         Remove define.
6692         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6693         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6694         Linux implementation as base.
6695         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6697         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6698         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6699         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6700         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6703         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6704         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6705         syscall generation.
6706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6707         [__NR_pread64] (__NR_pread): Remove define.
6708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6709         [__NR_pread64] (__NR_pread): Likewise.
6710         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6711         define.
6712         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6713         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6714         Remove define.
6715         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6716         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6717         Linux implementation as base.
6718         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6719         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6720         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6722         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6723         definition.
6724         (__ALIGNMENT_COUNT): Likewise.
6725         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6726         (__ALIGNMENT_COUNT): Likewise.
6727         (SYSCALL_LL): New define.
6728         (SYSCALL_LL64): Likewise.
6729         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6730         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6731         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6732         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6734         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6735         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6736         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6737         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6738         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6739         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6741 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6743         [BZ #19865]
6744         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6745         original buffer before retry.
6747 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6749         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6750         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6751         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6752         GLRO(dl_auxv) list.
6753         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6754         including <ldsodefs.h>.
6755         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6757 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6759         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6760         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6761         $(CPPFLAGS).
6763 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6765         [BZ #17950]
6766         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6767         Add -mfpmath=387.
6769 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6771         * sysdeps/i386/configure.ac: Change == to = when calling test.
6772         * sysdeps/x86_64/configure.ac: Likewise.
6773         * sysdeps/i386/configure: Regenerated.
6774         * sysdeps/x86_64/configure: Likewise.
6776 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6778         [BZ #16137]
6779         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6780         * benchtests/bench-strcoll.c (input_files): Likewise.
6781         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6782         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6783         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6785 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6787         [BZ #19929]
6788         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6789         [__USE_XOPEN2K8 && !__USE_GNU].
6790         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6791         variable.
6793         [BZ #19925]
6794         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6795         define if [!__USE_MISC && __USE_XOPEN2K].
6796         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6797         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6798         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6799         Likewise.
6800         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6801         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6802         variable.
6803         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6805 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6807         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6808         (sysdep_routines): Add new strspn targets.
6809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6810         (__libc_ifunc_impl_list): Add strspn.
6811         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6812         New file.
6813         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6814         Likewise.
6815         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6816         Likewise.
6817         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6818         Likewise.
6820 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6822         * misc/hsearch_r.c: Include <limits.h>.
6824 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6826         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6828 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6830         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6831         (MEMCPY_SYMBOL): New.
6832         (MEMPCPY_SYMBOL): Likewise.
6833         (MEMMOVE_CHK_SYMBOL): Likewise.
6834         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6835         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6836         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6837         Provide alias for memcpy in libc.a and ld.so.
6839 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6841         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6842         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6843         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6844         Disabled fro now.
6845         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6846         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6848 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6850         * benchtests/Makefile (string-benchset): Add memcpy-large,
6851         memmove-large and memset-large.
6852         * benchtests/bench-memcpy-large.c: New file.
6853         * benchtests/bench-memmove-large.c: Likewise.
6854         * benchtests/bench-memmove-large.c: Likewise.
6855         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6857 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6859         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6860         32-bit displacement to avoid long nop between instructions.
6862 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6864         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6865         a comment on VMOVU and VMOVA.
6867 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6869         [BZ #19633]
6870         Use specified locale for number formatting in strfmon_l.
6871         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6872         (__nl_lookup_word): New inline functions.
6873         * include/printf.h (__print_fp_l): Declare.
6874         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6875         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6876         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6877         (___printf_fp): New function.
6878         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6879         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6880         * stdlib/tst-strfmon_l.c (do_test): New test.
6881         * stdlib/Makefile (tests): Add kt.
6882         (LOCALES): Build additional locales.
6883         (tst-strfmon_l.out): Require locales.
6885 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6887         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6888         if not in libc.
6889         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6890         Likewise.
6891         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6892         Likewise.
6893         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6894         Likewise.
6896 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6898         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6899         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6900         with unaligned_erms.
6901         (__memmove_erms): Skip if source == destination.
6902         (__memmove_unaligned_erms): Don't check source == destination
6903         first.
6905 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6907         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6908         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6910 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6912         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6913         * string/strspn.c (strspn): Likewise.
6915 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6917         * benchtests/bench-memset.c (do_test): Support 64-byte
6918         alignment.
6919         (test_main): Test 64-byte alignment.
6921 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6923         * benchtests/bench-memmove.c (test_main): Test 64-byte
6924         alignment.
6926 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6928         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6930 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6932         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6933         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6934         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6936         * string/strpbrk.c (strpbrk): Rewrite function.
6937         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6938         (__strpbrk_c2): Likewise.
6939         (__strpbrk_c3): Likewise.
6940         * string/string-inlines.c
6941         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6942         Likewise.
6943         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6944         Likewise.
6946         * string/strspn.c (strcspn): Rewrite function.
6947         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6948         (__strspn_c1): Remove inline function.
6949         (__strspn_c2): Likewise.
6950         (__strspn_c3): Likewise.
6951         * string/string-inlines.c
6952         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6953         compatibility symbol.
6954         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6955         Likewise.
6956         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6957         Likewise.
6958         * string/string-inlines.c: Include generic version.
6960 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6961             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6963         * string/Version (libc): Add GLIBC_2.24.
6964         * string/strcspn.c (strcspn): Rewrite function.
6965         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6966         (__strcspn_c1): Remove inline function.
6967         (__strcspn_c2): Likewise.
6968         (__strcspn_c3): Likewise.
6969         * string/string-inline.c
6970         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6971         compatibility symbol.
6972         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6973         Likewise.
6974         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6975         Likewise.
6976         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6978 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6980         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6981         Use ahi instead of aghi to adjust stack pointer.
6983 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6985         [BZ #19853]
6986         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6987         TEST to take significant digits as second parameter.
6988         [TEST]: Redefine in terms of TEST_N taking 30
6989         significant digits.
6990         (do_test): Add test case to demonstrate precision
6991         failure in the ldbl-128ibm printf.
6992         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6993         (__mpn_extract_long_double): Carry 7 extra intermediate
6994         bits of precision to aide computing difference when
6995         signs differ.
6997 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6999         [BZ #19881]
7000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7001         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7002         memset-avx512-unaligned-erms.
7003         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7004         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7005         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7006         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7007         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7008         __memset_sse2_unaligned_erms, __memset_erms,
7009         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7010         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7011         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7012         file.
7013         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7014         Likewise.
7015         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7016         Likewise.
7017         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7018         Likewise.
7020 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7022         [BZ #19776]
7023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7024         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7025         memmove-avx512-unaligned-erms.
7026         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7027         (__libc_ifunc_impl_list): Test
7028         __memmove_chk_avx512_unaligned_2,
7029         __memmove_chk_avx512_unaligned_erms,
7030         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7031         __memmove_chk_sse2_unaligned_2,
7032         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7033         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7034         __memmove_avx512_unaligned_erms, __memmove_erms,
7035         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7036         __memcpy_chk_avx512_unaligned_2,
7037         __memcpy_chk_avx512_unaligned_erms,
7038         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7039         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7040         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7041         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7042         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7043         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7044         __mempcpy_chk_avx512_unaligned_erms,
7045         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7046         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7047         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7048         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7049         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7050         __mempcpy_erms.
7051         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7052         file.
7053         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7054         Likwise.
7055         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7056         Likwise.
7057         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7058         Likwise.
7060 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7062         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7063         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7064         (La_s390_64_regs): Likewise.
7065         (La_s390_32_retval): Append vector register lrv_v24.
7066         (La_s390_64_retval): Likeweise.
7067         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7068         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7069         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7070         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7072 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7074         [BZ #19916]
7075         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7076         to create a non-vector/vector version for _dl_runtime_resolve and
7077         _dl_runtime_profile. Move implementation to ...
7078         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7079         (_dl_runtime_resolve) Save and restore fpr/vrs.
7080         (_dl_runtime_profile) Save and restore vrs and fix some issues
7081         if _dl_call_pltexit is called.
7082         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7083         Choose the correct resolver function if running on a machine with vx.
7084         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7085         to create a non-vector/vector version for _dl_runtime_resolve and
7086         _dl_runtime_profile. Move implementation to ...
7087         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7088         (_dl_runtime_resolve) Save and restore fpr/vrs.
7089         (_dl_runtime_profile) Save and restore vrs and fix some issues
7090         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7091         Choose the correct resolver function if running on a machine with vx.
7093 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7095         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7097 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7099         [BZ #19509]
7100         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7101         skip_map != NULL.
7102         * elf/tst-dlsym-error.c: New file.
7103         * elf/Makefile (tests): Add tst-dlsym-error.
7104         (tst-dlsym-error): Link against libdl.
7106 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7108         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7109         (__ASSUME_FUTIMESAT): Remove macro.
7110         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7112 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7114         [BZ #19879]
7115         CVE-2016-3075
7116         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7117         copy name.
7119 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7121         [BZ #19837]
7122         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7123         error if parse_line fails.
7125 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7127         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7128         (index_cpu_ERMS): Likewise.
7129         (reg_ERMS): Likewise.
7131 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7133         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7134         PER_LINUX_FDPIC): Add.
7136 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7139         memcpy-avx512-no-vzeroupper.
7140         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7141         to ...
7142         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7143         (MEMCPY): Don't define.
7144         (MEMCPY_CHK): Likewise.
7145         (MEMPCPY): Likewise.
7146         (MEMPCPY_CHK): Likewise.
7147         (MEMPCPY_CHK): Renamed to ...
7148         (__mempcpy_chk_avx512_no_vzeroupper): This.
7149         (MEMPCPY_CHK): Renamed to ...
7150         (__mempcpy_chk_avx512_no_vzeroupper): This.
7151         (MEMCPY_CHK): Renamed to ...
7152         (__memmove_chk_avx512_no_vzeroupper): This.
7153         (MEMCPY): Renamed to ...
7154         (__memmove_avx512_no_vzeroupper): This.
7155         (__memcpy_avx512_no_vzeroupper): New alias.
7156         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7158 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7160         [BZ #18858]
7161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7162         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7163         and mempcpy-avx512-no-vzeroupper.
7164         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7165         New.
7166         (MEMPCPY): Likewise.
7167         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7168         (MEMPCPY_CHK): New.
7169         (MEMPCPY): Likewise.
7170         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7171         (MEMPCPY): Likewise.
7172         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7173         (MEMPCPY): Likewise.
7174         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7175         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7176         Likewise.
7177         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7178         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7180 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7181              Amit Pawar  <Amit.Pawar@amd.com>
7183         [BZ #19583]
7184         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7185         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7186         processors.  Set Fast_Copy_Backward for AMD Excavator
7187         processors.
7188         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7189         New.
7190         (index_arch_Fast_Unaligned_Copy): Likewise.
7191         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7192         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7194 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7196         [BZ #19791]
7197         * resolv/res_send.c (close_and_return_error): New function.
7198         (send_dg): Initialize *resplen2 after reopen failure.  Call
7199         close_and_return_error for error returns.  On error paths without
7200         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7201         successful return.
7203 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7205         [BZ# 19860]
7206         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7207         zero if the compiler does not provide the AVX512F bit.
7209 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7211         [BZ #19848]
7212         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7213         from 8 to 4.
7214         (__ieee754_powl): Compare integer exponent against 4 not 8.
7215         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7216         from 8 to 4.
7217         (__ieee754_powl): Compare integer exponent against 4 not 8.
7218         * math/auto-libm-test-in: Add more tests of pow.
7219         * math/auto-libm-test-out: Regenerated.
7220         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7223 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7225         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7226         Make code unconditional.
7227         [!__NR_utimensat]: Remove conditional code.
7228         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7229         Make code unconditional.
7230         [!__NR_utimensat]: Remove conditional code.
7231         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7232         Make code unconditional.
7233         [!__NR_utimensat]: Remove conditional code.
7235 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7237         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7238         Make code unconditional.
7240 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7242         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7243         call-clobbered %eax on retry path.
7244         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7246 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7248         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7249         Don't set %rcx twice before "rep movsb".
7251 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7253         [BZ #19583]
7254         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7255         inline.  Check family before setting family, model and
7256         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7257         bits here.
7258         (init_cpu_features): Replace HAS_CPU_FEATURE and
7259         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7260         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7261         for Intel processors with usable AVX2.  Call get_common_indeces
7262         for other processors with family == NULL.
7263         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7264         (CPU_FEATURES_ARCH_P): Likewise.
7265         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7266         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7268 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7270         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7271         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7272         $(shared-thread-library) instead of hardcoding the path to libpthread.
7274 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7276         * sysdeps/unix/sysv/linux/kernel-features.h
7277         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7278         * sysdeps/unix/sysv/linux/getdents.c
7279         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7280         [!have_no_getdents64_defined]: Likewise.
7281         (__GETDENTS): Remove __have_no_getdents64 conditional.
7283 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7285         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7286         Remove macro.
7287         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7288         <kernel-features.h>.
7289         (signalfd) [__NR_signalfd4]: Make code unconditional.
7290         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7292 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7294         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7295         style.
7297 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7299         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7300         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7301         __pthread_unwind.
7302         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7303         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7304         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7305         (__condvar_cleanup1): Likewise.
7307 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7309         [BZ #19822]
7310         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7311         move it to the final $@ location.
7313 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7315         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7316         access where posix_spawn success and pid argument is null.
7317         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7318         success case.
7320 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7322         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7324         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7326         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7327         and __fcntl.
7328         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7329         __fcntl only.
7330         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7331         adding attribute_hidden to __open and __fcntl.
7333         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7334         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7335         depend on libc-modules.h,
7336         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7338 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7340         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7341         Remove macro.
7342         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7343         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7344         entry.
7346         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7347         Remove macro.
7348         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7349         include <kernel-features.h>.
7350         [!__ASSUME_FALLOCATE]: Remove conditional code.
7351         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7353 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7355         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7356         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7357         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7358         (_ZGVdN4v_cos_avx2): Likewise.
7359         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7360         (_ZGVdN4v_cos): Likewise.
7361         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7362         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7363         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7364         (_ZGVdN4v_exp_avx2): Likewise.
7365         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7366         (_ZGVdN4v_exp): Likewise.
7367         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7368         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7369         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7370         (_ZGVdN4v_log_avx2): Likewise.
7371         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7372         (_ZGVdN4v_log): Likewise.
7373         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7374         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7375         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7376         (_ZGVdN4vv_pow_avx2): Likewise.
7377         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7378         (_ZGVdN4vv_pow): Likewise.
7379         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7380         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7381         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7382         (_ZGVdN4v_sin_avx2): Likewise.
7383         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7384         (_ZGVdN4v_sin): Likewise.
7385         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7386         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7387         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7388         (_ZGVdN4vvv_sincos_avx2): Likewise.
7389         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7390         (_ZGVdN4vvv_sincos): Likewise.
7391         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7392         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7393         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7394         (_ZGVbN4v_cosf_sse4): Likewise.
7395         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7396         (_ZGVdN8v_cosf_avx2): Likewise.
7397         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7398         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7399         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7400         (_ZGVbN4v_expf_sse4): Likewise.
7401         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7402         (_ZGVdN8v_expf_avx2): Likewise.
7403         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7404         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7405         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7406         (_ZGVbN4v_logf_sse4): Likewise.
7407         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7408         (_ZGVdN8v_logf_avx2): Likewise.
7409         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7410         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7411         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7412         (_ZGVbN4vv_powf_sse4): Likewise.
7413         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7414         (_ZGVdN8vv_powf_avx2): Likewise.
7415         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7416         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7417         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7418         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7419         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7420         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7421         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7422         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7423         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7424         (_ZGVbN4v_sinf_sse4): Likewise.
7425         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7426         (_ZGVdN8v_sinf_avx2): Likewise.
7427         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7428         Use JUMPTARGET to call callee.
7429         (WRAPPER_IMPL_SSE2_ff): Likewise.
7430         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7431         (WRAPPER_IMPL_AVX): Likewise.
7432         (WRAPPER_IMPL_AVX_ff): Likewise.
7433         (WRAPPER_IMPL_AVX_fFF): Likewise.
7434         (WRAPPER_IMPL_AVX512): Likewise.
7435         (WRAPPER_IMPL_AVX512_ff): Likewise.
7436         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7437         Likewise.
7438         (WRAPPER_IMPL_SSE2_ff): Likewise.
7439         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7440         (WRAPPER_IMPL_AVX): Likewise.
7441         (WRAPPER_IMPL_AVX_ff): Likewise.
7442         (WRAPPER_IMPL_AVX_fFF): Likewise.
7443         (WRAPPER_IMPL_AVX512): Likewise.
7444         (WRAPPER_IMPL_AVX512_ff): Likewise.
7445         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7447 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7449         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7450         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7451         qualifier.
7452         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7453         internal_function qualifiers.
7455 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7457         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7458         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7459         * math/atest-exp.c (exp_mpn): Mark chk unused.
7460         * math/atest-exp2.c (exp_mpn): Likwise.
7461         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7462         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7464 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7466         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7467         Remove macro.
7468         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7469         <kernel-features.h>.
7470         [__NR_ppoll]: Make code unconditional.
7471         [!__ASSUME_PPOLL]: Remove conditional code.
7473         * sysdeps/unix/sysv/linux/kernel-features.h
7474         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7475         (__ASSUME_ACCEPT4): Likewise.
7476         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7477         Define.
7478         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7479         Likewise.
7480         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7481         Likewise.
7482         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7483         Likewise.
7484         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7485         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7486         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7487         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7488         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7489         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7490         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7491         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7492         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7493         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7494         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7495         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7496         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7497         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7498         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7499         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7500         Likewise.
7501         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7502         Likewise.
7503         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7504         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7505         0x040300].
7506         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7507         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7508         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7509         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7510         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7511         0x030300].
7512         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7513         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7514         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7515         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7516         0x040300].
7517         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7518         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7519         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7520         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7521         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7522         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7523         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7524         0x030300].
7525         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7526         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7527         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7528         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7529         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7530         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7531         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7532         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7533         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7534         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7535         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7536         0x040300].
7537         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7538         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7539         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7540         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7541         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7542         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7543         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7544         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7545         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7546         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7547         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7548         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7549         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7550         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7551         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7552         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7553         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7554         Likewise.
7555         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7556         Likewise.
7558 2016-03-15  Andreas Schwab  <schwab@suse.de>
7560         [BZ #19257]
7561         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7562         statp->_u._ext.nscount as loop count.
7564 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7566         * math/test-signgam-finite-c99.c: Also #undef
7567         __LIBC_INTERNAL_MATH_INLINES.
7568         * math/test-signgam-main.c: Likewise.
7570 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7572         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7573         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7574         (MADV_FREE): Likewise.
7575         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7576         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7577         EPOLLEXCLUSIVE.
7579 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7581         * timezone/README: Remove mention of checktab.awk. Mention wiki
7582         SharedSourceFiles.
7584 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7586         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7587         WUNTRACED.
7589 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7591         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7592         order to match the type of p when calling atomic_exchange_acq().
7594 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7596         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7597         cfi_offset calls.
7598         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7599         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7600         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7601         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7602         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7604 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7606         * timezone/checktab.awk: Removed.
7608 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7610         * manual/math.texi (Errors in Math Functions): Document relaxed
7611         accuracy goals for IBM long double.
7612         * math/libm-test.inc (test_exceptions): Always allow spurious
7613         "underflow" and "inexact" exceptions for IBM long double.
7615 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7617         [BZ #19762]
7618         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7619         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7620         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7621         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7622         (bit_arch_*): This for feature array.
7623         (bit_*): Renamed to ...
7624         (bit_cpu_*): This for cpu array.
7625         (index_*): Renamed to ...
7626         (index_arch_*): This for feature array.
7627         (index_*): Renamed to ...
7628         (index_cpu_*): This for cpu array.
7629         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7630         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7631         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7632         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7633         bit_##name with index_cpu_##name and bit_cpu_##name.
7634         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7635         bit_##name with index_arch_##name and bit_arch_##name.
7637 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7639         [BZ #19792]
7640         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7641         Terminate FDE before return label.
7643 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7645         [BZ #19790]
7646         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7647         (rintl): Define as macro.
7648         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7649         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7650         of fesetround.  Ensure results are evaluated before end of scope.
7651         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7652         USE_AS_NEARBYINTL and include s_rintl.c.
7653         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7654         Disable exception traps in new environment.
7655         (libc_feholdsetround_ppc_ctx): Likewise.
7657 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7659         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7660         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7661         (tst_audit10_aux) [__AVX512F__]: ... here.
7663 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7665         * include/sys/auxv.h: New file.
7667 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7669         [BZ #19759]
7670         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7672 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7674         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7675         operand modifier.
7676         (feclearexcept): Likewise.
7678 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7680         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7681         to reflect the entire 32-bit HWCAP.
7682         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7683         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7685 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7687         [BZ #19783]
7688         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7689         $(test-via-rtld-prefix).
7690         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7692 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7694         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7695         union wait.  Report any non-zero exit status as error.
7697 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7699         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7700         configured with --enable-hardcoded-path-in-tests.
7702 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7704         [BZ #19677]
7705         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7706         (__ieee754_remainderl): Put zero low parts in canonical form.
7707         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7708         file.  Based on
7709         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7710         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7711         with wrapper round test-fmodrem-ldbl-128ibm.c.
7712         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7713         file.
7714         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7715         Likewise.
7716         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7717         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7719 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7721         [BZ #19610]
7722         * elf/ldconfig.c (opt_link): Update comment.
7723         (options): Update help string for option -X.
7724         (search_dir): Unlink stale symbolic link only if updating symbolic
7725         links.
7726         * elf/tst-ldconfig-X.sh: New file.
7727         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7728         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7730 2016-03-07  Andreas Schwab  <schwab@suse.de>
7732         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7733         needed arguments.
7735 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7737         [BZ #15333]
7738         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7739         to lstat64.
7741 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7743         * libio/filedoalloc.c (isatty): Remove.
7744         (local_isatty): Add comment.  Call __isatty directly.
7745         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7746         * libio/wfiledoalloc.c (isatty): Remove.
7747         (_IO_wfile_doallocate): Update comment.
7749 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7751         [BZ #19269]
7752         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7753         tst-audit4-aux.o.
7754         (tst-audit10): Depend on tst-audit10-aux.o.
7755         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7756         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7757         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7758         instead of inline AVX code.
7759         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7760         instead of inline AVX512 code.
7761         * sysdeps/x86_64/tst-audit4-aux.c: New file
7762         * sysdeps/x86_64/tst-audit10-aux.c: New file
7764         [BZ #19648]
7765         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7767 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7769         [BZ #14750]
7770         [BZ #10354]
7771         [BZ #18433]
7772         * include/sched.h (__clone): Add hidden prototype.
7773         (__clone2): Likewise.
7774         * include/unistd.h (__dup): Likewise.
7775         * posix/Makefile (tests): Add tst-spawn2.
7776         * posix/tst-spawn2.c: New file.
7777         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7778         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7779         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7780         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7781         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7782         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7783         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7784         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7785         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7786         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7787         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7789         Likewise.
7790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7791         Likewise.
7792         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7793         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7794         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7795         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7796         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7797         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7798         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7799         * sysdeps/unix/sysv/linux/nptl-signals.h
7800         (____nptl_is_internal_signal): New function.
7801         * sysdeps/unix/sysv/linux/spawni.c: New file.
7803         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7804         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7805         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7806         * posix/tst-execvp2.c (do_test): Likewise.
7807         * posix/tst-execvp3.c (do_test): Likewise.
7808         * posix/tst-execvp4.c (do_test): Likewise.
7809         * posix/tst-execvpe1.c: New file.
7810         * posix/tst-execvpe2.c: Likewise.
7811         * posix/tst-execvpe3.c: Likewise.
7812         * posix/tst-execvpe4.c: Likewise.
7813         * posix/tst-execvpe5.c: Likewise.
7814         * posix/tst-execvpe6.c: Likewise.
7816         [BZ #19534]
7817         * posix/execl.c (execl): Remove dynamic memory allocation.
7818         * posix/execle.c (execle): Likewise.
7819         * posix/execlp.c (execlp): Likewise.
7821 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7823         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7824         Replace .text with .text.avx512.
7825         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7826         Likewise.
7828 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7830         * sysdeps/generic/libnsl.abilist: New file.
7831         * sysdeps/generic/libutil.abilist: New file.
7833 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7835         [BZ #19762]
7836         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7837         HAS_ARCH_FEATURE with Fast_Rep_String.
7838         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7839         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7840         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7841         Likewise.
7842         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7843         Likewise.
7844         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7845         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7846         Likewise.
7847         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7848         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7849         Likewise.
7851 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7853         [BZ #19745]
7854         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7855         with *%rax in call.
7857 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7859         [BZ #19745]
7860         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7861         with *__libc_start_main@GOTPCREL(%rip) in call.
7863 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7865         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7866         inside conditional for nonempty $(CXX).
7868         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7869         nonempty.
7871         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7872         to test for empty $(CXX) rather than $(CXX) of "no".
7874 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7876         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7878 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7879             H.J. Lu  <hongjiu.lu@intel.com>
7881         [BZ #18880]
7882         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7883         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7884         enable __memcpy_ssse3_back.
7886 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7888         [BZ #19758]
7889         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7890         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7892 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7894         [BZ #19490]
7895         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7896         (__fentry__): Likewise.
7898 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7900         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7901         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7903 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7905         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7906         __mcount_internal directly.
7907         (C_LABEL(__fentry__)): Likewise.
7908         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7909         directly.
7911 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7913         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7914         (__start_context): Call __setcontext directly.
7916 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7918         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7919         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7920         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7921         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7922         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7923         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7924         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7925         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7926         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7927         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7928         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7929         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7930         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7931         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7932         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7933         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7934         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7935         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7936         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7937         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7938         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7939         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7940         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7941         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7942         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7943         Remove conditional code.
7944         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7945         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7946         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7947         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7948         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7949         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7950         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7951         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7952         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7953         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7954         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7955         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7957 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7959         * NEWS (2.23): Fix typo in bug 19048 text.
7961 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7963         [BZ #14259]
7964         * Makeconfig: Rename msgcatdir to localedir.
7965         Rename inst_msgcatdir to inst_localedir.
7966         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7967         * config.make.in: Add localedir.
7968         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7969         (ldd-rewrite): Likewise.
7970         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7971         (install-others): Use inst_localedir.
7972         (CPPFLAGS): Use localedir.
7973         * locale/Makefile (locale-CPPFLAGS): Likewise.
7974         * po/Makefile (mo-installed): Use inst_localedir.
7976         [BZ #19575]
7977         * localedata/charmaps/GB18030: Update comments regarding PAU to
7978         non-PUA mappings.
7980 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7982         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7983         test for header.
7984         * sysdeps/unix/sysv/linux/configure: Regenerated.
7985         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7986         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7987         Remove conditional code.
7988         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7990         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7991         Define to 3.2.0.
7992         (arch_minimum_kernel): Likewise.
7993         * sysdeps/unix/sysv/linux/configure: Regenerated.
7994         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7995         Define to 2.6.32.
7996         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7997         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7998         (arch_minimum_kernel): Define to 2.6.32.
7999         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8000         * README: Document Linux 3.2 requirement.
8001         * manual/install.texi (Linux): Document Linux 3.2 headers
8002         requirement.
8003         * INSTALL: Regenerated.
8005 2016-02-24  Andreas Schwab  <schwab@suse.de>
8007         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8008         if !NO_LONG_DOUBLE.
8010 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8012         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8013         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8015 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8017         [BZ #19512]
8018         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8020 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8022         * posix/tst-dir.c: Include libc-internal.h.
8024 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8026         [BZ #19056]
8027         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8028         * manual/filesys.texi (Reading/Closing Directory): Mention
8029         deprecaion.
8030         * posix/tst-dir.c (main): Disable deprecation warning in test.
8032 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8034         [BZ #19679]
8035         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8036         Renamed to ...
8037         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8038         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8039         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8040         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8041         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8042         * sysdeps/x86_64/dl-trampoline.h
8043         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8044         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8046 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8048         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8050 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8052         * elf/elf.h (R_386_GOT32X): New.
8053         (R_386_NUM): Update.
8054         (R_X86_64_GOTPCRELX: New.
8055         (R_X86_64_REX_GOTPCRELX): New.
8056         (R_X86_64_NUM): Update.
8058 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8060         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8062 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8064         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8065         assign attr->stackaddr to it, and adjust it down when
8066         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8067         [_STACK_GROWS_UP]: Delete assert.
8068         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8069         Implement stack grows up logic.
8070         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8071         stack grows up logic.
8073 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8075         * NEWS: Update with 2.24 template.
8077 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8079         [BZ #19678]
8080         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8081         Ensure +0.0 is returned when taking the next value below the least
8082         positive value.
8084 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8086         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8087         available.  Do not define NO_THREADS.
8088         * malloc/malloc.c: Do not check NO_THREADS.
8089         * malloc/arena.c: Likewise.
8091 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8093         * malloc/malloc.c (__libc_mallinfo): Update comment.
8094         (struct malloc_par): Remove max_total_mem member, it was always 0.
8095         (int_mallinfo): Store 0 into usmblks (no functional change).
8096         * malloc/hooks.c (struct malloc_state): Document that
8097         max_total_mem is always 0.
8098         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8099         always 0.
8100         * manual/memory.texi (Statistics of Malloc): Likewise.
8102 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8104         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8105         * malloc/arena.c (arena_max): Remove.
8106         (heap_trim, _int_new_arena): Do not update arena_max.
8108 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8110         * resolv/res_init.c (res_ninit): Update comment.
8112 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8114         [BZ #19505]
8115         * posix/spawn_int.h: Add headers and include guard.
8116         (__spawn_valid_fd): New function.
8117         * posix/spawn_faction_addopen.c
8118         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8119         * posix/spawn_faction_addclose.c
8120         (posix_spawn_file_actions_addclose): Likewise.
8121         * posix/spawn_faction_adddup2.c
8122         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8123         second file descriptor.
8124         * posix/spawn_valid_fd.c: New file.
8125         * posix/tst-posix_spawn-fd.c: New file.
8126         * posix/Makefile (routines): Add spawn_valid_fd.
8127         (tests): Add tst-posix_spawn-fd.
8129 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8131         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8132         (do_test): Limit the number of arenas, so that we can use fewer
8133         outer threads.  Limit timeout to 3 seconds, in preparation for a
8134         larger TIMEOUT value.
8136 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8138         [BZ #19674]
8139         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8140         sign in overflowing and underflowing results when overflow or
8141         underflow is detected early.  Include sign in result before rather
8142         than after scaling.
8144         [BZ #19603]
8145         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8146         (__ieee754_remainderl): Adjust sign of integer version of low part
8147         when taking absolute value of high part.
8148         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8149         * math/libm-test.inc (remainder_test_data): Add another test.
8150         (remquo_test_data): Likewise.
8152 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8154         [BZ #19602]
8155         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8156         equal high parts and both low parts zero specially.
8157         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8158         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8159         Add test-fmodl-ldbl-128ibm.
8161         [BZ #19595]
8162         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8163         common logic for all cases of shifting subnormal results.  Do not
8164         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8165         exponent to ldbl_insert_mantissa in subnormal case.
8167         [BZ #19594]
8168         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8169         on high and low parts then adjust result and use
8170         ldbl_canonicalize_int if needed.
8172         [BZ #19593]
8173         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8174         on high part and __floor or __ceil on low part then use
8175         ldbl_canonicalize_int if needed.
8177         [BZ #19592]
8178         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8179         high and low parts then use ldbl_canonicalize_int if needed.
8181         [BZ #17899]
8182         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8183         New function.
8184         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8185         on high and low parts then use ldbl_canonicalize_int if needed.
8187 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8189         * configure: Regenerated.
8191         * po/libc.pot: Regenerated.
8193         * po/be.po: Updated translation.
8194         * po/bg.po: Likewise.
8195         * po/ca.po: Likewise.
8196         * po/cs.po: Likewise.
8197         * po/da.po: Likewise.
8198         * po/el.po: Likewise.
8199         * po/eo.po: Likewise.
8200         * po/es.po: Likewise.
8201         * po/fi.po: Likewise.
8202         * po/fr.po: Likewise.
8203         * po/gl.po: Likewise.
8204         * po/hr.po: Likewise.
8205         * po/hu.po: Likewise.
8206         * po/ia.po: Likewise.
8207         * po/id.po: Likewise.
8208         * po/it.po: Likewise.
8209         * po/ja.po: Likewise.
8210         * po/lt.po: Likewise.
8211         * po/nb.po: Likewise.
8212         * po/nl.po: Likewise.
8213         * po/pt_BR.po: Likewise.
8214         * po/rw.po: Likewise.
8215         * po/sk.po: Likewise.
8216         * po/sl.po: Likewise.
8217         * po/sv.po: Likewise.
8218         * po/tr.po: Likewise.
8219         * po/zh_CN.po: Likewise.
8220         * po/zh_TW.po: Likewise.
8222         * version.h (RELEAES): Set to "development".
8223         (VERSION): Set to 2.23.90.
8225         * version.h (RELEASE): Set to "stable".
8226         (VERSION): Set to 2.23.
8227         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8229         * NEWS: Updated fixed bugs.
8231 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8232             Wilco Dijkstra  <wdijkstr@arm.com>
8234         [BZ #19462]
8235         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8236         (_STRING_INLINE_unaligned): This.
8237         * include/string.h: Include <string_private.h>.
8238         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8239         _STRING_INLINE_unaligned.
8240         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8241         (_STRING_INLINE_unaligned): New.
8242         * sysdeps/aarch64/string_private.h: New file.
8243         * sysdeps/generic/string_private.h: Likewise.
8244         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8245         * sysdeps/s390/string_private.h: Likewise.
8246         * sysdeps/x86/string_private.h: Likewise.
8247         * sysdeps/m68k/m680x0/m68020/bits/string.h
8248         (_STRING_ARCH_unaligned): Renamed to ...
8249         (_STRING_INLINE_unaligned): This.
8250         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8251         to ...
8252         (_STRING_INLINE_unaligned): This.
8253         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8254         to ...
8255         (_STRING_INLINE_unaligned): This.
8256         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8257         to ...
8258         (_STRING_INLINE_unaligned): This.
8260 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8261             H.J. Lu  <hongjiu.lu@intel.com>
8263         [BZ #19590]
8264         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8265         relocation.
8267 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8269         [BZ #18665]
8270         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8271         *herrno_p.
8272         (gaih_getanswer): Document functional behviour. Return tryagain
8273         if any result is tryagain.
8274         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8275         when freed.
8276         * resolv/res_send.c: Add copyright text.
8277         (__libc_res_nsend): Document that MAXPACKET is expected.
8278         (send_vc): Document. Remove buffer reuse.
8279         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8280         size of the buffer. Add Dprint for truncated UDP buffer.
8282 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8284         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8285         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8286         * INSTALL: Regenerate.
8288 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8289             Jonathan Wakely  <jwakely@redhat.com>
8290             Carlos O'Donell  <carlos@redhat.com>
8292         [BZ 19439]
8293         * math/Makefile (tests): Add test-math-isinff.
8294         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8295         * math/bits/mathcalls.h [__USE_MISC]: Use
8296         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8297         functions not in C++11 and which don't conflict e.g. isinff,
8298         isinfl etc.
8299         * math/test-math-isinff.cc: New file.
8301 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8303         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8305 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8307         [BZ #19529]
8308         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8310 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8312         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8314 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8316         [BZ #19550]
8317         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8318         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8319         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8320         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8321         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8322         New syscall entry.
8323         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8324         New syscall entry.
8325         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8326         syscall entry.
8328 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8330         [BZ #18240]
8331         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8332         unsigned int wraparound.
8334 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8336         [BZ #18240]
8337         * misc/bug18240.c: New test.
8338         * misc/Makefile (tests): Add it.
8340 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8341             Joseph Myers  <joseph@codesourcery.com>
8343         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8344         load in branch delay slot when less than a word of input left.
8346 2016-01-27  Andreas Schwab  <schwab@suse.de>
8348         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8349         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8350         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8351         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8353 2016-01-26  David S. Miller  <davem@davemloft.net>
8355         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8357 2016-01-25  David S. Miller  <davem@davemloft.net>
8359         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8360         __sqrtl_finite.
8361         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8362         instead using versioned_symbol.
8363         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8364         of entries.
8366         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8367         __sqrtl_finite to GLIBC_2.23
8369 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8371         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8373 2016-01-25  Andreas Schwab  <schwab@suse.de>
8375         [BZ #17514]
8376         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8377         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8378         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8379         * nptl/tst-mutex-errorcheck.c: New file.
8381 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8383         [BZ #18560]
8384         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8385         (IPCOP_semop): Likewise.
8386         (IPCOP_semget): Likewise.
8387         (IPCOP_semctl): Likewise.
8388         (IPCOP_msgsnd): Likewise.
8389         (IPCOP_msgrcv): Likewise.
8390         (IPCOP_msgget): Likewise.
8391         (IPCOP_msgctl): Likewise.
8392         (IPCOP_shmat): Likewise.
8393         (IPCOP_shmdt): Likewise.
8394         (IPCOP_shmget): Likewise.
8395         (IPCOP_shmctl): Likewise.
8397 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8399         * string/tst-endian.c: Include <libc-internal.h>.
8400         (do_test): Ignore tautological-compare warnings around
8401         "htobeXX (beXXtoh (i)) != i" and
8402         "htoleXX (leXXtoh (i)) != i" if-statements.
8404 2016-01-24  David S. Miller  <davem@davemloft.net>
8406         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8407         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8408         alias.
8409         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8410         __sqrtl_finite.
8412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8414 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8416         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8417         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8418         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8420 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8422         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8423         (thread_func): Use new function to simplify barrier check.
8424         (do_test): Use new function to simplify checking barrier exit
8425         code, and actually join the child thread.
8427 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8429         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8430         semicolon.
8431         (__libc_tend): Likewise.
8432         (__libc_tabort): Likewise.
8434 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8436         * sysdeps/nios2/libm-test-ulps: Update.
8437         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8438         (__gtsf2): Likewise.
8439         (__unorddf2): Likewise.
8440         (__unordsf2): Likewise.
8441         (__ledf2): Likewise.
8443 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8445         * nis/nis_table.c (__follow_path): Disable diagnostic for
8446         uninitialized variable that is a false positive for gcc 4.7.
8447         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8449 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8451         * sysdeps/nacl/lowlevellock-futex.h
8452         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8453         Always evaluate PRIVATE argument.
8455 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8457         [BZ #19490]
8458         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8459         (pthread_cond_broadcast): Use ENTRY/END
8460         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8461         (pthread_cond_signal): Likewise.
8462         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8463         Likewise.
8464         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8465         Likewise.
8466         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8467         Likewise.
8469 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8471         * sysdeps/ieee754/dbl-64/s_finite.c
8472         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8473         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8474         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8475         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8476         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8479         (__gtsf2): Add as optional for libc.so.
8480         (__unordsf2): Likewise.
8481         (__signbit): Remove for libc.so.
8482         (__signbitl): Likewise.
8484 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8486         * iconvdata/bug-iconv11.c (test_ibm93x):
8487         Use %zu printf format specifier for size_t argument.
8489 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8491         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8492         already-recorded ulps.
8493         * sysdeps/arm/libm-test-ulps: Regenerated.
8494         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8495         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8496         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8498 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8499             Paul Pluzhnikov  <ppluzhnikov@google.com>
8501         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8502         assembler not supporting AVX-512.
8504 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8506         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8508 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8510         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8511         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8513         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8515         * sysdeps/arm/libm-test-ulps: Regenerated.
8517 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8519         [BZ #19451]
8520         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8522 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8524         [BZ #19486]
8525         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8526         * sysdeps/generic/fix-fp-int-convert-overflow.h
8527         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8528         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8529         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8530         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8531         Likewise.
8532         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8533         Avoid conversions to long int where inexact exceptions
8534         could be raised.
8535         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8536         Likewise.
8537         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8538         Avoid conversions to long long int where inexact exceptions
8539         could be raised.
8540         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8541         Likewise.
8543 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8545         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8546         * configure: Regenerated.
8548 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8550         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8552 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8554         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8555         outside of comment.
8557 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8559         * nptl/tst-barrier1.c: Add description on first line.
8560         * nptl/tst-barrier2.c: Likewise.
8561         * nptl/tst-barrier3.c: Likewise.
8562         * nptl/tst-barrier4.c: Likewise.
8563         * nptl/tst-barrier5.c: Likewise.
8565 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8567         [BZ #18868]
8568         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8570 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8573         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8574         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8575         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8576         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8577         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8578         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8579         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8580         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8581         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8582         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8584 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8586         [BZ #13065]
8587         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8588         new implementation.
8589         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8590         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8591         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8592         (BARRIER_IN_THRESHOLD): New macro.
8593         * nptl/pthread_barrierattr_setpshared.c
8594         (pthread_barrierattr_setpshared): Clean up.
8595         * nptl/tst-barrier4.c: Correct comment.
8596         * nptl/tst-barrier5.c: New file.
8597         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8598         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8599         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8600         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8601         * nptl/lowlevelbarrier.sym: Remove.
8602         * nptl/DESIGN-barrier.txt: Remove.
8603         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8604         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8605         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8606         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8607         error.
8608         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8609         implementation.
8611 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8613         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8614         (do_child): Mask SIGRTMIN while thr is running.
8616 2016-01-15  Martin Sebor  <msebor@redhat.com>
8618         [BZ #19432]
8619         * iconvdata/Makefile: Add bug-iconv11.
8620         * iconvdata/bug-iconv11.c: New test.
8621         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8622         * iconvdata/ibm933.c: Same.
8623         * iconvdata/ibm935.c: Same.
8624         * iconvdata/ibm937.c: Same.
8625         * iconvdata/ibm939.c: Same.
8627 2016-01-15  Martin Sebor  <msebor@redhat.com>
8629         [BZ #19443]
8630         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8631         [DEBUG] (_ufc_set_bits): Declare used.
8632         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8633         [DEBUG] (print_all): Declare used.
8634         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8635         operands of the ternary ?: expression to target type.
8636         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8637         calling the undeclared abort.
8638         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8640 2016-01-15  Martin Sebor  <msebor@redhat.com>
8642         [BZ #18755]
8643         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8644         warnings.
8645         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8646         (__gai_create_helper_thread): Same.
8647         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8648         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8649         to suppress -Wmaybe-uninitialized warnings.
8651 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8653         [BZ #19465]
8654         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8655         inside if.
8656         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8657         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8658         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8660 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8662         [BZ #19466]
8663         * time/tst-mktime2.c (time_t_max): Removed.
8664         (time_t_min): Likewise.
8665         (TYPE_SIGNED): New.
8666         (TYPE_MINIMUM): Likewise.
8667         (TYPE_MAXIMUM): Likewise.
8668         (TIME_T_MIN): Likewise.
8669         (TIME_T_MAX): Likewise.
8670         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8671         and TIME_T_MIN.
8672         (do_test): Likewise.
8674 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8676         [BZ #19467]
8677         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8678         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8680 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8682         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8684 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8686         * benchtests/Makefile (PYTHON): Define.
8687         (bench-func): Use $(PYTHON) to run python scripts.
8688         ($(objpfx)bench-%.c): Likewise.
8690 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8692         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8693         leading slash when `file_name' is "/".
8695 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8697         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8698         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8699         Likewise.
8700         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8701         Likewise.
8702         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8703         Likewise.
8704         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8705         enum constant and macro.
8706         (PTRACE_SETSIGMASK): Likewise.
8707         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8708         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8709         (PTRACE_GETSIGMASK): Likewise.
8710         (PTRACE_SETSIGMASK): Likewise.
8711         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8712         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8713         Likewise.
8714         (PTRACE_SETSIGMASK): Likewise.
8715         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8716         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8717         (PTRACE_GETSIGMASK): Likewise.
8718         (PTRACE_SETSIGMASK): Likewise.
8719         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8720         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8721         Likewise.
8722         (PTRACE_SETSIGMASK): Likewise.
8723         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8724         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8725         Likewise.
8726         (PTRACE_SETSIGMASK): Likewise.
8727         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8728         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8729         Likewise.
8730         (PTRACE_SETSIGMASK): Likewise.
8731         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8733 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8734             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8736         [BZ #19439]
8737         * math/bits/mathcalls.h
8738         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8739         prototype.
8740         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8742 2016-01-11  Andreas Schwab  <schwab@suse.de>
8744         [BZ #19253]
8745         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8746         cache when TZDEFRULES was used.
8747         * time/tst-tzname.c: New file.
8748         * time/Makefile (test): Add tst-tzname.
8749         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8750         * timezone/Makefile (test-zones): Add $(posixrules-file).
8751         ($(testdata)/$(posixrules-file)): New rule.
8753 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8755         Fix doc quoting problems with Texinfo 5
8756         Without this change, in the info file output, Texinfo 5 quotes code
8757         in text with undirected single quotes 'like this' and generates
8758         code examples that with many PDF readers cannot be cut out of PDFs
8759         and pasted into code.
8760         * manual/libc.texinfo: Configure the libc manual like the GNU
8761         Emacs manual, by using @documentencoding and setting
8762         txicodequoteundirected and txicodequotebacktick.  This way,
8763         Texinfo 5 quotes code in text with directed single quotes ‘like
8764         this’ and produces examples that can be cut out of PDFs.  This
8765         change causes Texinfo 5 to generate info files that contain UTF-8
8766         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8767         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8769 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8771         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8772         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8773         barriers to their respective compiler built-ins.
8774         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8775         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8776         * sysdeps/powerpc/sysdep.h: Likewise.
8777         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8778         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8779         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8781 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8783         * scripts/config.guess: Revert previous shebang change.
8784         * scripts/config.sub: Likewise.
8785         * scripts/mkinstalldirs: Likewise.
8787 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8789         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8790         PPC_FEATURE2_HAS_IEEE128.
8791         * sysdeps/powerpc/dl-procinfo.c:
8792         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8794 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8796         [BZ #19415]
8797         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8798         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8799         (_dl_lookup_address): Rewrite using function resolver trampoline.
8800         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8801         two bits in address.
8803 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8805         * longlong.h: Change !__SHMEDIA__ to
8806         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8807         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8809 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8810             Joseph Myers  <joseph@codesourcery.com>
8811             Mark Shinwell  <shinwell@codesourcery.com>
8812             Andrew Stubbs  <ams@codesourcery.com>
8813             Rich Felker <dalias@libc.org>
8815         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8817 2016-01-07  Richard Henderson  <rth@redhat.com>
8819         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8821 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8823         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8824         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8825         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8826         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8827         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8829 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8830             Joseph Myers  <joseph@codesourcery.com>
8832         * timezone/private.h: Update from tzcode 2015g.
8833         * timezone/tzfile.h: Likewise.
8834         * timezone/tzselect.ksh: Likewise.
8835         * timezone/zdump.c: Likewise.
8836         * timezone/zic.c: Likewise.
8837         * timezone/ialloc.c: Remove file.
8838         * timezone/scheck.c: Likewise.
8839         * timezone/Makefile (extra-objs): Remove variable.
8840         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8841         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8842         -Wno-maybe-uninitialized.
8843         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8844         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8845         (CFLAGS-ialloc.c): Remove variable.
8846         (CFLAGS-scheck.c): Likewise.
8847         * timezone/README: Update list of files from tzcode.
8849 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8851         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8852         instead of __fxprintf when _LIBC is undefined.
8854 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8856         * catgets/test-gencat.sh: Remove space after shebang.
8857         * conform/GlibcConform.pm: Likewise.
8858         * conform/check-header-lists.sh: Likewise.
8859         * conform/conformtest.pl: Likewise.
8860         * conform/linknamespace.pl: Likewise.
8861         * conform/list-header-symbols.pl: Likewise.
8862         * debug/catchsegv.sh: Likewise.
8863         * elf/genrtldtbl.awk: Likewise.
8864         * elf/tst-pathopt.sh: Likewise.
8865         * elf/tst-rtld-load-self.sh: Likewise.
8866         * grp/tst_fgetgrent.sh: Likewise.
8867         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8868         * iconvdata/gen-8bit-gap.sh: Likewise.
8869         * iconvdata/gen-8bit.sh: Likewise.
8870         * iconvdata/run-iconv-test.sh: Likewise.
8871         * intl/tst-gettext.sh: Likewise.
8872         * intl/tst-gettext2.sh: Likewise.
8873         * intl/tst-gettext4.sh: Likewise.
8874         * intl/tst-gettext6.sh: Likewise.
8875         * intl/tst-translit.sh: Likewise.
8876         * io/ftwtest-sh: Likewise.
8877         * libio/test-freopen.sh: Likewise.
8878         * locale/gen-translit.pl: Likewise.
8879         * malloc/tst-mtrace.sh: Likewise.
8880         * manual/check-safety.sh: Likewise.
8881         * manual/libc-texinfo.sh: Likewise.
8882         * manual/tsort.awk: Likewise.
8883         * manual/xtract-typefun.awk: Likewise.
8884         * nptl/tst-cancel-wrappers.sh: Likewise.
8885         * nptl/tst-tls6.sh: Likewise.
8886         * posix/globtest.sh: Likewise.
8887         * posix/tst-getconf.sh: Likewise.
8888         * posix/wordexp-tst.sh: Likewise.
8889         * scripts/check-c++-types.sh: Likewise.
8890         * scripts/check-local-headers.sh: Likewise.
8891         * scripts/config.guess: Likewise.
8892         * scripts/config.sub: Likewise.
8893         * scripts/cpp: Likewise.
8894         * scripts/cross-test-ssh.sh: Likewise.
8895         * scripts/documented.sh: Likewise.
8896         * scripts/evaluate-test.sh: Likewise.
8897         * scripts/gen-libc-abis: Likewise.
8898         * scripts/gen-sorted.awk: Likewise.
8899         * scripts/list-fixed-bugs.py: Likewise.
8900         * scripts/merge-test-results.sh: Likewise.
8901         * scripts/mkinstalldirs: Likewise.
8902         * scripts/rellns-sh: Likewise.
8903         * scripts/test-installation.pl: Likewise.
8904         * scripts/update-copyrights: Likewise.
8905         * stdio-common/tst-printf.sh: Likewise.
8906         * stdio-common/tst-unbputc.sh: Likewise.
8907         * stdlib/tst-fmtmsg.sh: Likewise.
8908         * stdlib/tst-setcontext3.sh: Likewise.
8909         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8910         * sysdeps/unix/make-syscalls.sh: Likewise.
8912 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8914         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8915         asm stw with atomic_exchange_rel.  Add explanatory comment.
8916         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8917         Likewise.
8919 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8921         [BZ #19122]
8922         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8923         * sysdeps/generic/dl-unistd.h: New file.
8924         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8926 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8928          [BZ #19122]
8929          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8930          * sysdeps/generic/dl-mman.h: New file.
8931          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8933 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8935         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8936         trailing whitespace removed.
8937         * scripts/config.guess: Update to version 2016-01-01.
8938         * scripts/config.sub: Update to version 2016-01-01.
8939         * scripts/move-if-change: Update from gnulib.
8941 2016-01-04  Anton Blanchard  <anton@samba.org>
8943         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8944         for array indices.
8945         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8947 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8949         * NEWS: Update copyright dates.
8950         * catgets/gencat.c (print_version): Likewise.
8951         * csu/version.c (banner): Likewise.
8952         * debug/catchsegv.sh: Likewise.
8953         * debug/pcprofiledump.c (print_version): Likewise.
8954         * debug/xtrace.sh (do_version): Likewise.
8955         * elf/ldconfig.c (print_version): Likewise.
8956         * elf/ldd.bash.in: Likewise.
8957         * elf/pldd.c (print_version): Likewise.
8958         * elf/sotruss.sh: Likewise.
8959         * elf/sprof.c (print_version): Likewise.
8960         * iconv/iconv_prog.c (print_version): Likewise.
8961         * iconv/iconvconfig.c (print_version): Likewise.
8962         * locale/programs/locale.c (print_version): Likewise.
8963         * locale/programs/localedef.c (print_version): Likewise.
8964         * login/programs/pt_chown.c (print_version): Likewise.
8965         * malloc/memusage.sh (do_version): Likewise.
8966         * malloc/memusagestat.c (print_version): Likewise.
8967         * malloc/mtrace.pl: Likewise.
8968         * manual/libc.texinfo: Likewise.
8969         * nptl/version.c (banner): Likewise.
8970         * nscd/nscd.c (print_version): Likewise.
8971         * nss/getent.c (print_version): Likewise.
8972         * nss/makedb.c (print_version): Likewise.
8973         * posix/getconf.c (main): Likewise.
8974         * scripts/test-installation.pl: Likewise.
8975         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8977         * All files with FSF copyright notices: Update copyright dates
8978         using scripts/update-copyrights.
8979         * intl/plural.c: Regenerated.
8980         * locale/programs/charmap-kw.h: Likewise.
8981         * locale/programs/locfile-kw.h: Likewise.
8983 2016-01-02  Helge Deller  <deller@gmx.de>
8985         [BZ #19285]
8986         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8987         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8988         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8989         (MADV_xxK_PAGES): Remove.
8991 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8993         [BZ #15421]
8994         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8995         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8996         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8997         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8999 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9001         [BZ #19408]
9002         * sysdeps/unix/sysv/linux/personality.c: New file.
9003         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9004         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9005         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9006         (sysdep_routines): Add personality.
9007         (tests): Add tst-personality.
9008         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9009         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9010         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9011         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9012         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9013         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9014         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9015         Likewise.
9016         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9017         Likewise.
9018         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9019         Likewise.
9020         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9021         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9022         Likewise.
9024 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9026         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9027         (PATH_ARM_SYSTYPE): Remove.
9028         (PATH_CPUINFO): Likewise.
9029         (IO_BASE_FOOTBRIDGE): Likewise.
9030         (IO_SHIFT_FOOTBRIDGE): Likewise.
9031         (struct platform): Likewise.
9032         (init_iosys): Remove compatibility code for 2.4 kernels.
9033         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9035 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9037         * malloc/tst-malloc-thread-fail.c: New file.
9038         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9039         (tst-malloc-thread-fail): Link against libpthread.
9041 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9043         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9044         (get_parser): New function.
9045         (main): New function.
9047 2015-12-29  Rob Wu  <rob@robwu.nl>
9049         [BZ #19369]
9050         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9052 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9054         [BZ #19270]
9055         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9057 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9059         [BZ #15421]
9060         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9062 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9064         [BZ #13690]
9065         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9066         after releasing it.
9067         (__lll_robust_unlock): Likewise.
9068         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9069         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9070         (lll_robust_unlock): Likewise.
9071         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9072         Prevent warnings in callers.
9074 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9076         * malloc/arena.c (list_lock): Update comment.
9078 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9080         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9081         __parse_hwcap_and_convert_at_platform to libc.a.
9083 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9085         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9086         platform and feature support for POWER9.
9087         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9088         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9089         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9090         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9091         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9092         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9093         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9094         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9096 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9098         Harmonize generic stdio-lock support with nptl
9100         This fixes build when _IO_funlockfile is a macro, fixes build where
9101         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9102         stack unwind.
9104         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9105         _IO_release_lock ): Use cleanup attribute on new
9106         _IO_acquire_lock_file variable instead of assuming that
9107         _IO_release_lock will be called.
9108         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9109         _IO_acquire_lock_needs_exceptions_enabled.
9110         (_IO_acquire_lock_clear_flags2): New macro.
9112 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9114         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9116 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9118         [BZ #19182]
9119         * malloc/arena.c (list_lock): Document lock ordering requirements.
9120         (free_list_lock): New lock.
9121         (ptmalloc_lock_all): Comment on free_list_lock.
9122         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9123         (detach_arena): Update comment.  free_list_lock is now needed.
9124         (_int_new_arena): Use free_list_lock around detach_arena call.
9125         Acquire arena lock after list_lock.  Add comment, including FIXME
9126         about incorrect synchronization.
9127         (get_free_list): Switch to free_list_lock.
9128         (reused_arena): Acquire free_list_lock around detach_arena call
9129         and attached threads counter update.  Add two FIXMEs about
9130         incorrect synchronization.
9131         (arena_thread_freeres): Switch to free_list_lock.
9132         * malloc/malloc.c (struct malloc_state): Update comments to
9133         mention free_list_lock.
9135 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9137         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9138         Remove functions.
9139         (sloww, sloww1): Accept argument to offset quadrant.
9140         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9141         quadrant.
9142         (__sin, __cos): Consolidate common code into new functions.
9143         (reduce_sincos_1, do_sincos_1): New functions.
9144         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9146         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9147         code to new functions.
9148         (reduce_sincos_2, do_sincos_2): New functions.
9149         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9151         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9152         common code for sincos.
9153         (__cos) [!IN_SINCOS]: Likewise.
9154         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9155         New function.
9156         (__sincos): Use it.
9158 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9160         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9161         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9162         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9164 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9166         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9168         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9169         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9170         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9171         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9172         index_Prefer_No_VZEROUPPER): New feature.
9173         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9174         Prefer_No_VZEROUPPER for Knights Landing.
9176 015-12-18  Torvald Riegel  <triegel@redhat.com>
9178         * math/atest-exp2.c (mp_exp_m1): Remove.
9180 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9182         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9183         syscalls.
9184         (__SYSCALL0): New macro.
9185         (__SYSCALL1): Likewise.
9186         (__SYSCALL2): Likewise.
9187         (__SYSCALL3): Likewise.
9188         (__SYSCALL4): Likewise.
9189         (__SYSCALL5): Likewise.
9190         (__SYSCALL6): Likewise.
9191         (__SYSCALL_CONCAT_X): Likewise.
9192         (__SYSCALL_CONCAT): Likewise.
9193         (__SYSCALL_DIST): Likewise.
9194         (__SYSCALL_CALL): Likewise.
9196 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9198         [BZ #19363]
9199         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9201 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9203         [BZ #19375]
9204         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9205         negative subnormals.
9207 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9209         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9210         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9211         (INTERNAL_SYSCALL_NCS): Use it.
9212         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9214 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9216         [BZ #19243]
9217         * malloc/arena.c (get_free_list): Remove assert and adjust
9218         reference count handling.  Add comment about reused_arena
9219         interaction.
9220         (reused_arena): Add comments abount get_free_list interaction.
9221         * malloc/tst-malloc-thread-exit.c: New file.
9222         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9223         (tst-malloc-thread-exit): Link against libpthread.
9225 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9227         [BZ #19367]
9228         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9229         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9230         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9231         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9232         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9234 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9236         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9237         Silvermont optimizations for Knights Landing.
9239 2015-12-15  Andreas Schwab  <schwab@suse.de>
9241         [BZ #17197]
9242         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9243         immediately after emitting SI.
9244         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9245         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9246         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9247         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9248         * iconvdata/bug-iconv10.c: New file.
9249         * iconvdata/Makefile (tests): Add bug-iconv10.
9250         ($(objpfx)bug-iconv10.out): New rule.
9252 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9254         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9255         aliasing violation.
9257 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9259         [BZ #18472]
9260         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9261         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9262         conditionals for them.
9263         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9264         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9265         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9266         sys/kdaemon.h.
9267         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9268         compat-only syscall, obsoleted in glibc 2.23.
9269         (create_module): Likewise.
9270         (get_kernel_syms): Likewise.
9271         (query_module): Likewise.
9272         (uselib): Likewise.
9273         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9275 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9277         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9278         <linux/version.h>.
9279         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9280         conditional code.
9281         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9282         and ioshift_name initialization.
9284 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9286         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9287         Fix indentation.
9289 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9291         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9293 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9295         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9297 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9298             Jakub Wilk  <jwilk@debian.org>
9300         [BZ #19347]
9301         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9302         to change the group of the device to the tty group.
9304 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9306         Split large string section; add truncation advice
9307         * manual/examples/strncat.c: Remove.
9308         This example was misleading, as the code would have undefined
9309         behavior if "hello" was longer than SIZE.  Anyway, the manual
9310         shouldn't encourage strncpy+strncat for this sort of thing.
9311         * manual/string.texi (Copying Strings and Arrays): Split into
9312         three sections Copying Strings and Arrays, Concatenating Strings,
9313         and Truncating Strings, as this section was way too long.  All
9314         cross-referenced changed.  Add advice about string-truncation
9315         functions.  Remove misleading strncat example.
9317 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9319         * manual/nss.texi (NSS Modules Interface): Document
9320         NSS_STATUS_NOTFOUND and SUCCESS.
9322 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9324         [BZ 18568]
9325         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9326         201505L, for Unicode 8.
9328 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9330         * locale/C-translit.h: Regenerate.
9332 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9334         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9335         and U+0153.
9337 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9339         [BZ #19351]
9340         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9341         expanding log(1+z), compare z rather than its square with epsilon
9342         to determine when to avoid evaluating the expansion.
9344         [BZ #19350]
9345         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9346         Increase overflow threshold.
9348         [BZ #19349]
9349         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9350         when small.
9352         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9353         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9354         New macro.
9355         [__LINUX_KERNEL_VERSION >= 0x040300]
9356         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9358         Likewise.
9359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9360         Likewise.
9361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9362         Likewise.
9363         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9364         Likewise.
9365         [__LINUX_KERNEL_VERSION >= 0x040300]
9366         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9367         [__LINUX_KERNEL_VERSION >= 0x040300]
9368         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9369         [__LINUX_KERNEL_VERSION >= 0x040300]
9370         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9371         [__LINUX_KERNEL_VERSION >= 0x040300]
9372         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9373         [__LINUX_KERNEL_VERSION >= 0x040300]
9374         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9375         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9376         Likewise.
9377         [__LINUX_KERNEL_VERSION >= 0x040300]
9378         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9379         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9380         Likewise.
9381         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9382         Likewise.
9383         [__LINUX_KERNEL_VERSION >= 0x040300]
9384         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9385         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9386         Likewise.
9387         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9388         Likewise.
9389         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9390         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9391         Likewise.
9392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9393         Likewise.
9394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9395         Likewise.
9396         [__LINUX_KERNEL_VERSION >= 0x040300]
9397         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9398         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9399         Likewise.
9400         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9401         Likewise.
9402         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9403         Likewise.
9404         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9405         Likewise.
9406         [__LINUX_KERNEL_VERSION >= 0x040300]
9407         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9408         [__LINUX_KERNEL_VERSION >= 0x040300]
9409         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9410         [__LINUX_KERNEL_VERSION >= 0x040300]
9411         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9412         [__LINUX_KERNEL_VERSION >= 0x040300]
9413         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9414         [__LINUX_KERNEL_VERSION >= 0x040300]
9415         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9416         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9417         Likewise.
9418         [__LINUX_KERNEL_VERSION >= 0x040300]
9419         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9420         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9421         Likewise.
9422         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9423         Likewise.
9424         [__LINUX_KERNEL_VERSION >= 0x040300]
9425         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9426         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9427         Likewise.
9428         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9429         Likewise.
9430         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9431         (__ASSUME_SOCKET_SYSCALL): Likewise.
9432         (__ASSUME_BIND_SYSCALL): Likewise.
9433         (__ASSUME_CONNECT_SYSCALL): Likewise.
9434         (__ASSUME_LISTEN_SYSCALL): Likewise.
9435         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9436         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9437         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9438         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9439         (__ASSUME_SEND_SYSCALL): Likewise.
9440         (__ASSUME_SENDTO_SYSCALL): Likewise.
9441         (__ASSUME_RECV_SYSCALL): Likewise.
9442         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9443         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9444         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9445         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9446         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9447         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9448         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9449         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9450         Likewise.
9451         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9452         Likewise.
9453         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9454         Likewise.
9455         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9456         Likewise.
9457         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9458         Likewise.
9459         [__LINUX_KERNEL_VERSION >= 0x020625]
9460         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9461         [__LINUX_KERNEL_VERSION >= 0x020625]
9462         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9463         [__LINUX_KERNEL_VERSION >= 0x020625]
9464         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9465         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9466         Likewise.
9467         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9468         Likewise.
9469         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9470         Likewise.
9471         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9472         Likewise.
9473         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9474         Likewise.
9475         [__LINUX_KERNEL_VERSION >= 0x020625]
9476         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9477         [__LINUX_KERNEL_VERSION >= 0x020625]
9478         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9479         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9480         Likewise.
9481         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9482         Likewise.
9484 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9486         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9487         record the current if the current ABI and CPU support the FP64
9488         extension.
9489         (has-modd-spreg): Define to record the current if the current ABI and
9490         CPU support 32-bit floating point values in odd FPU registers.
9491         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9492         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9493         $(has-modd-spreg) equals yes.
9494         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9495         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9496         $(has-modd-spreg) equal yes.
9498 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9500         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9501         basename.
9503 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9505         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9506         (bench-string): ... here.
9507         (bench): Add bench-string.
9508         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9509         to *-benchset to reflect what they are.
9510         (benchset): Adjust.
9512         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9513         cos-inputs.
9515 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9517         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9518         __attribute__ ((__simd__)) for vector math function declarations.
9520 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9522         Fix typo in strncat, wcsncat manual entries
9523         * manual/string.texi (Copying and Concatenation): Fix typos in
9524         sample implementations of strncat and wcsncat, by having them use
9525         the old value of the destination length, not the new one.
9527 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9529         [BZ #16961]
9530         [BZ #16962]
9531         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9532         string on the stack for strtod.
9533         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9534         a string on the stack for strtof.
9535         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9536         constructing a string on the stack for strtold.
9537         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9538         __strtold_nan to GLIBC_PRIVATE.
9539         * math/test-nan-overflow.c: New file.
9540         * math/test-nan-payload.c: Likewise.
9541         * math/Makefile (tests): Add test-nan-overflow and
9542         test-nan-payload.
9544 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9546         Consistency about byte vs character in string.texi
9547         * manual/string.texi (String and Array Utilities):
9548         Distinguish more carefully among bytes, multibyte characters,
9549         and wide characters.  Use "byte" when talking about C 'char',
9550         to distinguish it more clearly from multibyte characters.
9551         Say "wide character" or "multibyte character" instead of
9552         "character", when a wide or multibyte character is intended.
9553         Similarly for "multibyte string" versus "string".
9554         Define these terms more carefully.
9556 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9558         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9559         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9560         Likewise.
9561         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9562         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9563         * sysdeps/sh/math_private.h: New file.
9564         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9565         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9566         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9567         long double function name.
9568         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9569         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9570         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9571         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9572         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9574         Remove __finitel, __isinfl, and __isnanl.
9575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9576         Likewise.
9577         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9579         Remove __finitel.
9580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9581         Likewise.
9582         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9584 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9586         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9587         installed libmvec_nonshared.a.
9589 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9591         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9592         (sysdep_routines): Likewise.
9593         (sysdep-rtld-routines): Likewise.
9594         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9595         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9596         * sysdeps/powerpc/Versions: Added new
9597         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9598         * sysdeps/powerpc/hwcapinfo.c: New file.
9599         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9600         and parse hwcap, hwcap2 and platform number information.
9601         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9602         to store HWCAP+HWCAP2 and platform number.
9603         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9604         for HWCAP+HWCAP2 and platform number in the TCB.
9605         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9606         the HWCAP, HWCAP2 and platform number in the TCB.
9607         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9608         (TLS_INIT_TP): Included calls to add the hwcap and
9609         at_platform values in the TCB in TP initialization.
9610         (TLS_DEFINE_INIT_TP): Likewise.
9611         (THREAD_GET_HWCAP): New macro.
9612         (THREAD_SET_HWCAP): Likewise.
9613         (THREAD_GET_AT_PLATFORM): Likewise.
9614         (THREAD_SET_AT_PLATFORM): Likewise.
9615         * sysdeps/powerpc/powerpc32/dl-machine.h:
9616         (dl_platform_init): New function that calls
9617         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9618         powerpc32.
9619         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9620         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9621         this functionality, static linking case.
9622         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9623         linking case.
9624         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9625         __parse_hwcap_and_convert_at_platform for the static linking case.
9626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9627         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9628         ABI list for GLIBC 2.23.
9629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9630         Likewise.
9631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9632         Likewise.
9634 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9636         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9637         * configure: Regenerate.
9638         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9639         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9641 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9643         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9644         * iconvdata/ibm933.c: Likewise.
9645         * iconvdata/ibm935.c: Likewise.
9646         * iconvdata/ibm937.c: Likewise.
9647         * iconvdata/ibm939.c: Likewise.
9649 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9651         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9652         pthread_join.
9653         * nptl/tst-cancel21.c (tf): Likewise.
9655 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9657         [BZ #19313]
9658         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9659         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9660         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9661         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9662         Likewise.
9663         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9664         Likewise.
9665         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9666         Likewise.
9667         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9668         Likewise.
9669         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9670         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9671         unsigned long int with __CPU_MASK_TYPE.
9673 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9675         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9677 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9679         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9680         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9681         t512.x.
9682         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9684 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9686         [BZ #19214]
9687         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9688         argument to return extended model.  Update family and model
9689         with extended family and model when family == 0x0f.
9690         (init_cpu_features): Updated.
9692 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9694         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9695         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9697         * sysdeps/mach/hurd/mmap64.c: New file.
9699 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9701         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9702         rights for its main user thread in NEWTASK.
9704 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9706         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9707         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9709 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9711         [BZ #14259]
9712         * Makeconfig: Rename localedir to complocaledir.
9713         Rename inst_localedir to inst_complocaledir.
9714         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9715         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9716         * configure.ac: Use libc_cv_complocaledir.
9717         * configure: Regenerate.
9718         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9719         -DCOMPLOCALEDIR.
9720         * locale/findlocale.c: Use COMPLOCALEDIR.
9721         * locale/loadarchive.c: Likewise.
9722         * locale/programs/locale.c: Likewise.
9723         * locale/programs/localedef.c: Likewise.
9724         * locale/programs/locarchive.c: Likewise.
9725         * localedata/Makefile: Use inst_complocaledir.
9726         * sysdeps/gnu/configure: Regenerate.
9727         * sysdeps/hppa/configure: Regenerate.
9728         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9729         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9731         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9732         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9733         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9734         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9736 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9738         [BZ #19058]
9739         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9740         AS_NEEDED.
9741         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9742         workaround.
9743         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9744         libmvec-static-only-routines): Added new file.
9745         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9747 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9749         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9750         of interrupted RPC instead of restoring it.
9752         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9753         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9754         libc_hidden_def.
9755         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9756         into initialized data instead of common. Define rtld_hidden_data_def.
9757         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9758         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9759         libc_hidden_def.
9760         (if_freenameindex): Add libc_hidden_weak.
9761         (if_nameindex): Add libc_hidden_weak.
9762         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9763         __open64.
9764         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9765         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9766         * sysdeps/mach/nanosleep.c: Include <time.h>
9767         (__nanosleep): Rename to __libc_nanosleep.
9768         (__nanosleep): Add weak_alias.
9769         (nanosleep): Update alias.
9771 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9773         * stdlib/strtod_nan.c: New file.
9774         * stdlib/strtod_nan_double.h: Likewise.
9775         * stdlib/strtod_nan_float.h: Likewise.
9776         * stdlib/strtod_nan_main.c: Likewise.
9777         * stdlib/strtod_nan_narrow.h: Likewise.
9778         * stdlib/strtod_nan_wide.h: Likewise.
9779         * stdlib/strtof_nan.c: Likewise.
9780         * stdlib/strtold_nan.c: Likewise.
9781         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9782         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9783         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9784         * wcsmbs/wcstod_nan.c: Likewise.
9785         * wcsmbs/wcstof_nan.c: Likewise.
9786         * wcsmbs/wcstold_nan.c: Likewise.
9787         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9788         strtold_nan.
9789         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9790         wcstof_nan.
9791         * include/stdlib.h (__strtof_nan): Declare and use
9792         libc_hidden_proto.
9793         (__strtod_nan): Likewise.
9794         (__strtold_nan): Likewise.
9795         (__wcstof_nan): Likewise.
9796         (__wcstod_nan): Likewise.
9797         (__wcstold_nan): Likewise.
9798         * include/wchar.h (____wcstoull_l_internal): Declare.
9799         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9800         (____strtoull_l_internal): Remove declaration.
9801         (STRTOF_NAN): Define macro.
9802         (SET_MANTISSA): Remove macro.
9803         (STRTOULL): Likewise.
9804         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9805         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9806         (STRTOF_NAN): Define macro.
9807         (SET_MANTISSA): Remove macro.
9808         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9809         (SET_MANTISSA): Remove macro.
9810         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9811         macro.
9812         (SET_MANTISSA): Remove macro.
9813         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9814         macro.
9815         (SET_MANTISSA): Remove macro.
9816         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9817         (SET_MANTISSA): Remove macro.
9818         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9819         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9820         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9822         [BZ #19266]
9823         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9824         upper case and lower case letters inside NAN(), not using TOLOWER.
9825         * stdlib/tst-strtod-nan-locale-main.c: New file.
9826         * stdlib/tst-strtod-nan-locale.c: Likewise.
9827         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9828         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9829         Depend on $(gen-locales).
9830         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9831         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9832         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9833         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9834         Depend on $(gen-locales).
9835         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9837 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9839         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9841         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9843         __finitel, __isinfl, and __isnanl.
9844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9845         Likewise.
9846         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9848         __finitel.
9849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9850         Likewise.
9851         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9853 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9855         * malloc/memusage.c (me): Remove redundant getenv call.
9857 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9859         [BZ #19143]
9860         [BZ #19164]
9861         * nptl/check-cpuset.h: Remove.
9862         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9863         Remove CPU set size check.
9864         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9865         Likewise.
9866         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9867         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9868         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9869         (__pthread_setaffinity_new): Remove CPU set size check.
9870         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9871         (__kernel_cpumask_size): Remove.
9872         (__sched_setaffinity_new): Remove CPU set size check.
9873         * manual/threads.texi (Default Thread Attributes): Remove stale
9874         reference to check_cpuset_attr, determine_cpumask_size in comment.
9875         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9876         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9877         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9878         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9879         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9880         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9881         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9882         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9883         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9884         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9885         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9886         skeleton test file.
9887         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9888         tst-affinity-pid.
9890 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9892         * scripts/update-abilist.sh: New file.
9893         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9894         * Makerules (update-all-abi-%, update-all-abi)
9895         (subdir_update-all-abi): New targets.
9896         * elf/Makefile (update-all-abi): New target.
9898 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9900         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9901         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9902         (__libc_lock_define_initialized): Use it.
9903         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9904         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9905         * malloc/malloc.c (main_arena): Likewise.
9906         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9907         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9909 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9911         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9912         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9913         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9914         (PTRACE_O_MASK): Update value.
9915         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9916         New value in enum __ptrace_setoptions.
9917         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9918         (PTRACE_O_MASK): Update value.
9919         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9920         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9921         (PTRACE_O_MASK): Update value.
9922         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9923         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9924         (PTRACE_O_MASK): Update value.
9925         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9926         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9927         (PTRACE_O_MASK): Update value.
9928         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9929         New value in enum __ptrace_setoptions.
9930         (PTRACE_O_MASK): Update value.
9931         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9932         New value in enum __ptrace_setoptions.
9933         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9934         (PTRACE_O_MASK): Update value.
9936         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9937         New macro.
9938         (PACKET_AUXDATA): Likewise.
9939         (PACKET_ORIGDEV): Likewise.
9940         (PACKET_VERSION): Likewise.
9941         (PACKET_HDRLEN): Likewise.
9942         (PACKET_RESERVE): Likewise.
9943         (PACKET_TX_RING): Likewise.
9944         (PACKET_LOSS): Likewise.
9945         (PACKET_VNET_HDR): Likewise.
9946         (PACKET_TX_TIMESTAMP): Likewise.
9947         (PACKET_TIMESTAMP): Likewise.
9948         (PACKET_FANOUT): Likewise.
9949         (PACKET_TX_HAS_OFF): Likewise.
9950         (PACKET_QDISC_BYPASS): Likewise.
9951         (PACKET_ROLLOVER_STATS): Likewise.
9952         (PACKET_FANOUT_DATA): Likewise.
9953         (PACKET_MR_UNICAST): Likewise.
9955         [BZ #19242]
9956         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9957         (TOUPPER): Likewise.
9958         * stdlib/tst-strtol-locale-main.c: New file.
9959         * stdlib/tst-strtol-locale.c: Likewise.
9960         * stdlib/Makefile (tests): Add tst-strtol-locale.
9961         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9962         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9963         Depend on $(gen-locales).
9964         * wcsmbs/tst-wcstol-locale.c: New file.
9965         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9966         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9967         tr_TR.ISO-8859-9.
9968         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9969         Depend on $(gen-locales).
9971 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9973         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9974         __glibc_likely instead of __builtin_expect.  After falling back to
9975         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9976         system interface to register the code pages as occupied.
9978 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9980         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9981         [!ARM_MATH_PRIVATE_H].
9982         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9983         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9984         [!HPPA_MATH_PRIVATE_H].
9985         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9986         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9987         to [!I386_MATH_PRIVATE_H].
9988         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9989         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9990         Change guard to [!M68K_MATH_PRIVATE_H].
9991         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9992         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9993         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9994         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9995         macro.
9996         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9997         [!MIPS_MATH_PRIVATE_H].
9998         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9999         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10000         [!NIO2_MATH_PRIVATE_H].
10001         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10002         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10003         [!TILE_MATH_PRIVATE_H].
10004         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10006         [BZ #15421]
10007         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10008         initialize with 0 and define as weak alias of __signgam.
10009         * include/math.h [!_ISOMAC] (__signgam): Declare.
10010         * math/Makefile (libm-calls): Add w_lgamma_compat.
10011         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10012         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10013         test-signgam-ullong-init.
10014         (tests-static): Add test-signgam-uchar-static,
10015         test-signgam-uchar-init-static, test-signgam-uint-static,
10016         test-signgam-uint-init-static, test-signgam-ullong-static and
10017         test-signgam-ullong-init-static.
10018         (CFLAGS-test-signgam-uchar.c): New variable.
10019         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10020         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10021         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10022         (CFLAGS-test-signgam-uint.c): Likewise.
10023         (CFLAGS-test-signgam-uint-init.c): Likewise.
10024         (CFLAGS-test-signgam-uint-static.c): Likewise.
10025         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10026         (CFLAGS-test-signgam-ullong.c): Likewise.
10027         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10028         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10029         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10030         * math/Versions (libm): Add GLIBC_2.23.
10031         * math/lgamma-compat.h: New file.
10032         * math/test-signgam-main.c: Likewise.
10033         * math/test-signgam-uchar-init-static.c: Likewise.
10034         * math/test-signgam-uchar-init.c: Likewise.
10035         * math/test-signgam-uchar-static.c: Likewise.
10036         * math/test-signgam-uchar.c: Likewise.
10037         * math/test-signgam-uint-init-static.c: Likewise.
10038         * math/test-signgam-uint-init.c: Likewise.
10039         * math/test-signgam-uint-static.c: Likewise.
10040         * math/test-signgam-uint.c: Likewise.
10041         * math/test-signgam-ullong-init-static.c: Likewise.
10042         * math/test-signgam-ullong-init.c: Likewise.
10043         * math/test-signgam-ullong-static.c: Likewise.
10044         * math/test-signgam-ullong.c: Likewise.
10045         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10046         wrapper of w_lgamma_main.c.
10047         * math/w_lgamma_compat.c: New file.
10048         * math/w_lgamma_compatf.c: Likewise.
10049         * math/w_lgamma_compatl.c: Likewise.
10050         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10051         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10052         defining compatibility symbols.
10053         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10054         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10055         wrapper of w_lgammaf_main.c.
10056         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10057         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10058         defining compatibility symbols.
10059         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10060         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10061         wrapper of w_lgammal_main.c.
10062         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10063         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10064         defining compatibility symbols.
10065         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10066         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10067         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10068         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10069         <lgamma-compat.h>.
10070         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10071         (__ieee754_gamma): Define as alias.
10072         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10073         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10074         <lgamma-compat.h>.
10075         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10076         (__ieee754_gammaf): Define as alias.
10077         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10078         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10079         <lgamma-compat.h>.
10080         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10081         (__ieee754_gammal): Define as alias.
10082         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10083         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10084         <math/w_lgamma_compat.c>.
10085         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10086         Define as alias of __lgamma_compat and use in defining lgammal.
10087         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10088         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10089         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10090         (USE_AS_COMPAT): New macro.
10091         (LGAMMA_OLD_VER): Undefine and redefine.
10092         (lgammal): Do not define here.
10093         (gammal): Only define here if [GAMMA_ALIAS].
10094         * conform/linknamespace.pl (@whitelist): Remove signgam.
10095         * sysdeps/nacl/libm.abilist: Update.
10096         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10097         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10098         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10099         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10100         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10101         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10102         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10103         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10104         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10105         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10106         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10107         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10109         Likewise.
10110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10111         Likewise.
10112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10113         Likewise.
10114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10115         Likewise.
10116         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10117         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10118         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10119         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10120         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10122         Likewise.
10123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10124         Likewise.
10125         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10126         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10127         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10129 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10131         [BZ #16364]
10132         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10133         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10135 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10137         * sysdeps/s390/fpu/bits/mathinline.h:
10138         Use __asm__ [__volatile__] instead of asm [volatile].
10139         * sysdeps/s390/abort-instr.h: Likewise.
10140         * sysdeps/s390/atomic-machine.h: Likewise.
10141         * sysdeps/s390/bits/string.h: Likewise.
10142         * sysdeps/s390/dl-tls.h: Likewise.
10143         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10144         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10145         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10146         * sysdeps/s390/fpu/fesetround.c: Likewise.
10147         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10148         * sysdeps/s390/fpu/s_fma.c: Likewise.
10149         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10150         * sysdeps/s390/memusage.h: Likewise.
10151         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10152         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10153         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10154         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10155         * sysdeps/s390/nptl/tls.h: Likewise.
10156         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10157         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10158         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10159         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10160         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10161         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10162         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10163         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10164         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10165         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10166         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10167         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10168         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10169         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10170         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10171         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10172         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10173         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10174         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10175         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10176         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10177         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10178         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10180 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10181             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10183         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10184         Add lwarx hint, and use macro for acquire instruction.
10185         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10186         Likewise.
10187         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10188         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10189         update to use new atomic macros.
10191 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10193         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10194         (__lll_trylock_elision): Fix setting of adapt_count.
10195         * sysdeps/unix/sysv/linux/powerpc/htm.h
10196         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10197         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10198         (_ABORT_SYSCALL): Renumber, and clarify definition.
10199         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10201 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10203         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10204         after system headers to prevent MIN/MAX redefinition.  Define
10205         HAVE_ALLOCA to preserve builtin alloca usage.
10207 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10209         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10210         static and don't set or restore rounding.
10211         (__cos)[IN_SINCOS]: Likewise.
10212         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10213         (__sincos): Set and restore rounding mode.  Remove check for infinite
10214         or NaN input.
10216         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10218         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10219         as used.
10221 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10223         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10225 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10227         * config.make.in (have-glob-dat-reloc): New.
10228         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10229         target supports GLOB_DAT relocaton. AC_SUBST.
10230         * configure: Regenerated.
10231         * elf/Makefile (tests): Add tst-prelink.
10232         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10233         (tst-prelink-ENV): New.
10234         ($(objpfx)tst-prelink-conflict.out): Likewise.
10235         ($(objpfx)tst-prelink-cmp.out): Likewise.
10236         * sysdeps/x86/tst-prelink.c: Moved to ...
10237         * elf/tst-prelink.c: Here.
10238         * sysdeps/x86/tst-prelink.exp: Moved to ...
10239         * elf/tst-prelink.exp: Here.
10240         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10241         (tst-prelink-ENV): Removed.
10242         ($(objpfx)tst-prelink-conflict.out): Likewise.
10243         ($(objpfx)tst-prelink-cmp.out): Likewise.
10244         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10246 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10248         [BZ #14551]
10249         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10250         (__mpn_construct_long_double): If high part overflows to infinity,
10251         set errno and recompute overflowed result of the correct sign.
10252         * sysdeps/ieee754/ldbl-128ibm/Makefile
10253         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10254         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10255         $(libm).
10256         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10258 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10260         [BZ #15479]
10261         [BZ #19238]
10262         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10263         floating-point state after first operation on input.  Restore full
10264         state rather than just rounding mode.
10265         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10266         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10267         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10269         [BZ #19235]
10270         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10271         add 0.5 to integer arguments.
10272         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10273         Likewise.
10274         (.LC2): New object.
10276 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10278         * scripts/pylintrc (reports): Set to no.
10280 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10282         * elf/dl-load.c (open_verify): Take new argument FD.
10283         Skip __open call if passed FD is not -1.
10284         (_dl_map_object, open_path): Update callers.
10285         * elf/dl-sysdep-open.h: New file.
10286         * elf/dl-load.c: Include it.
10287         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10288         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10289         * sysdeps/nacl/dl-sysdep-open.h: New file.
10290         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10291         from libc to rtld.
10293 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10295         [BZ #19228]
10296         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10297         and restore full floating-point state.
10298         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10299         Likewise.
10300         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10301         Likewise.
10302         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10303         Likewise.
10304         * math/test-nearbyint-except-2.c: New file.
10305         * math/Makefile (tests): Add test-nearbyint-except-2.
10307 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10309         [BZ #19178]
10310         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10311         (tst-prelink-ENV): New.
10312         ($(objpfx)tst-prelink-conflict.out): Likewise.
10313         ($(objpfx)tst-prelink-cmp.out): Likewise.
10314         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10315         * sysdeps/x86/tst-prelink.c: New file.
10316         * sysdeps/x86/tst-prelink.exp: Likewise.
10318 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10320         * math/auto-libm-test-in: Add another test of pow.
10321         * math/auto-libm-test-out: Regenerated.
10322         * math/libm-test.inc (pow_test_data): Add another test.
10324 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10326         [BZ #19219]
10327         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10328         weak_alias to nearbyintl.
10330 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10332         * sysdeps/aarch64/bits/string.h: New file.
10333         (_STRING_ARCH_unaligned): Define.
10335 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10337         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10338         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10339         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10340         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10343 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10345         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10346         for original name of the DSO.  Add it to the name list of the DSO
10347         if it is actually given.
10348         (_dl_map_object): Keep track of whether an audit module rewrote
10349         the file name.  If yes, pass the original name to
10350         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10351         debugging is enabled, log the change of the file name.
10352         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10353         _dl_map_object_from_fd.
10354         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10355         * elf/tst-audit11.c: New file
10356         * elf/tst-auditmod11.c: New file.
10357         * elf/tst-audit11mod1.c: New file.
10358         * elf/tst-audit11mod2.c: New file.
10359         * elf/tst-audit11mod2.map: New file.
10360         * elf/tst-audit12.c: New file
10361         * elf/tst-auditmod12.c: New file.
10362         * elf/tst-audit12mod1.c: New file.
10363         * elf/tst-audit12mod2.c: New file.
10364         * elf/tst-audit12mod2.map: New file.
10365         * elf/tst-audit12mod3.c: New file.
10367 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10369         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10370         Don't create weak aliases,
10371         because versioned symbols are created later.
10372         * sysdeps/s390/s390-32/setjmp.S
10373         (setjmp, _setjmp): Remove weak and rename to an unique name
10374         in SHARED case due to existing versioned symbols.
10375         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10376         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10377         (getcontext): Create weak alias only in non SHARED case.
10378         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10380 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10382         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10383         (__ASSUME_*_SYSCALL) Define new macros.
10384         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10385         Remove socketcall syscalls.
10386         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10387         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10388         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10389         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10390         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10391         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10393 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10395         [BZ #12926]
10396         Terminate process on invalid netlink response.
10397         * sysdeps/unix/sysv/linux/netlinkaccess.h
10398         (__netlink_assert_response): Declare.
10399         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10400         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10401         (sysdep_routines): Add netlink_assert_response.
10402         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10403         __netlink_assert_response.
10404         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10405         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10406         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10407         __netlink_assert_response.
10409 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10411         [BZ #19178]
10412         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10413         (RTYPE_CLASS_PLT): Likewise.
10414         (RTYPE_CLASS_COPY): Likewise.
10415         (RTYPE_CLASS_TLS): Likewise.
10416         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10417         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10418         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10419         DL_DEBUG_PRELINK.
10421 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10423         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10424         calls with argument -0.5.
10425         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10427         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10428         (libc_cv_z_nodlopen): Likewise.
10429         (libc_cv_z_initfirst): Likewise.
10430         * configure: Regenerated.
10432 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10434         Simplify abilist format to be line-based.
10435         * scripts/abilist.awk: Collect descriptors in the descs variable.
10436         (emit): Write descs variable and sort it
10437         externally, with sort.
10438         * sysdeps/**/*.abilist: Convert to new format.
10440 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10442         [BZ #11460]
10443         * io/Makefile (routines): Add fts64.
10444         (tests): Add tst-fts and tst-fts-lfs.
10445         (CFLAGS-fts64.c): New.
10446         * io/Versions (GLIBC_2.23): New.
10447         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10448         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10449         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10450         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10451         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10452         (FTSENT64): Likewise.
10453         (fts64_children): Likewise.
10454         (fts64_close): Likewise.
10455         (fts64_open): Likewise.
10456         (fts64_read): Likewise.
10457         (fts64_set): Likewise.
10458         * io/fts64.c: New file.
10459         * io/tst-fts.c: New test.
10460         * io/tst-fts-lfs.c: Likewise.
10461         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10462         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10463         fts64_set.
10464         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10465         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10466         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10467         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10468         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10469         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10470         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10471         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10472         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10473         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10474         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10475         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10476         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10478         Likewise.
10479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10480         Likewise.
10481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10483         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10484         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10485         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10486         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10487         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10490         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10491         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10492         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10493         * sysdeps/wordsize-64/fts.c: New file.
10494         * sysdeps/wordsize-64/fts64.c: Likewise.
10495         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10496         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10497         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10498         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10500 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10502         * math/libm-test.inc (NON_FINITE): New macro.
10503         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10504         * math/gen-libm-test.pl (show_exceptions): Add argument
10505         $non_finite.
10506         (parse_args): Update call to show_exceptions.
10507         * math/test-math-finite.h: New file.
10508         * math/test-math-no-finite.h: Likewise.
10509         * math/test-double-finite.c: Likewise.
10510         * math/test-float-finite.c: Likewise.
10511         * math/test-ldouble-finite.c: Likewise.
10512         * math/test-double.c: Include "test-math-no-finite.h".
10513         * math/test-float.c: Include "test-math-no-finite.h".
10514         * math/test-ldouble.c: Include "test-math-no-finite.h".
10515         * math/test-math-inline.h (TEST_FINITE): New macro.
10516         * math/test-math-vector.h (TEST_FINITE): Likewise.
10517         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10518         (libm-tests): Add test-float-finite and test-double-finite.
10519         ($(objpfx)test-float-finite.o): New dependency on
10520         $(objpfx)libm-test.stmp.
10521         ($(objpfx)test-double-finite.o): Likewise.
10522         ($(objpfx)test-ldouble-finite.o): Likewise.
10523         (libm-test-no-inline-cflags): New variable.
10524         (libm-test-finite-cflags): Likewise.
10525         (CFLAGS-test-float-finite.c): Likewise.
10526         (CFLAGS-test-double-finite.c): Likewise.
10527         (CFLAGS-test-ldouble-finite.c): Likewise.
10528         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10529         (CFLAGS-test-double.c): Likewise.
10530         (CFLAGS-test-ldouble.c): Likewise.
10532 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10534         * io/fcntl.c (__fcntl): Add ... to prototype.
10535         * misc/ioctl.c (__ioctl): Likewise.
10536         * misc/syscall.c (syscall): Likewise.
10538 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10540         * scripts/list-fixed-bugs.py: New file.
10542         [BZ #19213]
10543         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10544         returned for argument 1.
10545         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10546         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10547         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10548         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10549         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10550         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10552         [BZ #19211]
10553         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10554         __USE_XOPEN], not if [!__USE_ISOC99].
10555         (lgammaf): Likewise.
10556         (lgammal): Likewise.
10557         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10558         (gammaf): Likewise.
10559         (gammal): Likewise.
10560         * math/test-signgam-finite-c11.c: New file.
10561         * math/test-signgam-finite-c99.c: Likewise.
10562         * math/test-signgam-finite.c: Likewise.
10563         * math/Makefile (tests): Add test-signgam-finite,
10564         test-signgam-finite-c99 and test-signgam-finite-c11.
10565         (CFLAGS-test-signgam-finite.c): New variable.
10566         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10567         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10569         [BZ #19212]
10570         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10571         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10572         500].
10573         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10574         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10575         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10576         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10577         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10578         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10579         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10580         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10581         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10582         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10584         [BZ #19209]
10585         * math/bits/math-finite.h (ldexp): Remove declaration.
10586         (ldexpf): Likewise.
10587         (ldexpl): Likewise.
10589         [BZ #19205]
10590         * math/bits/math-finite.h (acosf): Condition declaration on
10591         [__USE_ISOC99].
10592         (acosl): Likewise.
10593         (acoshf): Likewise.
10594         (acoshl): Likewise.
10595         (asinf): Likewise.
10596         (asinl): Likewise.
10597         (atan2f): Likewise.
10598         (atan2l): Likewise.
10599         (atanhf): Likewise.
10600         (atanhl): Likewise.
10601         (coshf): Likewise.
10602         (coshl): Likewise.
10603         (expf): Likewise.
10604         (expl): Likewise.
10605         (fmodf): Likewise.
10606         (fmodl): Likewise.
10607         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10608         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10609         (j0l): Likewise.
10610         (y0f): Likewise.
10611         (y0l): Likewise.
10612         (j1f): Likewise.
10613         (j1l): Likewise.
10614         (y1f): Likewise.
10615         (y1l): Likewise.
10616         (jnf): Likewise.
10617         (jnl): Likewise.
10618         (ynf): Likewise.
10619         (ynl): Likewise.
10620         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10621         (lgammal_r): Likewise.
10622         (__lgamma_r_finite): New declaration.
10623         (__lgammaf_r_finite): Likewise.
10624         (__lgammal_r_finite): Likewise.
10625         (lgamma): Use __lgamma_r_finite.
10626         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10627         __lgammaf_r_finite.
10628         (lgammal): Condition definition on [__USE_ISOC99].  Use
10629         __lgammal_r_finite.
10630         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10631         __lgamma_r_finite.
10632         (gammaf): Condition definition on [__USE_ISOC99].  Use
10633         __lgammaf_r_finite.
10634         (gammal): Condition definition on [__USE_ISOC99].  Use
10635         __lgammal_r_finite.
10636         (logf): Condition declaration on [__USE_ISOC99].
10637         (logl): Likewise.
10638         (log10f): Likewise.
10639         (log10l): Likewise.
10640         (ldexpf): Likewise.
10641         (ldexpl): Likewise.
10642         (powf): Likewise.
10643         (powl): Likewise.
10644         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10645         __USE_ISOC99].
10646         (remainderf): Condition declaration on [__USE_ISOC99].
10647         (remainderl): Likewise.
10648         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10649         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10650         (scalbl): Likewise.
10651         (sinhf): Condition declaration on [__USE_ISOC99].
10652         (sinhl): Likewise.
10653         (sqrtf): Likewise.
10654         (sqrtl): Likewise.
10656 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10658         * sysdeps/arm/atomic-machine.h
10659         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10660         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10661         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10662         Remove conditional code.
10663         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10664         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10665         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10666         Change conditional to [__ASSEMBLER__].
10667         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10668         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10669         [!__ASSEMBLER__].
10670         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10671         code.
10672         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10673         conditional macro definitions.
10674         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10675         (__arch_compare_and_exchange_val_16_acq): Likewise.
10676         (__arch_compare_and_exchange_val_32_acq): Likewise.
10677         (atomic_exchange_and_add): Likewise.
10678         (atomic_add): Likewise.
10679         (atomic_add_negative): Likewise.
10680         (atomic_add_zero): Likewise.
10681         (atomic_bit_set): Likewise.
10682         (atomic_bit_test_set): Likewise.
10683         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10684         code unconditional.
10685         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10687         * math/test-math-errno.h: New file.
10688         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10689         empty.
10690         (TEST_ERRNO): New macro.
10691         (TEST_EXCEPTIONS): Likewise.
10692         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10693         (TEST_EXCEPTIONS): Likewise.
10694         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10695         * math/test-double.c: Include "test-math-errno.h".
10696         * math/test-float.c: Likewise.
10697         * math/test-ldouble.c: Likewise.
10698         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10699         code unconditional.
10700         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10701         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10702         unconditional.
10703         (test_errno): Only run code if TEST_ERRNO.
10704         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10706 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10708         * nptl/tst-once5.cc: Remove attribution.
10710 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10712         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10713         sqrt, tan, tanh, y0, y1 and yn.
10714         * math/auto-libm-test-out: Regenerated.
10715         * math/libm-test.inc (scalb_test_data): Add more tests.
10716         (scalbn_test_data): Likewise.
10717         (scalbln_test_data): Likewise.
10718         (signbit_test_data): Likewise.
10719         (sin_test_data): Likewise.
10720         (sincos_test_data): Likewise.
10721         (sinh_test_data): Likewise.
10722         (sqrt_test_data): Likewise.
10723         (tan_test_data): Likewise.
10724         (tanh_test_data): Likewise.
10725         (tgamma_test_data): Likewise.
10726         (y0_test_data): Likewise.
10727         (y1_test_data): Likewise.
10728         (yn_test_data): Likewise.
10729         (significand_test_data): Likewise.
10730         * sysdeps/i386/fpu/libm-test-ulps: Update.
10732 2015-11-03  David Kastrup  <dak@gnu.org>
10734         [BZ #18604]
10735         * assert/assert.h (assert): Don't macro-expand failed assertion
10736         expression in error message.
10737         * malloc/malloc.c (assert): Likewise.
10739 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10741         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10742         test.
10743         * configure: Regenerated.
10745 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10747         * math/libm-test.inc (modf_test_data): Add more tests.
10748         (nearbyint_test_data): Likewise.
10749         (nextafter_test_data): Likewise.
10750         (nexttoward_test_data): Likewise.
10751         (pow_test_data): Likewise.
10752         (remainder_test_data): Likewise.
10753         (remquo_test_data): Likewise.
10754         (rint_test_data): Likewise.
10756         [BZ #19201]
10757         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10758         Check for zero remainder in case of large exponents and ensure
10759         correct sign of result in that case.
10760         * math/libm-test.inc (remainder_test_data): Add more tests.
10762         [BZ #6799]
10763         * math/s_nextafter.c: Include <errno.h>.
10764         (__nextafter): Set errno on overflow and underflow.
10765         * math/s_nexttowardf.c: Include <errno.h>.
10766         (__nexttowardf): Set errno on overflow and underflow.
10767         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10768         (__nextafterl): Set errno on overflow and underflow.
10769         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10770         (__nexttoward): Set errno on overflow and underflow.
10771         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10772         (__nexttowardf): Set errno on overflow and underflow.
10773         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10774         (__nextafterf): Set errno on overflow and underflow.
10775         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10776         (__nextafterl): Set errno on overflow and underflow.
10777         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10778         (__nexttoward): Set errno on overflow and underflow.
10779         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10780         (__nexttowardf): Set errno on overflow and underflow.
10781         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10782         (__nextafterl): Set errno on overflow and underflow.
10783         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10784         (__nexttoward): Set errno on overflow and underflow.
10785         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10786         (__nexttowardf): Set errno on overflow and underflow.
10787         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10788         (__nexttoward): Set errno on overflow and underflow.
10789         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10790         (__nexttowardf): Set errno on overflow and underflow.
10791         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10792         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10793         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10794         (__nextafterl): Set errno on overflow and underflow.
10795         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10796         setting to be missing on overflow.  Add more tests.
10797         (nexttoward_test_data): Likewise.
10799         * configure.ac (libc_cv_initfini_array): Remove configure test.
10800         * configure: Regenerated.
10802 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10804         [BZ #19189]
10805         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10806         non-finite argument handle arguments with negative sign.
10808         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10809         result from infinite argument.
10810         (j1_test_data): Likewise.
10811         (jn_test_data): Likewise.
10812         (y0_test_data): Likewise.
10813         (y1_test_data): Likewise.
10814         (yn_test_data): Likewise.
10816         [BZ #16171]
10817         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10818         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10819         * math/w_remainderf.c (dremf): Define as weak alias of
10820         __remainderf.
10821         * math/w_remainderl.c (dreml): Define as weak alias of
10822         __remainderl.
10823         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10824         __remainder.
10825         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10826         __remainderf.
10827         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10828         __remainderl.
10829         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10830         weak alias of remainderl.
10831         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10832         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10833         alias of __remainder.
10834         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10835         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10836         strong alias of __remainderl.
10837         (dreml): Use long_double_symbol.
10838         * math/Makefile (libm-calls): Remove w_drem.
10839         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10840         (CFLAGS-nldbl-drem.c): Remove variable.
10841         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10842         * math/w_drem.c: Remove file.
10843         * math/w_dremf.c: Likewise.
10844         * math/w_dreml.c: Likewise.
10845         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10846         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10847         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10849         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10850         * sysdeps/i386/configure: Regenerated.
10851         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10852         * sysdeps/x86_64/configure: Regenerated.
10854         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10855         test.
10856         (libc_cv_visibility_attribute): Likewise.
10857         (libc_cv_protected_data): Test unconditionally.
10858         (libc_cv_broken_visibility_attribute): Remove configure test.
10859         (libc_cv_have_sdata_section): Test unconditionally.
10860         * configure: Regenerated.
10862         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10863         * include/scratch_buffer.h: Include <stddef.h> instead of
10864         <libc-internal.h>.
10865         (struct scratch_buffer): Use max_align_t instead of
10866         libc_max_align_t.
10868 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10870         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10871         instead of extend_alloca.  Change control flow to avoid a goto.
10872         Remove assert which is trivially always true.
10874 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10876         [BZ #16068]
10877         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10878         (FE_ALL_EXCEPT_X86): New macro.
10879         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10880         FE_ALL_EXCEPT.  Ensure precision control is included in
10881         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10882         handle "denormal operand exception" and clear FZ and DAZ bits.
10883         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10884         (FE_ALL_EXCEPT_X86): New macro.
10885         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10886         FE_ALL_EXCEPT.  Ensure precision control is included in
10887         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10888         handle "denormal operand exception" and clear FZ and DAZ bits.
10889         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10890         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10891         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10892         test-fenv-x87 and test-fenv-sse-2.
10893         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10895         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10896         * math/test-double.h (BUILD_COMPLEX): New macro.
10897         * math/test-float.h (BUILD_COMPLEX): Likewise.
10898         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10900         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10901         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10902         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10903         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10904         instead of DBL_DENORM_MIN in comment.
10905         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10906         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10907         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10908         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10909         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10910         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10912 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10914         [BZ# 19048]
10915         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10916         attached_threads member.
10917         (main_arena): Initialize attached_threads.
10918         * malloc/arena.c (list_lock): Update comment.
10919         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10920         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10921         (deattach_arena): New function.
10922         (_int_new_arena): Initialize arena reference count and deattach
10923         replaced arena.
10924         (get_free_list, reused_arena): Update reference count and deattach
10925         replaced arena.
10926         (arena_thread_freeres): Update arena reference count and only put
10927         unreferenced arenas on the free list.
10929 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10931         [BZ #19181]
10932         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10933         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10934         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10935         * math/test-fenv-clear-main.c: New file.
10936         * math/test-fenv-clear.c: Likewise.
10937         * math/Makefile (tests): Add test-fenv-clear.
10938         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10939         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10940         test-fenv-clear-sse.
10941         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10943         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10944         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10945         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10947 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10949         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10950         static libc.
10952 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10954         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10955         test.
10956         * sysdeps/i386/configure: Regenerated.
10957         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10958         test.
10959         * sysdeps/x86_64/configure: Regenerated.
10960         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10962         memset-avx2 unconditionally instead of conditionally on
10963         [$(config-cflags-avx2) = yes].
10964         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10965         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10966         unconditional.
10967         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10968         * sysdeps/x86_64/multiarch/memset_chk.S
10969         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10970         to [IS_IN (libc) && SHARED].
10972 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10974         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10975         configure test.
10976         * sysdeps/arm/configure: Regenerated.
10977         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10978         Define variable if not already defined.
10980         [BZ #17404]
10981         * sysdeps/mips/atomic-machine.h
10982         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10983         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10984         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10986         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10987         unconditional.
10988         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10989         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10990         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10991         unconditional.
10992         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10993         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10994         unconditional.
10995         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10996         * stdlib/setenv.c
10997         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10998         code unconditional.
10999         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11000         Remove conditional code.
11001         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11002         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11003         unconditional.
11004         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11005         code.
11006         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11007         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11008         unconditional.
11009         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11010         code.
11011         * sysdeps/ieee754/ldbl-128/k_tanl.c
11012         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11013         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11014         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11015         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11016         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11017         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11018         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11019         unconditional.
11020         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11021         code.
11022         * sysdeps/ieee754/ldbl-96/k_tanl.c
11023         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11024         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11026         * nptl/tst-initializers1-c11.c: New file.
11027         * nptl/tst-initializers1-gnu11.c: Likewise.
11028         * nptl/Makefile (tests): Add these new tests.
11029         (CFLAGS-tst-initializers1-c11.c): New variable.
11030         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11032         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11033         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11034         instead of -std=gnu99.
11035         * configure.ac (systemtap): Test with -std=gnu11 instead of
11036         -std=gnu99.
11037         * configure: Regenerated.
11038         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11039         in compilation command in comment.
11041         * sysdeps/nptl/configure.ac: Remove file.
11042         * sysdeps/nptl/configure: Remove generated file.
11043         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11044         * configure: Regenerated.
11045         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11046         * config.make.in (have-forced-unwind): Remove variable.
11047         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11048         unconditional.
11049         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11050         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11051         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11052         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11053         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11054         unconditional.
11056 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11058         [BZ #19174]
11059         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11060         .skip_lock_out_of_tbegin_retries.
11061         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11062         (__lll_lock_elision): Likewise, and respect a value of
11063         try_tbegin <= 0.
11065 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11067         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11068         statement.
11070 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11072         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11073         variable.
11074         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11075         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11077         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11078         of -std=c1x -D_ISOC11_SOURCE.
11080         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11081         * configure: Regenerated.
11082         * manual/install.texi (Tools for Compilation): Document
11083         requirement for GCC 4.7 or later.
11084         * INSTALL: Regenerated.
11086 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11088         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11089         on CNT to a conditional jump to 'puntdata'.
11091 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11093         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11094         (libc_cv_gcc_tls_model_attr): Likewise.
11095         * configure: Regenerated.
11097         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11098         * configure: Regenerated.
11099         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11101 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11103         * configure.ac (old_glibc_headers): Remove configure test.
11104         * configure: Regenerated.
11105         * config.make.in (old-glibc-headers): Remove variable.
11106         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11107         (install): Remove dependency on remove-old-headers.
11108         (headers2_0): Remove variable.
11109         (remove-old-headers): Remove rule.
11111         * configure.ac (libc_cv_dot_text): Remove configure test.
11112         (libc_cv_asm_set_directive): Use .text instead of
11113         ${libc_cv_dot_text} in configure test.
11114         * configure: Regenerated.
11116 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11118         [BZ #19168]
11119         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11121 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11123         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11124         not support static linking.
11125         * configure: Regenerate.
11127 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11129         * math/libm-test.inc (check_float_internal): Do not special-case
11130         errors up to 0.5 ulp.
11132         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11133         log2.
11134         * math/auto-libm-test-out: Regenerated.
11135         * math/libm-test.inc (MAX_EXP): New macro.
11136         (ilogb_test_data): Add more tests.
11137         (isfinite_test_data): Likewise.
11138         (isgreater_test_data): Likewise.
11139         (isgreaterequal_test_data): Likewise.
11140         (isinf_test_data): Likewise.
11141         (isless_test_data): Likewise.
11142         (islessequal_test_data): Likewise.
11143         (islessgreater_test_data): Likewise.
11144         (isnan_test_data): Likewise.
11145         (isnormal_test_data): Likewise.
11146         (issignaling_test_data): Likewise.
11147         (isunordered_test_data): Likewise.
11148         (j0_test_data): Likewise.
11149         (j1_test_data): Likewise.
11150         (jn_test_data): Likewise.
11151         (lgamma_test_data): Likewise.
11152         (log_test_data): Likewise.
11153         (log10_test_data): Likewise.
11154         (log1p_test_data): Likewise.
11155         (log2_test_data): Likewise.
11156         (logb_test_data): Likewise.
11157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11159         [BZ #18611]
11160         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11161         avoid excess range and precision on underflow.
11162         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11163         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11164         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11165         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11166         underflow.
11167         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11168         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11169         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11170         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11171         * math/auto-libm-test-in: Do not allow missing errno setting for
11172         tests of j1 and jn.
11173         * math/auto-libm-test-out: Regenerated.
11175 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11177         [BZ #15491]
11178         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11179         floating-point environment instead of clearing all exceptions.
11180         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11181         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11182         merging in "invalid" exceptions from frndint.
11183         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11184         * math/test-nearbyint-except.c: New file.
11185         * math/Makefile (tests): Add test-nearbyint-except.
11187 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11189         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11191         * sysdeps/tile/libm-test-ulps: Regenerated.
11193 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11196         (__NR_sync_file_range2): Assume it is always defined.
11197         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11198         (__NR_sync_file_range): Assume it is always defined.
11200 2015-10-22  Andreas Schwab  <schwab@suse.de>
11202         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11203         INTERNAL_SYSCALL_ERRNO.
11204         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11205         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11206         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11207         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11208         Likewise.
11209         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11211 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11213         * io/tst-fcntl.c (fd): New static variable.
11214         (do_prepare): Open temporary file here....
11215         (do_test): ...not here.
11217         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11219 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11221         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11222         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11223         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11224         Moved before "#ifdef __ASSEMBLER__".
11226 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11228         [BZ #19156]
11229         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11230         arguments very close to 0.
11232 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11234         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11235         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11237 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11239         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11240         New.  Defined for GCC 5 and above when not compiling for
11241         profiling.
11242         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11244         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11245         Renamed to ...
11246         (CFLAGS-epoll_pwait.o): This.
11247         (CFLAGS-mmap.c): Renamed to ...
11248         (CFLAGS-mmap.o): This.
11249         (CFLAGS-mmap64.c): Renamed to ...
11250         (CFLAGS-mmap64.o): This.
11251         (CFLAGS-epoll_pwait.os): New.
11252         (CFLAGS-mmap.os): Likewise.
11253         (CFLAGS-mmap64.os): Likewise.
11254         (CFLAGS-semtimedop.os): Likewise.
11255         (CFLAGS-semtimedop.c): Renamed to ...
11256         (CFLAGS-semtimedop.o): This.
11258 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11260         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11261         warning message.
11263 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11265         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11266         * Makefile ($(objpfx)c++-types-check.out): Filter out
11267         $(+gccwarn-c) instead of -Wstrict-prototypes.
11269         * io/fts.c (fts_open): Convert to prototype-style function
11270         definition.
11271         * malloc/mcheck.c (mcheck): Likewise.
11272         (mcheck_pedantic): Likewise.
11273         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11274         internal_function.
11275         (re_search_internal): Likewise.
11276         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11277         prototype-style function definition.
11278         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11279         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11280         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11281         (xdr_utmpptr): Likewise.
11282         (xdr_utmparr): Likewise.
11283         (xdr_utmpidle): Likewise.
11284         (xdr_utmpidleptr): Likewise.
11285         (xdr_utmpidlearr): Likewise.
11287         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11288         log, log10 and log2.
11289         * math/auto-libm-test-out: Regenerated.
11290         * math/libm-test.inc (fmod_test_data): Add more tests.
11291         (fpclassify_test_data): Likewise.
11292         (frexp_test_data): Likewise.
11293         (hypot_test_data): Likewise.
11294         (ilogb_test_data): Likewise.
11296 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11298         * debug/fortify_fail.c (__fortify_fail): Convert to
11299         prototype-style function definition.  Use internal_function.
11300         * libio/genops.c (save_for_backup): Convert to prototype-style
11301         function definition.
11302         * libio/wgenops.c (save_for_wbackup): Likewise.
11303         * login/grantpt.c (grantpt): Likewise.
11304         * login/ptsname.c (ptsname): Likewise.
11305         (__ptsname_r): Likewise.
11306         * login/unlockpt.c (unlockpt): Likewise.
11307         * mach/msgserver.c (__mach_msg_server): Likewise.
11308         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11309         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11310         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11311         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11312         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11313         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11314         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11315         Likewise.
11316         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11317         internal_function.
11318         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11319         prototype-style function definition.
11320         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11321         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11322         (__pthread_create_2_0): Likewise.
11323         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11324         * nptl/register-atfork.c (__register_atfork): Likewise.
11325         * posix/glob.c (glob): Likewise.
11326         * posix/regcomp.c (re_comp): Likewise.
11327         * posix/regexec.c (re_exec): Likewise.
11328         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11329         [!__STDC__]: Remove conditional code.
11330         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11331         [!__STDC__]: Remove conditional code.
11332         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11333         [!__STDC__]: Remove conditional code.
11334         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11335         [!__STDC__]: Remove conditional code.
11336         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11337         [!__STDC__]: Remove conditional code.
11338         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11339         [!__STDC__]: Remove conditional code.
11340         * stdlib/mul.c [__STDC__]: Make code unconditional.
11341         [!__STDC__]: Remove conditional code.
11342         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11343         [!__STDC__]: Remove conditional code.
11344         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11345         [!__STDC__]: Remove conditional code.
11346         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11347         function definition.
11348         (STRTOF): Likewise.
11349         * stdlib/strtod_l.c (__STRTOF): Likewise.
11350         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11351         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11352         (__strtol_l): Likewise.
11353         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11354         [!__STDC__]: Remove conditional code.
11355         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11356         definition.
11357         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11358         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11359         type.
11360         (__strcasecmp): Convert to prototype-style function definition.
11361         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11362         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11363         type.
11364         (__strncasecmp): Convert to prototype-style function definition.
11365         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11366         * sunrpc/xdr.c (xdr_union): Likewise.
11367         * sunrpc/xdr_array.c (xdr_array): Likewise.
11368         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11369         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11370         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11371         Likewise.
11372         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11373         Likewise.
11374         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11375         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11376         Likewise.
11377         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11378         (LOCALE_PARAM_PROTO): Likewise.
11379         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11380         argument type.
11381         (ut_argument_spec): Remove macro.
11382         (ut_argument_spec_iso): Rename to ut_argument_spec.
11383         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11384         prototype-style function definition.
11385         (memcpy_uppcase): Likewise.
11386         (__strftime_internal): Likewise.
11387         (my_strftime): Likewise.
11388         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11389         (LOCALE_PARAM_DECL): Likewise.
11390         [_LIBC] (LOCALE_PARAM): Include argument type.
11391         (__strptime_internal): Convert to prototype-style function
11392         definition.
11393         (strptime): Likewise.
11394         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11395         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11396         type.
11397         (__wcscasecmp): Convert to prototype-style function definition.
11398         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11399         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11400         type.
11401         (__wcsncasecmp): Convert to prototype-style function definition.
11403         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11404         function definition.
11405         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11406         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11407         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11408         * elf/dl-minimal.c (_itoa): Likewise.
11409         * hurd/hurdmalloc.c (malloc): Likewise.
11410         (free): Likewise.
11411         (realloc): Likewise.
11412         * inet/inet6_option.c (inet6_option_space): Likewise.
11413         (inet6_option_init): Likewise.
11414         (inet6_option_append): Likewise.
11415         (inet6_option_alloc): Likewise.
11416         (inet6_option_next): Likewise.
11417         (inet6_option_find): Likewise.
11418         * io/ftw.c (FTW_NAME): Likewise.
11419         (NFTW_NAME): Likewise.
11420         (NFTW_NEW_NAME): Likewise.
11421         (NFTW_OLD_NAME): Likewise.
11422         * libio/iofwide.c (_IO_fwide): Likewise.
11423         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11424         (_IO_str_init_static): Likewise.
11425         (_IO_str_init_readonly): Likewise.
11426         (_IO_str_overflow): Likewise.
11427         (_IO_str_underflow): Likewise.
11428         (_IO_str_count): Likewise.
11429         (_IO_str_seekoff): Likewise.
11430         (_IO_str_pbackfail): Likewise.
11431         (_IO_str_finish): Likewise.
11432         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11433         (_IO_wstr_overflow): Likewise.
11434         (_IO_wstr_underflow): Likewise.
11435         (_IO_wstr_count): Likewise.
11436         (_IO_wstr_seekoff): Likewise.
11437         (_IO_wstr_pbackfail): Likewise.
11438         (_IO_wstr_finish): Likewise.
11439         * locale/programs/localedef.c (normalize_codeset): Likewise.
11440         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11441         (add_locales_to_archive): Likewise.
11442         (delete_locales_from_archive): Likewise.
11443         * malloc/malloc.c (__libc_mallinfo): Likewise.
11444         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11445         * misc/tsearch.c (__tfind): Likewise.
11446         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11447         * nptl/pthread_attr_getdetachstate.c
11448         (__pthread_attr_getdetachstate): Likewise.
11449         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11450         Likewise.
11451         * nptl/pthread_attr_getinheritsched.c
11452         (__pthread_attr_getinheritsched): Likewise.
11453         * nptl/pthread_attr_getschedparam.c
11454         (__pthread_attr_getschedparam): Likewise.
11455         * nptl/pthread_attr_getschedpolicy.c
11456         (__pthread_attr_getschedpolicy): Likewise.
11457         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11458         Likewise.
11459         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11460         Likewise.
11461         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11462         Likewise.
11463         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11464         Likewise.
11465         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11466         (__pthread_attr_init_2_0): Likewise.
11467         * nptl/pthread_attr_setdetachstate.c
11468         (__pthread_attr_setdetachstate): Likewise.
11469         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11470         Likewise.
11471         * nptl/pthread_attr_setinheritsched.c
11472         (__pthread_attr_setinheritsched): Likewise.
11473         * nptl/pthread_attr_setschedparam.c
11474         (__pthread_attr_setschedparam): Likewise.
11475         * nptl/pthread_attr_setschedpolicy.c
11476         (__pthread_attr_setschedpolicy): Likewise.
11477         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11478         Likewise.
11479         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11480         Likewise.
11481         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11482         Likewise.
11483         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11484         Likewise.
11485         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11486         Likewise.
11487         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11488         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11489         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11490         use internal_function.
11491         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11492         prototype-style function definition.
11493         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11494         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11495         internal_function.
11496         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11497         Convert to prototype-style function definition.
11498         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11499         Likewise.
11500         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11501         Likewise.
11502         (__pthread_mutex_unlock): Likewise.
11503         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11504         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11505         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11506         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11507         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11508         * nss/makedb.c (process_input): Likewise.
11509         * posix/fnmatch.c (__strchrnul): Likewise.
11510         (__wcschrnul): Likewise.
11511         (fnmatch): Likewise.
11512         * posix/fnmatch_loop.c (FCT): Likewise.
11513         * posix/glob.c (globfree): Likewise.
11514         (__glob_pattern_type): Likewise.
11515         (__glob_pattern_p): Likewise.
11516         * posix/regcomp.c (re_compile_pattern): Likewise.
11517         (re_set_syntax): Likewise.
11518         (re_compile_fastmap): Likewise.
11519         (regcomp): Likewise.
11520         (regerror): Likewise.
11521         (regfree): Likewise.
11522         * posix/regexec.c (regexec): Likewise.
11523         (re_match): Likewise.
11524         (re_search): Likewise.
11525         (re_match_2): Likewise.
11526         (re_search_2): Likewise.
11527         (re_search_stub): Likewise.  Use internal_function
11528         (re_copy_regs): Likewise.
11529         (re_set_registers): Convert to prototype-style function
11530         definition.
11531         (prune_impossible_nodes): Likewise.  Use internal_function.
11532         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11533         prototype-style function definition.
11534         (inet_net_pton_ipv4): Likewise.
11535         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11536         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11537         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11538         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11539         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11540         Make variadic.
11541         * time/strptime_l.c (localtime_r): Convert to prototype-style
11542         function definition.
11543         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11544         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11545         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11546         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11548         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11549         definition.
11550         (_ufc_doit_r): Likewise.
11551         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11552         (_ufc_output_conversion_r): Likewise.
11553         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11554         * inet/rcmd.c (rcmd_af): Likewise.
11555         (rcmd): Likewise.
11556         (ruserok_af): Likewise.
11557         (ruserok): Likewise.
11558         (ruserok2_sa): Likewise.
11559         (ruserok_sa): Likewise.
11560         (iruserok_af): Likewise.
11561         (iruserok): Likewise.
11562         (__ivaliduser): Likewise.
11563         (__validuser2_sa): Likewise.
11564         * inet/rexec.c (rexec_af): Likewise.
11565         (rexec): Likewise.
11566         * inet/ruserpass.c (ruserpass): Likewise.
11567         * locale/programs/xmalloc.c (xcalloc): Likewise.
11568         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11569         * math/w_drem.c (__drem): Likewise.
11570         * math/w_dremf.c (__dremf): Likewise.
11571         * math/w_dreml.c (__dreml): Likewise.
11572         * misc/daemon.c (daemon): Likewise.
11573         * resolv/res_debug.c (p_fqnname): Likewise.
11574         * stdlib/div.c (div): Likewise.
11575         * string/memcmp.c (memcmp_bytes): Likewise.
11576         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11577         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11579         * crypt/cert.c (main): Convert to prototype-style function
11580         definition.
11581         * io/pipe.c (__pipe): Likewise.
11582         * io/pipe2.c (__pipe2): Likewise.
11583         * misc/futimesat.c (futimesat): Likewise.
11584         * misc/utimes.c (__utimes): Likewise.
11585         * posix/execve.c (__execve): Likewise.
11586         * posix/execvp.c (execvp): Likewise.
11587         * posix/execvpe.c (__execvpe): Likewise.
11588         * posix/fexecve.c (fexecve): Likewise.
11589         * socket/socketpair.c (socketpair): Likewise.
11590         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11591         * stdlib/erand48.c (erand48): Likewise.
11592         * stdlib/erand48_r.c (__erand48_r): Likewise.
11593         * stdlib/jrand48.c (jrand48): Likewise.
11594         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11595         * stdlib/lcong48.c (lcong48): Likewise.
11596         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11597         * stdlib/nrand48.c (nrand48): Likewise.
11598         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11599         * stdlib/seed48.c (seed48): Likewise.
11600         * stdlib/seed48_r.c (__seed48_r): Likewise.
11601         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11602         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11603         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11605 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11607         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11608         * configure: Regenerated.
11609         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11610         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11611         unconditional.
11612         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11613         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11614         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11615         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11616         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11617         unconditional.
11618         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11620         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11621         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11623         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11624         function definition.
11625         * crypt/crypt_util.c (__encrypt_r): Likewise.
11626         * libio/genops.c (_IO_no_init): Likewise.
11627         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11628         (_IO_old_fopencookie): Likewise.
11629         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11630         * libio/iogetline.c (_IO_getline): Likewise.
11631         (_IO_getline_info): Likewise.
11632         * libio/iogetwline.c (_IO_getwline): Likewise.
11633         (_IO_getwline_info): Likewise.
11634         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11635         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11636         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11637         (find_entry): Likewise.
11638         (iterate_table): Likewise.
11639         (lookup): Likewise.
11640         * login/forkpty.c (forkpty): Likewise.
11641         * misc/hsearch_r.c (__hsearch_r): Likewise.
11642         * misc/select.c (__select): Likewise.
11643         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11644         Likewise.
11645         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11646         Likewise.
11647         * nptl/old_pthread_cond_timedwait.c
11648         (__pthread_cond_timedwait_2_0): Likewise.
11649         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11650         * nptl/pthread_barrierattr_getpshared.c
11651         (pthread_barrierattr_getpshared): Likewise.
11652         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11653         Likewise.
11654         * nptl/pthread_mutex_setprioceiling.c
11655         (pthread_mutex_setprioceiling): Likewise.
11656         * nptl/pthread_mutexattr_getprioceiling.c
11657         (pthread_mutexattr_getprioceiling): Likewise.
11658         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11659         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11660         Likewise.
11661         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11662         Likewise.
11663         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11664         Likewise.
11665         * socket/recvfrom.c (__recvfrom): Likewise.
11666         * socket/sendto.c (__sendto): Likewise.
11667         * socket/setsockopt.c (__setsockopt): Likewise.
11668         * stdio-common/_itoa.c (_itoa): Likewise.
11669         * stdio-common/_itowa.c (_itowa): Likewise.
11670         * stdio-common/reg-printf.c (__register_printf_specifier):
11671         Likewise.
11672         (__register_printf_function): Likewise.
11673         * stdio-common/tempname.c (__path_search): Likewise.
11674         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11675         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11676         * stdlib/random_r.c (__initstate_r): Likewise.
11677         * stdlib/setenv.c (__add_to_environ): Likewise.
11678         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11679         * streams/getpmsg.c (getpmsg): Likewise.
11680         * streams/putmsg.c (putmsg): Likewise.
11681         * streams/putpmsg.c (putpmsg): Likewise.
11682         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11683         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11684         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11685         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11686         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11687         * sunrpc/svc_udp.c (cache_get): Likewise.
11688         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11689         * sysdeps/mach/hurd/getcwd.c
11690         (__canonicalize_directory_name_internal): Likewise.
11691         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11692         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11693         * sysdeps/mach/hurd/select.c (__select): Likewise.
11694         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11695         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11696         * sysdeps/sparc/nptl/pthread_barrier_init.c
11697         (__pthread_barrier_init): Likewise.
11698         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11699         (__pthread_cond_timedwait): Likewise.
11700         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11701         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11702         Likewise.
11703         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11704         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11705         Likewise.
11706         * sysvipc/semtimedop.c (semtimedop): Likewise.
11707         * time/setitimer.c (__setitimer): Likewise.
11708         * time/strftime_l.c (emacs_strftime): Likewise.
11710 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11712         * config.make.in (have-ssp): Delete.
11713         (stack-protector): New variable.
11714         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11715         cache test for -fstack-protector-strong.  Export stack_protector to
11716         the best ssp flag.
11717         * configure: Regenerated.
11718         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11719         * nscd/Makefile (CFLAGS-nscd): Likewise.
11720         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11722 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11724         [BZ #19122]
11725         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11726         attribute_hidden.
11728 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11730         [BZ #18743]
11731         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11732         code to...
11733         (ELIDE_LOCK): ...here.
11734         (__get_new_count): New function with part of the code from
11735         __elide_lock that updates the value of adapt_count after a
11736         transaction abort.
11737         (__elided_trylock): Moved this code to...
11738         (ELIDE_TRYLOCK): ...here.
11740 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11742         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11743         * configure: Regenerate.
11744         * INSTALL: Regenerate.
11745         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11746         and tweak grammar.
11748 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11750         * login/programs/pt_chown.c: Include signal.h
11751         (main): Clear any signal mask from the parent process.
11753 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11755         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11756         * configure: Regenerated.
11757         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11758         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11759         $(gnu89-inline-CFLAGS).
11761         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11762         test.
11763         (libc_cv_asm_weakext_directive): Likewise.
11764         * configure: Regenerated.
11765         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11766         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11767         * include/libc-symbols.h
11768         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11769         #error.
11770         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11771         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11773         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11774         prototype-style function definition.
11775         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11776         * sysdeps/i386/ffs.c (__ffs): Likewise.
11777         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11778         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11779         Likewise.
11780         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11781         Likewise.
11782         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11783         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11784         Likewise.
11785         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11786         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11787         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11788         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11789         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11790         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11791         * sysdeps/mach/hurd/access.c (__access): Likewise.
11792         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11793         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11794         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11795         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11796         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11797         (cthread_getspecific): Likewise.
11798         (cthread_setspecific): Likewise.
11799         (__libc_getspecific): Likewise.
11800         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11801         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11802         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11803         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11804         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11805         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11806         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11807         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11808         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11809         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11810         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11811         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11812         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11813         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11814         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11815         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11816         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11817         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11818         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11819         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11820         * sysdeps/mach/hurd/link.c (__link): Likewise.
11821         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11822         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11823         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11824         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11825         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11826         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11827         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11828         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11829         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11830         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11831         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11832         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11833         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11834         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11835         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11836         * sysdeps/mach/hurd/send.c (__send): Likewise.
11837         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11838         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11839         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11840         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11841         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11842         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11843         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11844         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11845         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11846         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11847         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11848         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11849         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11850         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11851         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11852         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11853         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11854         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11855         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11856         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11857         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11858         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11859         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11860         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11861         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11862         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11863         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11864         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11865         * sysdeps/posix/alarm.c (alarm): Likewise.
11866         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11867         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11868         * sysdeps/posix/dup.c (__dup): Likewise.
11869         * sysdeps/posix/dup2.c (__dup2): Likewise.
11870         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11871         (main): Likewise.
11872         * sysdeps/posix/flock.c (__flock): Likewise.
11873         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11874         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11875         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11876         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11877         * sysdeps/posix/isatty.c (__isatty): Likewise.
11878         * sysdeps/posix/killpg.c (killpg): Likewise.
11879         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11880         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11881         * sysdeps/posix/raise.c (raise): Likewise.
11882         * sysdeps/posix/remove.c (remove): Likewise.
11883         * sysdeps/posix/rename.c (rename): Likewise.
11884         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11885         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11886         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11887         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11888         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11889         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11890         * sysdeps/posix/sigset.c (sigset): Likewise.
11891         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11892         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11893         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11894         * sysdeps/posix/time.c (time): Likewise.
11895         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11896         (ttyname): Likewise.
11897         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11898         * sysdeps/posix/utime.c (utime): Likewise.
11899         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11900         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11901         Likewise.
11902         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11903         (pthread_spin_trylock): Likewise.
11904         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11905         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11906         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11907         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11908         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11909         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11910         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11911         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11912         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11913         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11914         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11915         * sysdeps/s390/ffs.c (__ffs): Likewise.
11916         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11917         Likewise.
11918         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11919         Likewise.
11920         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11921         Likewise.
11922         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11923         (pthread_barrier_destroy): Likewise.
11924         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11925         (__pthread_barrier_wait): Likewise.
11926         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11927         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11928         (__pthread_barrier_wait): Likewise.
11929         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11930         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11931         (memcmp_not_common_alignment): Likewise.
11932         (MEMCMP): Likewise.
11933         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11934         (_wordcopy_fwd_dest_aligned): Likewise.
11935         (_wordcopy_bwd_aligned): Likewise.
11936         (_wordcopy_bwd_dest_aligned): Likewise.
11937         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11938         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11939         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11940         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11941         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11942         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11943         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11944         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11945         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11946         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11947         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11948         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11949         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11950         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11951         * sysdeps/unix/stime.c (stime): Likewise.
11952         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11953         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11954         Likewise.  Use internal_function.
11955         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11956         Convert to prototype-style function definition.
11957         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11958         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11959         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11960         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11961         Likewise.  Use internal_function.
11962         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11963         prototype-style function definition
11964         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11965         Likewise.
11966         (__getlogin_r): Likewise.
11967         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11968         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11969         (__pthread_cond_broadcast): Likewise.
11970         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11971         (__pthread_cond_destroy): Likewise.
11972         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11973         (__pthread_cond_init): Likewise.
11974         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11975         (__pthread_cond_signal): Likewise.
11976         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11977         (__pthread_cond_wait): Likewise.
11978         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11979         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11980         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11981         Likewise.
11982         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11983         Likewise.
11984         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11985         Likewise.
11986         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11987         Likewise.
11988         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11990         (__ftruncate64): Likewise.
11991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11992         (truncate64): Likewise.
11993         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11994         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11995         (pthread_getcpuclockid): Likewise.
11996         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11997         Likewise.
11998         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11999         Likewise.
12000         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12001         Likewise.
12002         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12003         Likewise.
12004         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12005         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12006         (__libc_sigaction): Likewise.
12007         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12008         Likewise.
12009         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12010         (__sigprocmask): Likewise.
12011         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12012         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12013         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12014         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12015         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12016         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12017         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12018         Likewise.
12019         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12020         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12021         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12022         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12023         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12024         Likewise.
12025         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12026         (__sigprocmask): Likewise.
12027         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12028         (cfgetispeed): Likewise.
12029         (cfsetospeed): Likewise.
12030         (cfsetispeed): Likewise.
12031         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12032         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12033         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12034         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12035         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12036         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12037         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12038         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12039         Likewise.
12040         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12041         Likewise.
12042         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12043         Likewise.
12044         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12045         Likewise.
12046         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12048 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12050         sunrpc: Rewrite with explicit TLS access using __thread.
12051         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12052         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12053         directly.
12054         (__rpc_thread_variables): Access thread_rpc_vars directly.
12055         Eliminate redundant assignment of the tvp variable.
12057 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12059         malloc: Rewrite with explicit TLS access using __thread.
12060         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12061         (tsd_setspecific, tsd_getspecific): Remove.
12062         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12063         (tsd_setspecific, tsd_getspecific): Likewise.
12064         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12065         (tsd_setspecific, tsd_getspecific): Likewise.
12066         * malloc/arena.c (thread_arena): New TLS variable.
12067         (arena_key): Remove variable.
12068         (arena_get): Use thread_arena.
12069         (arena_lookup): Remove macro.
12070         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12071         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12072         (_int_new_arena, get_free_list, reused_arena)
12073         (arena_thread_freeres): Use thread_arena.
12074         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12075         tsd_getspecific, tsd_setspecific from safety annotations.
12076         (Allocating Cleared Space): Remove arena_lookup from safety
12077         annotations.
12079 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12081         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12082         struct scratch_buffer instead of extend_alloca.
12084 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12086         * sysdeps/unix/sysv/linux/kernel-features.h
12087         (__ASSUME_SOCK_CLOEXEC): Remove.
12088         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12089         (__have_paccept): Remove unused macro.
12090         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12091         * misc/syslog.c (openlog_internal): Remove fallback code for
12092         !__ASSUME_SOCK_CLOEXEC.
12093         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12094         missing SOCK_CLOEXEC.
12095         * nscd/connections.c (have_sock_cloexec): Remove definition.
12096         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12097         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12098         !__ASSUME_SOCK_CLOEXEC.
12099         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12100         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12101         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12102         definition.
12103         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12104         code for !__ASSUME_SOCK_CLOEXEC.
12106 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12108         [BZ #18982]
12109         * manual/stdio.texi (Variable Arguments Output): Add portability
12110         note, explaining that vfprintf clobbers the va_list pointer.
12112 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12114         * math/libm-test.inc (fabs_test_data): Add more tests.
12115         (fdim_test_data): Likewise.
12116         (fma_test_data): Likewise.
12117         (fmax_test_data): Likewise.
12118         (fmin_test_data): Likewise.
12119         (fmod_test_data): Likewise.
12121 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12123         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12124         data.
12126 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12128         * math/libm-test.inc (ceil_test_data): Add more tests and more
12129         expectations for "inexact".
12130         (floor_test_data): Add more tests.
12131         (round_test_data): Likewise.
12132         (trunc_test_data): Likewise.
12134         * crypt/cert.c (good_bye): Convert to prototype-style function
12135         definition.
12136         (get8): Likewise.
12137         (put8): Likewise.
12138         * crypt/crypt-entry.c (crypt): Likewise.
12139         (__fcrypt): Likewise.
12140         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12141         (_ufc_set_bits): Likewise.
12142         (_ufc_clearmem): Likewise.
12143         (__init_des_r): Likewise.
12144         (shuffle_sb): Likewise.
12145         (shuffle_sb): Likewise.
12146         (_ufc_setup_salt_r): Likewise.
12147         (_ufc_mk_keytab_r): Likewise.
12148         (_ufc_dofinalperm_r): Likewise.
12149         (encrypt): Likewise.
12150         (__setkey_r): Likewise.
12151         (setkey): Likewise.
12152         * crypt/md5.c (md5_init_ctx): Likewise.
12153         (md5_read_ctx): Likewise.
12154         (md5_finish_ctx): Likewise.
12155         (md5_stream): Likewise.
12156         (md5_buffer): Likewise.
12157         (md5_process_bytes): Likewise.
12158         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12159         (__sha256_finish_ctx): Likewise.
12160         (__sha256_process_bytes): Likewise.
12161         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12162         (__sha512_finish_ctx): Likewise.
12163         (__sha512_process_bytes): Likewise.
12164         * ctype/isctype.c (__isctype): Likewise.
12165         * debug/backtrace.c (__backtrace): Likewise.
12166         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12167         * debug/fgets_chk.c (__fgets_chk): Likewise.
12168         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12169         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12170         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12171         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12172         * debug/memset_chk.c (__memset_chk): Likewise.
12173         * debug/strcat_chk.c (__strcat_chk): Likewise.
12174         * debug/strncat_chk.c (__strncat_chk): Likewise.
12175         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12176         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12177         * dirent/dirfd.c (dirfd): Likewise.
12178         * dirent/getdents.c (__getdirentries): Likewise.
12179         * dirent/getdents64.c (getdirentries64): Likewise.
12180         * dirent/rewinddir.c (__rewinddir): Likewise.
12181         * dirent/seekdir.c (seekdir): Likewise.
12182         * dirent/telldir.c (telldir): Likewise.
12183         * elf/sln.c (makesymlinks): Likewise.
12184         (makesymlink): Likewise.
12185         * gmon/gmon.c (__moncontrol): Likewise.
12186         (__monstartup): Likewise.
12187         (write_hist): Likewise.
12188         (write_call_graph): Likewise.
12189         (write_bb_counts): Likewise.
12190         * grp/setgroups.c (setgroups): Likewise.
12191         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12192         * inet/inet_net.c (inet_network): Likewise.
12193         * inet/inet_netof.c (inet_netof): Likewise.
12194         * inet/rcmd.c (rresvport_af): Likewise.
12195         (rresvport): Likewise.
12196         * io/access.c (__access): Likewise.
12197         * io/chdir.c (__chdir): Likewise.
12198         * io/chmod.c (__chmod): Likewise.
12199         * io/chown.c (__chown): Likewise.
12200         * io/close.c (__close): Likewise.
12201         * io/creat.c (creat): Likewise.
12202         * io/creat64.c (creat64): Likewise.
12203         * io/dup.c (__dup): Likewise.
12204         * io/dup2.c (__dup2): Likewise.
12205         * io/dup3.c (__dup3): Likewise.
12206         * io/euidaccess.c (__euidaccess): Likewise.
12207         * io/faccessat.c (faccessat): Likewise.
12208         * io/fchmod.c (__fchmod): Likewise.
12209         * io/fchmodat.c (fchmodat): Likewise.
12210         * io/fchown.c (__fchown): Likewise.
12211         * io/fchownat.c (fchownat): Likewise.
12212         * io/fcntl.c (__fcntl): Likewise.
12213         * io/flock.c (__flock): Likewise.
12214         * io/fts.c (fts_load): Likewise.
12215         (fts_close): Likewise.
12216         (fts_read): Likewise.
12217         (fts_set): Likewise.
12218         (fts_children): Likewise.
12219         (fts_build): Likewise.
12220         (fts_stat): Likewise.
12221         (fts_sort): Likewise.
12222         (fts_alloc): Likewise.
12223         (fts_lfree): Likewise.
12224         (fts_palloc): Likewise.
12225         (fts_padjust): Likewise.
12226         (fts_maxarglen): Likewise.
12227         (fts_safe_changedir): Likewise.
12228         * io/getwd.c (getwd): Likewise.
12229         * io/isatty.c (__isatty): Likewise.
12230         * io/lchown.c (__lchown): Likewise.
12231         * io/link.c (__link): Likewise.
12232         * io/linkat.c (linkat): Likewise.
12233         * io/lseek.c (__libc_lseek): Likewise.
12234         * io/mkdir.c (__mkdir): Likewise.
12235         * io/mkdirat.c (mkdirat): Likewise.
12236         * io/mkfifo.c (mkfifo): Likewise.
12237         * io/mkfifoat.c (mkfifoat): Likewise.
12238         * io/open.c (__libc_open): Likewise.
12239         * io/open64.c (__libc_open64): Likewise.
12240         * io/readlink.c (__readlink): Likewise.
12241         * io/readlinkat.c (readlinkat): Likewise.
12242         * io/rmdir.c (__rmdir): Likewise.
12243         * io/symlink.c (__symlink): Likewise.
12244         * io/symlinkat.c (symlinkat): Likewise.
12245         * io/ttyname.c (ttyname): Likewise.
12246         * io/ttyname_r.c (__ttyname_r): Likewise.
12247         * io/umask.c (__umask): Likewise.
12248         * io/unlink.c (__unlink): Likewise.
12249         * io/unlinkat.c (unlinkat): Likewise.
12250         * io/utime.c (utime): Likewise.
12251         * libio/clearerr.c (clearerr): Likewise.
12252         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12253         * libio/feof.c (_IO_feof): Likewise.
12254         * libio/feof_u.c (feof_unlocked): Likewise.
12255         * libio/ferror.c (_IO_ferror): Likewise.
12256         * libio/ferror_u.c (ferror_unlocked): Likewise.
12257         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12258         * libio/fileno.c (__fileno): Likewise.
12259         * libio/fputc.c (fputc): Likewise.
12260         * libio/fputc_u.c (fputc_unlocked): Likewise.
12261         * libio/fputwc.c (fputwc): Likewise.
12262         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12263         * libio/freopen.c (freopen): Likewise.
12264         * libio/freopen64.c (freopen64): Likewise.
12265         * libio/fseek.c (fseek): Likewise.
12266         * libio/fseeko.c (fseeko): Likewise.
12267         * libio/fseeko64.c (fseeko64): Likewise.
12268         * libio/ftello.c (__ftello): Likewise.
12269         * libio/ftello64.c (ftello64): Likewise.
12270         * libio/fwide.c (fwide): Likewise.
12271         * libio/genops.c (_IO_un_link): Likewise.
12272         (_IO_link_in): Likewise.
12273         (_IO_least_marker): Likewise.
12274         (_IO_switch_to_main_get_area): Likewise.
12275         (_IO_switch_to_backup_area): Likewise.
12276         (_IO_switch_to_get_mode): Likewise.
12277         (_IO_free_backup_area): Likewise.
12278         (_IO_switch_to_put_mode): Likewise.
12279         (__overflow): Likewise.
12280         (__underflow): Likewise.
12281         (__uflow): Likewise.
12282         (_IO_setb): Likewise.
12283         (_IO_doallocbuf): Likewise.
12284         (_IO_default_underflow): Likewise.
12285         (_IO_default_uflow): Likewise.
12286         (_IO_default_xsputn): Likewise.
12287         (_IO_sgetn): Likewise.
12288         (_IO_default_xsgetn): Likewise.
12289         (_IO_sync): Likewise.
12290         (_IO_default_setbuf): Likewise.
12291         (_IO_default_seekpos): Likewise.
12292         (_IO_default_doallocate): Likewise.
12293         (_IO_init): Likewise.
12294         (_IO_old_init): Likewise.
12295         (_IO_default_sync): Likewise.
12296         (_IO_default_finish): Likewise.
12297         (_IO_default_seekoff): Likewise.
12298         (_IO_sputbackc): Likewise.
12299         (_IO_sungetc): Likewise.
12300         (_IO_set_column): Likewise.
12301         (_IO_set_column): Likewise.
12302         (_IO_adjust_column): Likewise.
12303         (_IO_get_column): Likewise.
12304         (_IO_init_marker): Likewise.
12305         (_IO_remove_marker): Likewise.
12306         (_IO_marker_difference): Likewise.
12307         (_IO_marker_delta): Likewise.
12308         (_IO_seekmark): Likewise.
12309         (_IO_unsave_markers): Likewise.
12310         (_IO_nobackup_pbackfail): Likewise.
12311         (_IO_default_pbackfail): Likewise.
12312         (_IO_default_seek): Likewise.
12313         (_IO_default_stat): Likewise.
12314         (_IO_default_read): Likewise.
12315         (_IO_default_write): Likewise.
12316         (_IO_default_showmanyc): Likewise.
12317         (_IO_default_imbue): Likewise.
12318         (_IO_iter_next): Likewise.
12319         (_IO_iter_file): Likewise.
12320         * libio/getc.c (_IO_getc): Likewise.
12321         * libio/getwc.c (_IO_getwc): Likewise.
12322         * libio/iofclose.c (_IO_new_fclose): Likewise.
12323         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12324         * libio/iofflush.c (_IO_fflush): Likewise.
12325         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12326         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12327         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12328         * libio/iofgets.c (_IO_fgets): Likewise.
12329         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12330         * libio/iofgetws.c (fgetws): Likewise.
12331         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12332         * libio/iofopen64.c (_IO_fopen64): Likewise.
12333         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12334         (_IO_cookie_write): Likewise.
12335         (_IO_cookie_seek): Likewise.
12336         (_IO_cookie_close): Likewise.
12337         (_IO_cookie_seekoff): Likewise.
12338         (_IO_old_cookie_seek): Likewise.
12339         * libio/iofputs.c (_IO_fputs): Likewise.
12340         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12341         * libio/iofputws.c (fputws): Likewise.
12342         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12343         * libio/iofread.c (_IO_fread): Likewise.
12344         * libio/iofread_u.c (__fread_unlocked): Likewise.
12345         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12346         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12347         * libio/ioftell.c (_IO_ftell): Likewise.
12348         * libio/iofwrite.c (_IO_fwrite): Likewise.
12349         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12350         * libio/iogets.c (_IO_gets): Likewise.
12351         * libio/iopadn.c (_IO_padn): Likewise.
12352         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12353         (_IO_new_popen): Likewise.
12354         (_IO_new_proc_close): Likewise.
12355         * libio/ioputs.c (_IO_puts): Likewise.
12356         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12357         (_IO_seekoff): Likewise.
12358         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12359         (_IO_seekpos): Likewise.
12360         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12361         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12362         * libio/ioungetc.c (_IO_ungetc): Likewise.
12363         * libio/ioungetwc.c (ungetwc): Likewise.
12364         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12365         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12366         * libio/iowpadn.c (_IO_wpadn): Likewise.
12367         * libio/libc_fatal.c (__libc_fatal): Likewise.
12368         * libio/memstream.c (__open_memstream): Likewise.
12369         (_IO_mem_sync): Likewise.
12370         (_IO_mem_finish): Likewise.
12371         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12372         (_IO_old_file_close_it): Likewise.
12373         (_IO_old_file_finish): Likewise.
12374         (_IO_old_file_fopen): Likewise.
12375         (_IO_old_file_attach): Likewise.
12376         (_IO_old_file_setbuf): Likewise.
12377         (_IO_old_do_write): Likewise.
12378         (old_do_write): Likewise.
12379         (_IO_old_file_underflow): Likewise.
12380         (_IO_old_file_overflow): Likewise.
12381         (_IO_old_file_sync): Likewise.
12382         (_IO_old_file_seekoff): Likewise.
12383         (_IO_old_file_write): Likewise.
12384         (_IO_old_file_xsputn): Likewise.
12385         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12386         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12387         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12388         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12389         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12390         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12391         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12392         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12393         (_IO_old_popen): Likewise.
12394         (_IO_old_proc_close): Likewise.
12395         * libio/oldpclose.c (__old_pclose): Likewise.
12396         * libio/pclose.c (__new_pclose): Likewise.
12397         * libio/peekc.c (_IO_peekc_locked): Likewise.
12398         * libio/putc.c (_IO_putc): Likewise.
12399         * libio/putc_u.c (putc_unlocked): Likewise.
12400         * libio/putchar.c (putchar): Likewise.
12401         * libio/putchar_u.c (putchar_unlocked): Likewise.
12402         * libio/putwc.c (putwc): Likewise.
12403         * libio/putwc_u.c (putwc_unlocked): Likewise.
12404         * libio/putwchar.c (putwchar): Likewise.
12405         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12406         * libio/rewind.c (rewind): Likewise.
12407         * libio/setbuf.c (setbuf): Likewise.
12408         * libio/setlinebuf.c (setlinebuf): Likewise.
12409         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12410         * libio/vscanf.c (_IO_vscanf): Likewise.
12411         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12412         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12413         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12414         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12415         (_IO_switch_to_main_wget_area): Likewise.
12416         (_IO_switch_to_wbackup_area): Likewise.
12417         (_IO_wsetb): Likewise.
12418         (_IO_wdefault_pbackfail): Likewise.
12419         (_IO_wdefault_finish): Likewise.
12420         (_IO_wdefault_uflow): Likewise.
12421         (__woverflow): Likewise.
12422         (__wuflow): Likewise.
12423         (__wunderflow): Likewise.
12424         (_IO_wdefault_xsputn): Likewise.
12425         (_IO_wdefault_xsgetn): Likewise.
12426         (_IO_wdoallocbuf): Likewise.
12427         (_IO_wdefault_doallocate): Likewise.
12428         (_IO_switch_to_wget_mode): Likewise.
12429         (_IO_free_wbackup_area): Likewise.
12430         (_IO_switch_to_wput_mode): Likewise.
12431         (_IO_sputbackwc): Likewise.
12432         (_IO_sungetwc): Likewise.
12433         (_IO_adjust_wcolumn): Likewise.
12434         (_IO_init_wmarker): Likewise.
12435         (_IO_wmarker_delta): Likewise.
12436         (_IO_seekwmark): Likewise.
12437         (_IO_unsave_wmarkers): Likewise.
12438         * libio/wmemstream.c (open_wmemstream): Likewise.
12439         (_IO_wmem_sync): Likewise.
12440         (_IO_wmem_finish): Likewise.
12441         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12442         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12443         * locale/programs/simple-hash.c (init_hash): Likewise.
12444         (delete_hash): Likewise.
12445         (insert_entry): Likewise.
12446         (set_entry): Likewise.
12447         (next_prime): Likewise.
12448         (is_prime): Likewise.
12449         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12450         (xmalloc): Likewise.
12451         (xrealloc): Likewise.
12452         * locale/programs/xstrdup.c (xstrdup): Likewise.
12453         * localedata/collate-test.c (xstrcoll): Likewise.
12454         * localedata/xfrm-test.c (xstrcmp): Likewise.
12455         * login/getlogin_r.c (__getlogin_r): Likewise.
12456         * login/getpt.c (__posix_openpt): Likewise.
12457         * login/login_tty.c (login_tty): Likewise.
12458         * login/setlogin.c (setlogin): Likewise.
12459         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12460         (mach_msg_destroy_port): Likewise.
12461         (mach_msg_destroy_memory): Likewise.
12462         * malloc/mcheck.c (flood): Likewise.
12463         * misc/acct.c (acct): Likewise.
12464         * misc/brk.c (__brk): Likewise.
12465         * misc/chflags.c (chflags): Likewise.
12466         * misc/chroot.c (chroot): Likewise.
12467         * misc/fchflags.c (fchflags): Likewise.
12468         * misc/fstab.c (getfsspec): Likewise.
12469         (getfsfile): Likewise.
12470         * misc/fsync.c (fsync): Likewise.
12471         * misc/ftruncate.c (__ftruncate): Likewise.
12472         * misc/ftruncate64.c (__ftruncate64): Likewise.
12473         * misc/getdomain.c (getdomainname): Likewise.
12474         (getdomainname): Likewise.
12475         * misc/gethostname.c (__gethostname): Likewise.
12476         * misc/getpass.c (getpass): Likewise.
12477         * misc/getttyent.c (skip): Likewise.
12478         (value): Likewise.
12479         * misc/gtty.c (gtty): Likewise.
12480         * misc/hsearch.c (hsearch): Likewise.
12481         (hcreate): Likewise.
12482         * misc/hsearch_r.c (__hcreate_r): Likewise.
12483         (__hdestroy_r): Likewise.
12484         * misc/ioctl.c (__ioctl): Likewise.
12485         * misc/mkdtemp.c (mkdtemp): Likewise.
12486         * misc/mkostemp.c (mkostemp): Likewise.
12487         * misc/mkostemp64.c (mkostemp64): Likewise.
12488         * misc/mkostemps.c (mkostemps): Likewise.
12489         * misc/mkostemps64.c (mkostemps64): Likewise.
12490         * misc/mkstemp.c (mkstemp): Likewise.
12491         * misc/mkstemp64.c (mkstemp64): Likewise.
12492         * misc/mkstemps.c (mkstemps): Likewise.
12493         * misc/mkstemps64.c (mkstemps64): Likewise.
12494         * misc/mktemp.c (__mktemp): Likewise.
12495         * misc/preadv.c (preadv): Likewise.
12496         * misc/preadv64.c (preadv64): Likewise.
12497         * misc/pwritev.c (pwritev): Likewise.
12498         * misc/pwritev64.c (pwritev64): Likewise.
12499         * misc/readv.c (__readv): Likewise.
12500         * misc/revoke.c (revoke): Likewise.
12501         * misc/setdomain.c (setdomainname): Likewise.
12502         * misc/setegid.c (setegid): Likewise.
12503         * misc/seteuid.c (seteuid): Likewise.
12504         * misc/sethostid.c (sethostid): Likewise.
12505         * misc/sethostname.c (sethostname): Likewise.
12506         * misc/setregid.c (__setregid): Likewise.
12507         * misc/setreuid.c (__setreuid): Likewise.
12508         * misc/sstk.c (sstk): Likewise.
12509         * misc/stty.c (stty): Likewise.
12510         * misc/syscall.c (syscall): Likewise.
12511         * misc/syslog.c (setlogmask): Likewise.
12512         * misc/truncate.c (__truncate): Likewise.
12513         * misc/truncate64.c (truncate64): Likewise.
12514         * misc/ualarm.c (ualarm): Likewise.
12515         * misc/usleep.c (usleep): Likewise.
12516         * misc/ustat.c (ustat): Likewise.
12517         * misc/writev.c (__writev): Likewise.
12518         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12519         * nptl/old_pthread_cond_broadcast.c
12520         (__pthread_cond_broadcast_2_0): Likewise.
12521         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12522         Likewise.
12523         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12524         Likewise.
12525         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12526         Likewise.
12527         * nptl/pt-raise.c (raise): Likewise.
12528         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12529         Likewise.
12530         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12531         * nptl/pthread_barrierattr_destroy.c
12532         (pthread_barrierattr_destroy): Likewise.
12533         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12534         Likewise.
12535         * nptl/pthread_barrierattr_setpshared.c
12536         (pthread_barrierattr_setpshared): Likewise.
12537         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12538         Likewise.
12539         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12540         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12541         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12542         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12543         Likewise.
12544         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12545         Likewise.
12546         * nptl/pthread_condattr_getpshared.c
12547         (pthread_condattr_getpshared): Likewise.
12548         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12549         Likewise.
12550         * nptl/pthread_condattr_setpshared.c
12551         (pthread_condattr_setpshared): Likewise.
12552         * nptl/pthread_detach.c (pthread_detach): Likewise.
12553         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12554         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12555         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12556         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12557         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12558         Likewise.
12559         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12560         Likewise.
12561         * nptl/pthread_mutex_getprioceiling.c
12562         (pthread_mutex_getprioceiling): Likewise.
12563         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12564         Likewise.
12565         * nptl/pthread_mutexattr_getprotocol.c
12566         (pthread_mutexattr_getprotocol): Likewise.
12567         * nptl/pthread_mutexattr_getpshared.c
12568         (pthread_mutexattr_getpshared): Likewise.
12569         * nptl/pthread_mutexattr_getrobust.c
12570         (pthread_mutexattr_getrobust): Likewise.
12571         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12572         Likewise.
12573         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12574         Likewise.
12575         * nptl/pthread_mutexattr_setprioceiling.c
12576         (pthread_mutexattr_setprioceiling): Likewise.
12577         * nptl/pthread_mutexattr_setprotocol.c
12578         (pthread_mutexattr_setprotocol): Likewise.
12579         * nptl/pthread_mutexattr_setpshared.c
12580         (pthread_mutexattr_setpshared): Likewise.
12581         * nptl/pthread_mutexattr_setrobust.c
12582         (pthread_mutexattr_setrobust): Likewise.
12583         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12584         Likewise.
12585         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12586         Likewise.
12587         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12588         Likewise.
12589         * nptl/pthread_rwlockattr_getkind_np.c
12590         (pthread_rwlockattr_getkind_np): Likewise.
12591         * nptl/pthread_rwlockattr_getpshared.c
12592         (pthread_rwlockattr_getpshared): Likewise.
12593         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12594         Likewise.
12595         * nptl/pthread_rwlockattr_setkind_np.c
12596         (pthread_rwlockattr_setkind_np): Likewise.
12597         * nptl/pthread_rwlockattr_setpshared.c
12598         (pthread_rwlockattr_setpshared): Likewise.
12599         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12600         Likewise.
12601         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12602         Likewise.
12603         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12604         Likewise.
12605         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12606         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12607         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12608         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12609         * nptl/sem_close.c (sem_close): Likewise.
12610         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12611         * nptl/sem_init.c (__old_sem_init): Likewise.
12612         * nptl/sigaction.c (__sigaction): Likewise.
12613         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12614         * posix/_exit.c (_exit): Likewise.
12615         * posix/alarm.c (alarm): Likewise.
12616         * posix/confstr.c (confstr): Likewise.
12617         * posix/fpathconf.c (__fpathconf): Likewise.
12618         * posix/getgroups.c (__getgroups): Likewise.
12619         * posix/getpgid.c (__getpgid): Likewise.
12620         * posix/group_member.c (__group_member): Likewise.
12621         * posix/pathconf.c (__pathconf): Likewise.
12622         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12623         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12624         * posix/setgid.c (__setgid): Likewise.
12625         * posix/setpgid.c (__setpgid): Likewise.
12626         * posix/setuid.c (__setuid): Likewise.
12627         * posix/sleep.c (__sleep): Likewise.
12628         * posix/sysconf.c (__sysconf): Likewise.
12629         * posix/times.c (__times): Likewise.
12630         * posix/uname.c (__uname): Likewise.
12631         * posix/waitid.c (__waitid): Likewise.
12632         * pwd/getpw.c (__getpw): Likewise.
12633         * resolv/base64.c (b64_pton): Likewise.
12634         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12635         * resolv/gethnamaddr.c (Dprintf): Likewise.
12636         (gethostbyname): Likewise.
12637         (gethostbyname2): Likewise.
12638         (gethostbyaddr): Likewise.
12639         (_sethtent): Likewise.
12640         (_gethtbyname): Likewise.
12641         (_gethtbyname2): Likewise.
12642         (_gethtbyaddr): Likewise.
12643         (map_v4v6_address): Likewise.
12644         (map_v4v6_hostent): Likewise.
12645         (addrsort): Likewise.
12646         (ht_sethostent): Likewise.
12647         (ht_gethostbyname): Likewise.
12648         (ht_gethostbyaddr): Likewise.
12649         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12650         (inet_net_ntop_ipv4): Likewise.
12651         * resolv/inet_neta.c (inet_neta): Likewise.
12652         * resolv/inet_ntop.c (inet_ntop): Likewise.
12653         (inet_ntop4): Likewise.
12654         (inet_ntop6): Likewise.
12655         * resolv/inet_pton.c (__inet_pton): Likewise.
12656         (inet_pton4): Likewise.
12657         (inet_pton6): Likewise.
12658         * resolv/res_debug.c (loc_aton): Likewise.
12659         (loc_ntoa): Likewise.
12660         * resource/getpriority.c (__getpriority): Likewise.
12661         * resource/getrusage.c (__getrusage): Likewise.
12662         * resource/nice.c (nice): Likewise.
12663         * resource/setpriority.c (__setpriority): Likewise.
12664         * resource/setrlimit64.c (setrlimit64): Likewise.
12665         * resource/vlimit.c (vlimit): Likewise.
12666         * resource/vtimes.c (vtimes): Likewise.
12667         * rt/aio_error.c (aio_error): Likewise.
12668         * rt/aio_return.c (aio_return): Likewise.
12669         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12670         * signal/kill.c (__kill): Likewise.
12671         * signal/killpg.c (killpg): Likewise.
12672         * signal/raise.c (raise): Likewise.
12673         * signal/sigaction.c (__sigaction): Likewise.
12674         * signal/sigaddset.c (sigaddset): Likewise.
12675         * signal/sigaltstack.c (sigaltstack): Likewise.
12676         * signal/sigandset.c (sigandset): Likewise.
12677         * signal/sigblock.c (__sigblock): Likewise.
12678         * signal/sigdelset.c (sigdelset): Likewise.
12679         * signal/sigempty.c (sigemptyset): Likewise.
12680         * signal/sigfillset.c (sigfillset): Likewise.
12681         * signal/sighold.c (sighold): Likewise.
12682         * signal/sigignore.c (sigignore): Likewise.
12683         * signal/sigintr.c (siginterrupt): Likewise.
12684         * signal/sigisempty.c (sigisemptyset): Likewise.
12685         * signal/sigismem.c (sigismember): Likewise.
12686         * signal/signal.c (signal): Likewise.
12687         * signal/sigorset.c (sigorset): Likewise.
12688         * signal/sigpause.c (__sigpause): Likewise.
12689         * signal/sigpending.c (sigpending): Likewise.
12690         * signal/sigprocmask.c (__sigprocmask): Likewise.
12691         * signal/sigrelse.c (sigrelse): Likewise.
12692         * signal/sigreturn.c (__sigreturn): Likewise.
12693         * signal/sigset.c (sigset): Likewise.
12694         * signal/sigsetmask.c (__sigsetmask): Likewise.
12695         * signal/sigstack.c (sigstack): Likewise.
12696         * signal/sigsuspend.c (__sigsuspend): Likewise.
12697         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12698         * signal/sysv_signal.c (__sysv_signal): Likewise.
12699         * socket/accept.c (accept): Likewise.
12700         * socket/accept4.c (__libc_accept4): Likewise.
12701         * socket/bind.c (__bind): Likewise.
12702         * socket/connect.c (__connect): Likewise.
12703         * socket/getpeername.c (getpeername): Likewise.
12704         * socket/getsockname.c (__getsockname): Likewise.
12705         * socket/getsockopt.c (getsockopt): Likewise.
12706         * socket/listen.c (__listen): Likewise.
12707         * socket/recv.c (__recv): Likewise.
12708         * socket/recvmsg.c (__recvmsg): Likewise.
12709         * socket/send.c (__send): Likewise.
12710         * socket/sendmsg.c (__sendmsg): Likewise.
12711         * socket/shutdown.c (shutdown): Likewise.
12712         * socket/sockatmark.c (sockatmark): Likewise.
12713         * socket/socket.c (__socket): Likewise.
12714         * stdio-common/ctermid.c (ctermid): Likewise.
12715         * stdio-common/cuserid.c (cuserid): Likewise.
12716         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12717         * stdio-common/remove.c (remove): Likewise.
12718         * stdio-common/rename.c (rename): Likewise.
12719         * stdio-common/renameat.c (renameat): Likewise.
12720         * stdio-common/tempname.c (__gen_tempname): Likewise.
12721         * stdio-common/xbug.c (InitBuffer): Likewise.
12722         (AppendToBuffer): Likewise.
12723         (ReadFile): Likewise.
12724         * stdlib/a64l.c (a64l): Likewise.
12725         * stdlib/drand48_r.c (drand48_r): Likewise.
12726         * stdlib/getcontext.c (getcontext): Likewise.
12727         * stdlib/getenv.c (getenv): Likewise.
12728         * stdlib/l64a.c (l64a): Likewise.
12729         * stdlib/llabs.c (llabs): Likewise.
12730         * stdlib/lldiv.c (lldiv): Likewise.
12731         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12732         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12733         * stdlib/putenv.c (putenv): Likewise.
12734         * stdlib/random.c (__srandom): Likewise.
12735         (__initstate): Likewise.
12736         (__setstate): Likewise.
12737         * stdlib/random_r.c (__srandom_r): Likewise.
12738         (__setstate_r): Likewise.
12739         (__random_r): Likewise.
12740         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12741         * stdlib/setcontext.c (setcontext): Likewise.
12742         * stdlib/setenv.c (setenv): Likewise.
12743         (unsetenv): Likewise.
12744         * stdlib/srand48.c (srand48): Likewise.
12745         * stdlib/srand48_r.c (__srand48_r): Likewise.
12746         * stdlib/swapcontext.c (swapcontext): Likewise.
12747         * stdlib/system.c (__libc_system): Likewise.
12748         * stdlib/tst-strtod.c (expand): Likewise.
12749         * stdlib/tst-strtol.c (expand): Likewise.
12750         * stdlib/tst-strtoll.c (expand): Likewise.
12751         * streams/fattach.c (fattach): Likewise.
12752         * streams/fdetach.c (fdetach): Likewise.
12753         * streams/getmsg.c (getmsg): Likewise.
12754         * streams/isastream.c (isastream): Likewise.
12755         * string/ffs.c (__ffs): Likewise.
12756         * string/ffsll.c (ffsll): Likewise.
12757         * string/memcmp.c (memcmp_common_alignment): Likewise.
12758         (memcmp_not_common_alignment): Likewise.
12759         (MEMCMP): Likewise.
12760         * string/memcpy.c (memcpy): Likewise.
12761         * string/memmove.c (MEMMOVE): Likewise.
12762         * string/memset.c (memset): Likewise.
12763         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12764         * string/strchrnul.c (STRCHRNUL): Likewise.
12765         * string/strerror.c (strerror): Likewise.
12766         * string/strndup.c (__strndup): Likewise.
12767         * string/strverscmp.c (__strverscmp): Likewise.
12768         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12769         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12770         (clnttcp_freeres): Likewise.
12771         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12772         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12773         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12774         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12775         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12776         (xdr_callhdr): Likewise.
12777         * sunrpc/rpcinfo.c (udpping): Likewise.
12778         (tcpping): Likewise.
12779         (pstatus): Likewise.
12780         (pmapdump): Likewise.
12781         (brdcst): Likewise.
12782         (deletereg): Likewise.
12783         (getprognum): Likewise.
12784         (getvers): Likewise.
12785         (get_inet_address): Likewise.
12786         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12787         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12788         (svcudp_stat): Likewise.
12789         (svcudp_recv): Likewise.
12790         (svcudp_reply): Likewise.
12791         (svcudp_getargs): Likewise.
12792         (svcudp_freeargs): Likewise.
12793         (svcudp_destroy): Likewise.
12794         * sunrpc/xdr.c (xdr_bytes): Likewise.
12795         (xdr_netobj): Likewise.
12796         (xdr_string): Likewise.
12797         (xdr_wrapstring): Likewise.
12798         * sunrpc/xdr_float.c (xdr_float): Likewise.
12799         (xdr_double): Likewise.
12800         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12801         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12802         * sysvipc/ftok.c (ftok): Likewise.
12803         * sysvipc/msgctl.c (msgctl): Likewise.
12804         * sysvipc/msgget.c (msgget): Likewise.
12805         * sysvipc/msgrcv.c (msgrcv): Likewise.
12806         * sysvipc/msgsnd.c (msgsnd): Likewise.
12807         * sysvipc/semget.c (semget): Likewise.
12808         * sysvipc/semop.c (semop): Likewise.
12809         * sysvipc/shmat.c (shmat): Likewise.
12810         * sysvipc/shmctl.c (shmctl): Likewise.
12811         * sysvipc/shmdt.c (shmdt): Likewise.
12812         * sysvipc/shmget.c (shmget): Likewise.
12813         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12814         * termios/speed.c (cfgetospeed): Likewise.
12815         (cfgetispeed): Likewise.
12816         (cfsetospeed): Likewise.
12817         (cfsetispeed): Likewise.
12818         * termios/tcflow.c (tcflow): Likewise.
12819         * termios/tcflush.c (tcflush): Likewise.
12820         * termios/tcgetattr.c (__tcgetattr): Likewise.
12821         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12822         * termios/tcgetsid.c (tcgetsid): Likewise.
12823         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12824         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12825         * time/adjtime.c (__adjtime): Likewise.
12826         * time/dysize.c (dysize): Likewise.
12827         * time/ftime.c (ftime): Likewise.
12828         * time/getitimer.c (__getitimer): Likewise.
12829         * time/gettimeofday.c (__gettimeofday): Likewise.
12830         * time/gmtime.c (__gmtime_r): Likewise.
12831         (gmtime): Likewise.
12832         * time/localtime.c (__localtime_r): Likewise.
12833         (localtime): Likewise.
12834         * time/offtime.c (__offtime): Likewise.
12835         * time/settimeofday.c (__settimeofday): Likewise.
12836         * time/stime.c (stime): Likewise.
12837         * time/strftime_l.c (tm_diff): Likewise.
12838         (iso_week_days): Likewise.
12839         * time/strptime.c (strptime): Likewise.
12840         * time/time.c (time): Likewise.
12841         * time/timespec_get.c (timespec_get): Likewise.
12842         * time/tzset.c (tzset_internal): Likewise.
12843         (compute_change): Likewise.
12844         (__tz_compute): Likewise.
12845         * wcsmbs/btowc.c (__btowc): Likewise.
12846         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12847         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12848         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12849         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12850         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12851         * wcsmbs/wcscat.c (__wcscat): Likewise.
12852         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12853         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12854         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12855         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12856         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12857         * wcsmbs/wcslen.c (__wcslen): Likewise.
12858         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12859         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12860         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12861         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12862         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12863         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12864         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12865         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12866         * wcsmbs/wcstok.c (wcstok): Likewise.
12867         * wcsmbs/wctob.c (wctob): Likewise.
12868         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12869         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12870         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12871         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12872         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12873         * wcsmbs/wmemset.c (__wmemset): Likewise.
12874         * wctype/wcfuncs.c (__towlower): Likewise.
12875         (__towupper): Likewise.
12877         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12878         (lll_unlock_elision): Add adapt_count parameter.
12880 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12882         * sysdeps/nptl/configure.ac: Do not give errors based on the
12883         results of top-level configure tests.
12884         * sysdeps/nptl/configure: Regenerated.
12886         * configure.ac (libc_cv_Bgroup): Remove configure test.
12887         * configure: Regenerated.
12888         * config.make.in (have-Bgroup): Remove variable.
12890         * configure.ac (sizeof_long_double): Remove configure test.
12891         * configure: Regenerated.
12892         * config.make.in (sizeof-long-double): Remove variable.
12894         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12895         * configure: Regenerated.
12896         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12897         variable.
12898         (exceptions): Likewise.
12899         * sysdeps/arm/configure: Regenerated.
12900         * config.make.in (exceptions): Remove variable.
12901         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12902         $(exceptions).
12903         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12904         (CFLAGS-vdprintf_chk.c): Likewise.
12905         (CFLAGS-printf_chk.c): Likewise.
12906         (CFLAGS-fprintf_chk.c): Likewise.
12907         (CFLAGS-vprintf_chk.c): Likewise.
12908         (CFLAGS-vfprintf_chk.c): Likewise.
12909         (CFLAGS-gets_chk.c): Likewise.
12910         (CFLAGS-fgets_chk.c): Likewise.
12911         (CFLAGS-fgets_u_chk.c): Likewise.
12912         (CFLAGS-fread_chk.c): Likewise.
12913         (CFLAGS-fread_u_chk.c): Likewise.
12914         (CFLAGS-wprintf_chk.c): Likewise.
12915         (CFLAGS-fwprintf_chk.c): Likewise.
12916         (CFLAGS-vwprintf_chk.c): Likewise.
12917         (CFLAGS-vfwprintf_chk.c): Likewise.
12918         (CFLAGS-fgetws_chk.c): Likewise.
12919         (CFLAGS-fgetws_u_chk.c): Likewise.
12920         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12921         (CFLAGS-fputc.c): Likewise.
12922         (CFLAGS-fputwc.c): Likewise.
12923         (CFLAGS-freopen64.c): Likewise.
12924         (CFLAGS-freopen.c): Likewise.
12925         (CFLAGS-fseek.c): Likewise.
12926         (CFLAGS-fseeko64.c): Likewise.
12927         (CFLAGS-fseeko.c): Likewise.
12928         (CFLAGS-ftello64.c): Likewise.
12929         (CFLAGS-ftello.c): Likewise.
12930         (CFLAGS-fwide.c): Likewise.
12931         (CFLAGS-genops.c): Likewise.
12932         (CFLAGS-getc.c): Likewise.
12933         (CFLAGS-getchar.c): Likewise.
12934         (CFLAGS-getwc.c): Likewise.
12935         (CFLAGS-getwchar.c): Likewise.
12936         (CFLAGS-iofclose.c): Likewise.
12937         (CFLAGS-iofflush.c): Likewise.
12938         (CFLAGS-iofgetpos64.c): Likewise.
12939         (CFLAGS-iofgetpos.c): Likewise.
12940         (CFLAGS-iofgets.c): Likewise.
12941         (CFLAGS-iofgetws.c): Likewise.
12942         (CFLAGS-iofputs.c): Likewise.
12943         (CFLAGS-iofputws.c): Likewise.
12944         (CFLAGS-iofread.c): Likewise.
12945         (CFLAGS-iofsetpos64.c): Likewise.
12946         (CFLAGS-iofsetpos.c): Likewise.
12947         (CFLAGS-ioftell.c): Likewise.
12948         (CFLAGS-iofwrite.c): Likewise.
12949         (CFLAGS-iogetdelim.c): Likewise.
12950         (CFLAGS-iogetline.c): Likewise.
12951         (CFLAGS-iogets.c): Likewise.
12952         (CFLAGS-iogetwline.c): Likewise.
12953         (CFLAGS-ioputs.c): Likewise.
12954         (CFLAGS-ioseekoff.c): Likewise.
12955         (CFLAGS-ioseekpos.c): Likewise.
12956         (CFLAGS-iosetbuffer.c): Likewise.
12957         (CFLAGS-iosetvbuf.c): Likewise.
12958         (CFLAGS-ioungetc.c): Likewise.
12959         (CFLAGS-ioungetwc.c): Likewise.
12960         (CFLAGS-oldfileops.c): Likewise.
12961         (CFLAGS-oldiofclose.c): Likewise.
12962         (CFLAGS-oldiofgetpos64.c): Likewise.
12963         (CFLAGS-oldiofgetpos.c): Likewise.
12964         (CFLAGS-oldiofsetpos64.c): Likewise.
12965         (CFLAGS-oldiofsetpos.c): Likewise.
12966         (CFLAGS-peekc.c): Likewise.
12967         (CFLAGS-putc.c): Likewise.
12968         (CFLAGS-putchar.c): Likewise.
12969         (CFLAGS-putwc.c): Likewise.
12970         (CFLAGS-putwchar.c): Likewise.
12971         (CFLAGS-rewind.c): Likewise.
12972         (CFLAGS-wfileops.c): Likewise.
12973         (CFLAGS-wgenops.c): Likewise.
12974         (CFLAGS-oldiofopen.c): Likewise.
12975         (CFLAGS-iofopen.c): Likewise.
12976         (CFLAGS-iofopen64.c): Likewise.
12977         (CFLAGS-oldtmpfile.c): Likewise.
12978         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12979         (CFLAGS-fprintf.c): Likewise.
12980         (CFLAGS-printf.c): Likewise.
12981         (CFLAGS-vfwprintf.c): Likewise.
12982         (CFLAGS-vfscanf.c): Likewise.
12983         (CFLAGS-vfwscanf.c): Likewise.
12984         (CFLAGS-fscanf.c): Likewise.
12985         (CFLAGS-scanf.c): Likewise.
12986         (CFLAGS-isoc99_vfscanf.c): Likewise.
12987         (CFLAGS-isoc99_vscanf.c): Likewise.
12988         (CFLAGS-isoc99_fscanf.c): Likewise.
12989         (CFLAGS-isoc99_scanf.c): Likewise.
12990         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12991         (CFLAGS-isoc99_fwscanf.c): Likewise.
12992         (CFLAGS-isoc99_vwscanf.c): Likewise.
12993         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12995         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12996         after mkstemp64.
12997         * login/tst-utmp.c (do_prepare): Likewise.
12998         * rt/tst-aio.c (do_prepare): Likewise.
12999         * rt/tst-aio64.c (do_prepare): Likewise.
13001 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13003         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13004         (__lll_lock_elision): Remove adapt_count decrement...
13005         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13006         (__lll_trylock_elision): Likewise.
13007         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13008         (__lll_unlock_elision): ... to here. And utilize
13009         new adapt_count parameter.
13010         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13011         (__lll_unlock_elision): Update to include adapt_count
13012         parameter.
13013         (lll_unlock_elision): Pass pointer to adapt_count
13014         variable.
13016 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13018         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13019         Add elision adapt_count parameter to list of arguments.
13020         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13021         (lll_unlock_elision): Update with new parameter list
13022         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13023         (lll_unlock_elision): Likewise.
13024         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13025         (lll_unlock_elision): Likewise.
13027 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13029         [BZ #19122]
13030         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13031         attribute_hidden.
13033         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13034         attribute_hidden.
13035         [IS_IN (rtld)] (__strdup): Likewise.
13036         [IS_IN (rtld)] (__strerror_r): Likewise.
13037         [IS_IN (rtld)] (__strsep_g): Likewise.
13038         [IS_IN (rtld)] (memchr): Likewise.
13039         [IS_IN (rtld)] (memcmp): Likewise.
13040         [IS_IN (rtld)] (memcpy): Likewise.
13041         [IS_IN (rtld)] (memmove): Likewise.
13042         [IS_IN (rtld)] (memset): Likewise.
13043         [IS_IN (rtld)] (rawmemchr): Likewise.
13044         [IS_IN (rtld)] (stpcpy): Likewise.
13045         [IS_IN (rtld)] (strchr): Likewise.
13046         [IS_IN (rtld)] (strcmp): Likewise.
13047         [IS_IN (rtld)] (strlen): Likewise.
13048         [IS_IN (rtld)] (strnlen): Likewise.
13049         [IS_IN (rtld)] (strsep): Likewise.
13051         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13052         attribute_hidden.
13053         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13055         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13056         attribute_hidden.
13057         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13059         * include/setjmp.h (__longjmp): Add attribute_hidden.
13060         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13062         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13063         Add attribute_hidden.
13065         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13066         [IS_IN (rtld)] (__open): Likewise.
13067         [IS_IN (rtld)] (__fcntl): Likewise.
13069         * include/dirent.h (__opendirat): Add attribute_hidden.
13070         (__getdents): Likewise.
13071         (__getdents64): Likewise.
13072         (__alloc_dir): Likewise.
13073         [IS_IN (rtld)] (__closedir): Likewise.
13074         [IS_IN (rtld)] (__fdopendir): Likewise.
13075         [IS_IN (rtld)] (__readdir): Likewise.
13076         [IS_IN (rtld)] (__readdir64): Likewise.
13077         [IS_IN (rtld)] (__rewinddir): Likewise.
13079         * include/dlfcn.h (_dl_catch_error): Moved to ...
13080         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13081         attribute_hidden.
13083         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13084         (_itoa_word): Likewise.
13086         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13087         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13088         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13089         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13090         (_dl_higher_prime_number): Likewise.
13091         (_dl_debug_printf_c): Likewise.
13092         (_dl_signal_cerror): Likewise.
13093         (_dl_receive_error): Likewise.
13094         (_dl_reloc_bad_type): Likewise.
13095         (_dl_resolve_conflicts): Likewise.
13096         (_dl_check_all_versions): Likewise.
13097         (_dl_check_map_versions): Likewise.
13098         (_dl_sort_fini): Likewise.
13099         (_dl_debug_initialize): Likewise.
13100         (_dl_init_paths): Likewise.
13101         (_dl_show_auxv): Likewise.
13102         (_dl_next_ld_env_entry): Likewise.
13103         (_dl_important_hwcaps): Likewise.
13104         (_dl_load_cache_lookup): Likewise.
13105         (_dl_update_slotinfo): Likewise.
13106         (_dl_show_scope): Likewise.
13108         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13109         attribute_hidden.
13110         (_wordcopy_fwd_dest_aligned): Likewise.
13111         (_wordcopy_bwd_aligned): Likewise.
13112         (_wordcopy_bwd_dest_aligned): Likewise.
13114         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13115         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13116         Likewise.
13117         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13118         Likewise.
13119         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13121 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13123         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13124         GCC 5 requirement.
13126 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13128         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13129         test.
13130         * sysdeps/i386/configure: Regenerated.
13131         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13132         code unconditional.
13134         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13135         test.
13136         (libc_cv_asm_popsection_directive): Likewise.
13137         * configure: Regenerated.
13138         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13139         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13140         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13141         (__make_section_unallocated): Make definition unconditional.
13142         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13143         Remove conditional definition.
13144         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13145         (__make_section_unallocated): Likewise.
13147         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13148         * configure: Regenerated.
13149         * config.make.in (static-libgcc): Remove variable.
13150         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13151         $(static-libgcc).
13152         (build-module-helper): Likewise.
13154         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13155         * configure: Regenerated.
13157 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13159         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13160         (struct char_buffer): New type.
13161         (char_buffer_start, char_buffer_size, char_buffer_error)
13162         (char_buffer_rewind, char_buffer_add): New functions.
13163         (ADDW): Remove macro, replaced by the char_buffer_add function.
13164         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13165         of extend_alloca.  Make control flow more explicit.
13167 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13169         [BZ #19137]
13170         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13171         Add -fomit-frame-pointer.
13172         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13174 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13176         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13177         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13178         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13179         only if !__GNUC_PREREQ (5,0).
13180         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13181         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13182         (INTERNAL_SYSCALL_NCS): Likewise.
13183         (LOADREGS_0): New macro for GCC 5.
13184         (ASMARGS_0): Likewise.
13185         (LOADREGS_1): Likewise.
13186         (ASMARGS_1): Likewise.
13187         (LOADREGS_2): Likewise.
13188         (ASMARGS_2): Likewise.
13189         (LOADREGS_3): Likewise.
13190         (ASMARGS_3): Likewise.
13191         (LOADREGS_4): Likewise.
13192         (ASMARGS_4): Likewise.
13193         (LOADREGS_5): Likewise.
13194         (ASMARGS_5): Likewise.
13195         (LOADREGS_6): Likewise.
13196         (ASMARGS_6): Likewise.
13198 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13200         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13201         -fomit-frame-pointer.
13202         (CFLAGS-mmap64.c): Likewise.
13203         (CFLAGS-semtimedop.c): Likewise.
13204         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13205         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13206         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13207         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13209 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13211         [BZ #18928]
13212         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13213         _dl_pointer_guard member.
13214         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13215         initializer.
13216         (security_init): Always set up pointer guard.
13217         (process_envvars): Do not process LD_POINTER_GUARD.
13219 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13221         [BZ #19134]
13222         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13223         (.LC2): Likewise.
13224         (.LC3): Likewise.
13225         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13227 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13229         [BZ #19129]
13230         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13231         r0 and r1.
13233 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13235         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13237 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13239         * include/stap-probe.h: Fix macro definition formatting.
13241 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13243         [BZ #19074]
13244         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13245         load and store num_ifs.
13247 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13249         [BZ #18822]
13250         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13251         (__sched_getaffinity_new): Add libc_hidden_proto and
13252         libc_hidden_def.
13254 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13256         [BZ #19007]
13257         * scripts/localplt.awk: Also allow GOT references.
13258         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13259         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13260         with "+ REL R_386_GLOB_DAT".
13261         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13262         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13264 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13266         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13267         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13268         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13269         Likewise.
13270         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13271         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13272         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13273         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13274         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13275         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13276         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13277         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13278         Likewise.
13279         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13281 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13283         [BZ #19125]
13284         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13285         <math_private.h> and <stdint.h>.
13286         (__llround): Avoid conversions to and from long long int, and
13287         subtractions, where those might raise spurious exceptions.
13288         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13289         <math_private.h> and <stdint.h>.
13290         (__llroundf): Avoid conversions to and from long long int, and
13291         subtractions, where those might raise spurious exceptions.
13293 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13295         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13296         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13297         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13298         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13299         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13300         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13301         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13302         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13303         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13304         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13305         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13306         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13307         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13308         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13309         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13310         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13311         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13312         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13313         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13314         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13315         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13316         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13317         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13318         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13319         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13320         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13321         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13322         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13323         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13324         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13325         (__xstat64_conv): Likewise.
13326         (__xstat32_conv): Likewise.
13328 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13330         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13331         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13332         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13333         <sysdeps/unix/sysv/linux/sysdep.h>.
13334         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13335         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13336         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13337         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13338         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13339         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13340         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13341         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13342         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13345         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13346         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13347         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13348         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13349         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13350         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13351         (sysdep-dl-routines): Add sysdep.
13352         [$(subdir) == nptl] (libpthread-routines): Likewise.
13353         [$(subdir) == rt] (librt-routines): Likewise.
13354         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13355         PIC when branching to SYSCALL_ERROR_LABEL.
13356         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13358         <sysdeps/unix/sysv/linux/sysdep.h>.
13359         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13360         (SYSCALL_ERROR_ERRNO): Removed.
13361         (SYSCALL_ERROR_HANDLER): Changed to empty.
13362         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13363         (__syscall_error): New prototype.
13364         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13365         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13367 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13369         [BZ #19124]
13370         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13371         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13372         _dl_runtime_resolve_avx.
13373         (_dl_runtime_profile_avx512): Make it a hidden alias of
13374         _dl_runtime_profile_avx.
13376 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13378         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13379         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13380         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13381         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13383         [BZ #16422]
13384         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13385         New configure test.
13386         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13387         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13388         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13389         <math_private.h> and <stdint.h>.
13390         (__llrint): Avoid conversions to long long int where those might
13391         raise spurious exceptions.
13392         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13393         <math_private.h> and <stdint.h>.
13394         (__llrintf): Avoid conversions to long long int where those might
13395         raise spurious exceptions.
13397 2015-10-12  Andreas Schwab  <schwab@suse.de>
13399         [BZ #18969]
13400         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13401         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13402         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13403         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13404         $(gen-locales).
13405         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13406         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13407         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13408         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13409         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13410         $(gen-locales).
13411         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13412         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13413         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13414         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13415         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13416         ($(objpfx)tst-ftell-active-handler.out)
13417         ($(objpfx)tst-ftell-append.out)
13418         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13419         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13420         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13421         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13422         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13423         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13424         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13425         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13426         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13427         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13428         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13429         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13430         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13431         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13432         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13433         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13434         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13435         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13436         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13437         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13438         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13439         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13440         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13441         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13442         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13443         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13444         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13445         $(gen-locales).
13446         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13447         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13448         $(gen-locales).
13449         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13450         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13451         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13452         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13453         $(gen-locales).
13454         * libio/tst_wprintf2.c (main): Use explicit locale.
13455         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13457 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13459         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13460         __msg_sig_post.
13461         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13463 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13465         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13466         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13468         * sysdeps/arm/libm-test-ulps: Regenerated.
13470         [BZ #15470]
13471         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13473         [BZ #16399]
13474         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13475         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13476         and <fix-fp-int-convert-overflow.h>.
13477         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13478         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13479         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13480         and <fix-fp-int-convert-overflow.h>.
13481         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13482         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13483         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13484         <fix-fp-int-convert-overflow.h>.
13485         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13486         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13487         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13488         <fix-fp-int-convert-overflow.h>.
13489         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13490         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13491         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13492         and <fix-fp-int-convert-overflow.h>.
13493         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13494         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13495         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13496         <limits.h> and <fix-fp-int-convert-overflow.h>.
13497         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13498         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13499         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13500         and <fix-fp-int-convert-overflow.h>.
13501         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13502         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13503         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13504         and <fix-fp-int-convert-overflow.h>.
13505         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13506         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13507         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13509 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13511         [BZ #18589]
13512         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13513         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13514         $(gen-locales).
13516 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13517             Phil Blundell <pb@pbcl.net>
13519         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13520         * nptl/tst-cancel26.c: New file.
13521         * nptl/tst-cancel27.c: Likewise.
13523 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13525         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13526         __ILP32__ isn't defined.
13527         (lrint): Likewise.
13528         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13529         (lrintf): Likewise.
13530         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13531         (lrintl): Likewise.
13532         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13533         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13534         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13536 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13538         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13539         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13541         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13542         file.
13543         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13544         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13546 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13548         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13549         configure test.
13550         * sysdeps/i386/configure: Regenerated.
13551         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13552         configure test.
13553         * sysdeps/x86_64/configure: Regenerated.
13554         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13555         Make code unconditional.
13557         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13558         test.
13559         * sysdeps/i386/configure: Regenerated.
13560         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13561         test.
13562         * sysdeps/x86_64/configure: Regenerated.
13563         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13564         Make code unconditional.
13565         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13566         Likewise.
13567         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13568         Likewise.
13569         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13570         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13571         code unconditional.
13572         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13573         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13574         code unconditional.
13575         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13576         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13577         code unconditional.
13578         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13579         code unconditional.
13580         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13581         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13582         code unconditional.
13583         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13584         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13585         code unconditional.
13586         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13587         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13588         code unconditional.
13589         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13590         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13591         code unconditional.
13592         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13593         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13595         [BZ #19095]
13596         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13597         mantissa to long int before shifting left.
13599 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13601         [BZ #19094]
13602         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13603         <limits.h>.
13604         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13605         when result overflows but exception would not result from cast.
13606         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13607         <limits.h>.
13608         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13609         when result overflows but exception would not result from cast.
13610         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13611         <limits.h>.
13612         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13613         when result overflows but exception would not result from cast.
13614         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13615         <limits.h>.
13616         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13617         when result overflows but exception would not result from cast.
13618         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13619         <limits.h>.
13620         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13621         when result overflows but exception would not result from cast.
13622         * math/libm-test.inc (lrint_test_data): Add more tests.
13623         (llrint_test_data): Likewise.
13625 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13627         [BZ #18872]
13628         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13629         Move out from under [$(run-built-tests) = yes] conditional.
13630         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13631         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13633 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13635         [BZ #18589]
13636         * string/Makefile (tests): Add bug-strcoll2.
13637         (LOCALES): Add cs_CZ.UTF-8.
13638         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13640         [BZ #18589]
13641         * string/bug-strcoll2.c: New file.
13642         * locale/categories.def: Revert commit
13643         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13644         * locale/langinfo.h: Likewise.
13645         * locale/localeinfo.h: Likewise.
13646         * locale/C-collate.c: Likewise.
13647         * locale/programs/ld-collate.c (collate_output): Likewise.
13648         * string/strcoll_l.c (STRDIFF): Likewise.
13649         (STRCOLL): Likewise.
13650         * wcsmbs/wcscoll_l.c: Likewise.
13652 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13654         * math/libm-test.inc (lround_test_data): Do not expect the absence
13655         of "inexact" for some tests with non-integer arguments.
13656         (llround_test_data): Likewise.
13658         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13659         test.
13660         (libc_cv_cc_sse2avx): Likewise.
13661         * sysdeps/i386/configure: Regenerated.
13662         * sysdeps/i386/i686/multiarch/Makefile
13663         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13664         [$(subdir) = math].
13665         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13666         code unconditional.
13667         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13668         Likewise.
13669         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13670         Likewise.
13671         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13672         Likewise.
13673         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13674         test.
13675         (libc_cv_cc_sse2avx): Likewise.
13676         * sysdeps/x86_64/configure: Regenerated.
13677         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13678         unconditional.
13679         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13680         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13681         unconditional.
13682         (_dl_runtime_profile)
13683         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13684         conditional code.
13685         * sysdeps/x86_64/fpu/multiarch/Makefile
13686         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13687         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13688         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13689         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13690         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13691         * sysdeps/x86_64/fpu/multiarch/e_log.c
13692         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13693         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13694         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13695         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13696         Likewise.
13697         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13698         Likewise.
13699         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13700         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13701         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13702         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13703         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13704         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13705         (HAVE_SSE2AVX_SUPPORT): Likewise.
13707 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13709         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13710         instead of #pragma optimize.
13712 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13714         [BZ #17195]
13715         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13716         as is similarly done in systrim and _int_free already.
13718 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13720         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13722 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13724         [BZ #19088]
13725         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13726         <limits.h>.
13727         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13728         overflows but exception would not result from cast.
13729         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13730         and <limits.h>.
13731         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13732         overflows but exception would not result from cast.
13733         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13734         <limits.h>.
13735         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13736         overflows but exception would not result from cast.
13737         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13738         <limits.h>.
13739         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13740         overflows but exception would not result from cast.
13741         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13742         <limits.h>.
13743         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13744         overflows but exception would not result from cast.
13745         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13746         <limits.h>.
13747         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13748         overflows but exception would not result from cast.
13749         * math/libm-test.inc (lround_test_data): Add more tests.
13750         (llround_test_data): Likewise.
13752 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13754         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13755         (CFLAGS-ialloc.c): Ditto.
13756         (CFLAGS-scheck.c): Ditto.
13758 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13760         [BZ #19086]
13761         * manual/filesys.texi (Storage Allocation): Fix argument order for
13762         posix_fallocate64.
13764 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13766         [BZ #19085]
13767         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13768         exponent below 48 inside case for non-overflowing exponent.
13769         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13771 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13773         * iconvdata/cp737.h (from_idx): Add const.
13774         * iconvdata/cp775.h (from_idx): Likewise.
13776 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13778         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13779         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13780         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13782         [BZ #19079]
13783         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13784         file, conditioned on [!_LP64].
13785         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13786         [!_LP64] (__lround): Do not define as function or alias.
13787         [!_LP64] (lround): Likewise.
13788         [!_LP64] (__lroundl): Likewise.
13789         [!_LP64] (lroundl): Likewise.
13790         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13791         macro.
13792         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13793         Likewise.
13795 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13797         * math/libm-test.inc (lrint_test_data): Add more tests.
13798         (llrint_test_data): Likewise.
13799         (lround_test_data): Likewise.
13800         (llround_test_data): Likewise.
13802         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13803         (llrint_test_data): Add tests used for lrint.
13805         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13806         test.
13807         * sysdeps/i386/configure: Regenerated.
13808         * sysdeps/i386/i686/multiarch/Makefile
13809         [$(config-cflags-sse4) = yes]: Make code unconditional.
13810         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13811         Likewise.
13812         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13813         Likewise.
13814         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13815         test.
13816         * sysdeps/x86_64/configure: Regenerated.
13817         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13818         Make code unconditional.
13819         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13820         Likewise.
13821         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13822         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13824         * scripts/rpm2dynsym.sh: Remove file.
13826 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13828         * configure.ac (libc_cv_cxx_thread_local): Define.
13829         * configure: Regenerate.
13830         * config.make.in (have-cxx-thread_local): Define.
13831         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13832         (LDLIBS-tst-thread_local1): Define.
13833         (tests): Add tst-thread_local1.
13834         [have-cxx-thread_local != yes] (tests-unsupported): Add
13835         tst-thread_local1.
13836         * nptl/tst-thread_local1.cc: New file.
13838 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13840         [BZ #19078]
13841         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13842         (u_thres): Likewise.
13843         (__expl): Determine whether to call __kernel_standard_l based on
13844         value of result, not argument.
13846         * math/libm-test.inc (scalb_test_data): Add more expectations for
13847         the "inexact" exception.
13849         [BZ #19077]
13850         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13851         0.0L for argument 1.0L.
13853         [BZ #19076]
13854         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13855         constant 0.0L when computing infinite result.
13857 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13859         [BZ #10432]
13860         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13861         malloc_usable_size.
13863 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13865         [BZ #19018]
13866         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13867         Mangle function pointer before storing it.
13868         (__call_tls_dtors): Demangle function pointer before calling it.
13870 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13872         [BZ #19012]
13873         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13874         Clean up on failure.
13876 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13878         [BZ #19071]
13879         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13880         long int variable to store possibly incremented high part of
13881         mantissa.
13882         * math/libm-test.inc (lround_test_data): Add tests used for
13883         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13884         for tests requiring 64-bit long.  Do not condition tests on
13885         [TEST_FLOAT] unnecessarily.
13886         (llround_test_data): Add tests used for lround.  Add another
13887         expectation for the "inexact" exception.  Do not condition tests
13888         on [TEST_FLOAT] unnecessarily.
13890         [BZ #887]
13891         [BZ #19049]
13892         [BZ #19050]
13893         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13894         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13895         <fix-int-fp-convert-zero.h>.
13896         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13897         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13898         <fix-int-fp-convert-zero.h>.
13899         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13900         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13901         <fix-int-fp-convert-zero.h>.
13902         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13903         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13904         <fix-int-fp-convert-zero.h>.
13905         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13906         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13907         <fix-int-fp-convert-zero.h>.
13908         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13909         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13910         <fix-int-fp-convert-zero.h>.
13911         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13912         * sysdeps/ieee754/flt-32/s_erff.c: Include
13913         <fix-int-fp-convert-zero.h>.
13914         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13915         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13916         <fix-int-fp-convert-zero.h>.
13917         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13918         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13919         <fix-int-fp-convert-zero.h>.
13920         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13921         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13922         <fix-int-fp-convert-zero.h>.
13923         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13924         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13925         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13926         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13927         file.
13928         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13930 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13932         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13934 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13936         [BZ #19059]
13937         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13938         overflowing computation.
13939         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13940         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13941         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13942         Likewise.
13943         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13944         Likewise.
13945         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13946         Likewise.
13947         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13948         Likewise.
13949         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13950         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13951         Likewise.
13952         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13953         Likewise.
13954         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13956         * nss/rewrite_field.c (__nss_rewrite_field): Use
13957         internal_function.
13958         * nss/valid_field.c (__nss_valid_field): Likewise.
13959         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13961 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13963         [BZ #18724]
13964         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13965         (__nss_invalid_field_characters, __nss_valid_field)
13966         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13967         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13968         tst-field.c: New file.
13969         * nss/Makefile (routines): Add valid_field, rewrite_field.
13970         (tests-static): Define unconditionally.
13971         (tests): Include tests-static.
13972         [build-static-nss] (tests-static): Use append.
13973         [build-static-nss] (tests): Remove modification.
13974         * nss/getent.c (print_group): Call putgrent.  Report error.
13975         (print_gshadow): Call putsgent.  Report error.
13976         (print_passwd): Call putpwent.  Report error.
13977         (print_shadow): Call putspent.  Report error.
13978         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13979         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13980         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13981         name, password, directory, shell fields for valid syntax.  Rewrite
13982         GECOS field to match syntax.
13983         * pwd/Makefile (tests): Add tst-putpwent.
13984         * pwd/tst-putpwent.c: New file.
13985         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13986         Check grName, grpasswd, gr_mem fields for valid syntax.
13987         Change loop variable i to size_t.
13988         * grp/Makefile (tests): Add tst-putgrent.
13989         * grp/tst-putgrent.c: New file.
13990         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13991         valid syntax.
13992         * shadow/Makefile (tests): Add tst-putspent.
13993         * shadow/tst-putspent.c: New file.
13994         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13995         sg_mem fields for valid syntax.
13996         * gshadow/Makefile (tests): Add tst-putsgent.
13997         * gshadow/tst-putsgent.c: New file.
13999 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14001         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14002         assembly instructions.
14004 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14006         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14007         prefix from operands.
14009 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14011         [BZ #16347]
14012         [BZ #19046]
14013         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14014         <libc-internal.h>.
14015         (MAXLGM): Do not use diagnostic control macros.
14016         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14017         threshold for ldbl-128ibm.
14018         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14019         instead of multiplying by log then subtracting.
14020         * math/auto-libm-test-in: Add more tests of lgamma.
14021         * math/auto-libm-test-out: Regenerated.
14023         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14024         (TYPE_HEX_DIG): Likewise.
14025         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14026         precisions when printing floating-point numbers.
14027         (check_float_internal): Likewise.
14029 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14031         [BZ #16620]
14032         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14033         of log (10) rounded downward to 48 bits.
14034         (log10_low): Use corresponding low part of log (10).
14036         [BZ #19032]
14037         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14038         compute result as (x - x) / (x - x) not as 0 / 0.
14039         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14040         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14042         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14043         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14044         and expm1.
14045         * math/auto-libm-test-out: Regenerated.
14046         * math/libm-test.inc (acos_test_data): Add more tests.
14047         (asin_test_data): Likewise.
14048         (asinh_test_data): Likewise.
14049         (atan_test_data): Likewise.
14050         (atanh_test_data): Likewise.
14051         (atan2_test_data): Likewise.
14052         (cbrt_test_data): Likewise.
14053         (ceil_test_data): Likewise.
14054         (copysign_test_data): Likewise.
14055         (cos_test_data): Likewise.
14056         (cosh_test_data): Likewise.
14057         (erf_test_data): Likewise.
14058         (erfc_test_data): Likewise.
14059         (exp_test_data): Likewise.
14060         (exp10_test_data): Likewise.
14061         (exp2_test_data): Likewise.
14062         (expm1_test_data): Likewise.
14063         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14065 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14067         [BZ #19006]
14068         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14069         to ...
14070         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14071         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14072         to ...
14073         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14074         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14075         to ...
14076         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14077         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14078         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14079         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14080         to ...
14081         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14082         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14083         Moved to ...
14084         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14085         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14086         Moved to ...
14087         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14088         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14089         to ...
14090         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14091         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14092         Moved to ...
14093         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14094         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14095         to ...
14096         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14097         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14098         Removed.
14099         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14100         Likewise.
14101         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14102         Likewise.
14103         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14104         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14105         Likewise.
14106         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14107         Likewise.
14108         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14109         Likewise.
14110         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14111         Likewise.
14112         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14113         Likewise.
14114         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14115         Likewise.
14116         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14117         Likewise.
14118         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14119         Likewise.
14120         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14121         Likewise.
14122         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14123         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14124         Likewise.
14125         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14126         Likewise.
14127         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14128         Likewise.
14129         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14130         Likewise.
14131         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14132         Likewise.
14133         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14134         Replace ../i486/pthread_cond_timedwait.S with
14135         ../pthread_cond_timedwait.S.
14137 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14139         * math/libm-test.inc (acos_test_data): Refine expectations for
14140         errno and "inexact" exceptions.
14141         (acosh_test_data): Likewise.
14142         (asin_test_data): Likewise.
14143         (asinh_test_data): Likewise.
14144         (atan_test_data): Likewise.
14145         (atanh_test_data): Likewise.
14146         (atan2_test_data): Likewise.
14147         (cbrt_test_data): Likewise.
14148         (ceil_test_data): Likewise.
14149         (copysign_test_data): Likewise.
14150         (cosh_test_data): Likewise.
14151         (erf_test_data): Likewise.
14152         (erfc_test_data): Likewise.
14153         (exp_test_data): Likewise.
14154         (exp10_test_data): Likewise.
14155         (exp2_test_data): Likewise.
14156         (expm1_test_data): Likewise.
14157         (fabs_test_data): Likewise.
14158         (floor_test_data): Likewise.
14159         (fma_test_data): Likewise.
14160         (fmax_test_data): Likewise.
14161         (fmin_test_data): Likewise.
14162         (fmod_test_data): Likewise.
14163         (fpclassify_test_data): Likewise.
14164         (frexp_test_data): Likewise.
14165         (hypot_test_data): Likewise.
14166         (ilogb_test_data): Likewise.
14167         (isgreater_test_data): Likewise.
14168         (isgreaterequal_test_data): Likewise.
14169         (isinf_test_data): Likewise.
14170         (isless_test_data): Likewise.
14171         (islessequal_test_data): Likewise.
14172         (islessgreater_test_data): Likewise.
14173         (isnan_test_data): Likewise.
14174         (isnormal_test_data): Likewise.
14175         (issignaling_test_data): Likewise.
14176         (isunordered_test_data): Likewise.
14177         (j0_test_data): Likewise.
14178         (j1_test_data): Likewise.
14179         (jn_test_data): Likewise.
14180         (lgamma_test_data): Likewise.
14181         (lrint_test_data): Likewise.
14182         (llrint_test_data): Likewise.
14183         (log_test_data): Likewise.
14184         (log10_test_data): Likewise.
14185         (log1p_test_data): Likewise.
14186         (log2_test_data): Likewise.
14187         (logb_test_data): Likewise.
14188         (lround_test_data): Likewise.
14189         (llround_test_data): Likewise.
14190         (modf_test_data): Likewise.
14191         (nearbyint_test_data): Likewise.
14192         (nextafter_test_data): Likewise.
14193         (nexttoward_test_data): Likewise.
14194         (pow_test_data): Likewise.
14195         (remainder_test_data): Likewise.
14196         (remquo_test_data): Likewise.
14197         (rint_test_data): Likewise.
14198         (round_test_data): Likewise.
14199         (signbit_test_data): Likewise.
14200         (sinh_test_data): Likewise.
14201         (sqrt_test_data): Likewise.
14202         (tanh_test_data): Likewise.
14203         (tgamma_test_data): Likewise.
14204         (trunc_test_data): Likewise.
14205         (y0_test_data): Likewise.
14206         (y1_test_data): Likewise.
14207         (yn_test_data): Likewise.
14208         (significand_test_data): Likewise.
14210 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14212         * manual/filesys.texi (Storage Allocation): Document that
14213         posix_fallocate emulation fails when fd is open with O_WRONLY.
14215 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14217         [BZ #19016]
14218         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14219         allow more cases with X^2 + Y^2 >= 0.5.
14220         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14221         normal element in sum instead of special-casing based on values of
14222         arguments.
14223         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14224         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14225         -1 as normal element in sum instead of special-casing based on
14226         values of arguments.
14227         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14228         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14229         (__x2y2m1): Update comment.
14230         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14231         as normal element in sum instead of special-casing based on values
14232         of arguments.
14233         * math/s_clog.c (__clog): Handle more cases using log1p without
14234         hypot.
14235         * math/s_clog10.c (__clog10): Likewise.
14236         * math/s_clog10f.c (__clog10f): Likewise.
14237         * math/s_clog10l.c (__clog10l): Likewise.
14238         * math/s_clogf.c (__clogf): Likewise.
14239         * math/s_clogl.c (__clogl): Likewise.
14240         * math/auto-libm-test-in: Add more tests of clog and clog10.
14241         * math/auto-libm-test-out: Regenerated.
14242         * sysdeps/i386/fpu/libm-test-ulps: Update.
14243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14245 2015-09-28  Martin Sebor  <msebor@redhat.com>
14247         [BZ #18969]
14248         * string/Makefile (LOCALES): Define.
14249         (gen-locales.mk): Include.
14250         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14251         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14252         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14253         on setlocale failure.
14255 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14257         [BZ #18985]
14258         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14259         (__strftime_internal): Likewise.
14260         * time/tst-strftime.c (do_bz18985): New test.
14261         (do_test): Call it.
14263 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14265         [BZ #18956]
14266         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14267         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14268         extracting high part.
14269         * math/auto-libm-test-in: Add another test of pow.
14270         * math/auto-libm-test-out: Regenerated.
14271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14273 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14275         [BZ #18825]
14276         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14277         New macro.
14278         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14279         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14280         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14281         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14282         DBL_NARROW_EVAL, reloading the PIC register as needed.
14283         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14284         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14285         FLT_NARROW_EVAL.  Use separate return path for case when first
14286         argument is NaN.
14287         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14288         DEFINE_LDBL_MIN.
14289         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14290         PIC register.
14291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14292         math_check_force_underflow_nonneg.
14293         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14294         underflow for subnormal result.
14295         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14296         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14297         math_check_force_underflow_nonneg.
14298         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14299         math_check_force_underflow.
14300         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14301         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14302         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14303         DEFINE_LDBL_MIN.
14304         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14305         * math/auto-libm-test-in: Add more tests of pow.
14306         * math/auto-libm-test-out: Regenerated.
14308 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14310         * nss/bug17079.c (init_test_items): Add diagnostic for
14311         inconsistent entries.
14312         (test_buffer_size): Skip inconsistent entries.
14314 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14316         [BZ #13304]
14317         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14318         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14319         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14321         [BZ #13304]
14322         * sysdeps/microblaze/s_fma.c: New file.
14323         * sysdeps/microblaze/s_fmaf.c: Likewise.
14324         * sysdeps/microblaze/sfp-machine.h: Likewise.
14326 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14328         [BZ #17250]
14329         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14330         member.
14332 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14334         [BZ #18803]
14335         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14336         (MO): New macro.
14337         (__ieee754_hypot) [PIC]: Load PIC register.
14338         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14339         DBL_NARROW_EVAL.
14340         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14341         math_check_force_underflow_nonneg in case where result might be
14342         tiny.
14343         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14344         Likewise.
14345         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14346         Likewise.
14347         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14348         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14349         * math/auto-libm-test-in: Add more tests of hypot.
14350         * math/auto-libm-test-out: Regenerated.
14352 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14354         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14356 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14358         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14359         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14360         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14361         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14362         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14363         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14364         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14366         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14367         LOAD_PIC_REG.
14369         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14370         (FLT_CHECK_FORCE_UFLOW): Likewise.
14371         (DBL_CHECK_FORCE_UFLOW): Likewise.
14372         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14373         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14374         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14375         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14376         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14377         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14378         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14379         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14380         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14381         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14382         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14383         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14384         (flt_min): Replace with use of DEFINE_FLT_MIN.
14385         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14386         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14387         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14388         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14389         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14390         (flt_min): Replace with use of DEFINE_FLT_MIN.
14391         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14392         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14393         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14394         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14395         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14396         (flt_min): Replace with use of DEFINE_FLT_MIN.
14397         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14398         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14399         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14400         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14401         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14402         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14403         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14404         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14405         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14406         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14407         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14408         (flt_min): Replace with use of DEFINE_FLT_MIN.
14409         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14410         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14411         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14412         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14413         main computation.
14414         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14415         (flt_min): Replace with use of DEFINE_FLT_MIN.
14416         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14417         main computation.
14418         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14419         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14420         (MO): New macro.
14421         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14422         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14423         (flt_min): Replace with use of DEFINE_FLT_MIN.
14424         (MO): New macro.
14425         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14426         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14427         (__log1pl): Use MO.
14429         [BZ #19003]
14430         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14431         $(config-cflags-nofma).
14433 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14435         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14437 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14439         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14440         (TWO127): Likewise.
14442         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14443         (min_of_type): Likewise.
14444         (math_check_force_underflow): Likewise.
14445         (math_check_force_underflow_nonneg): Likewise.
14446         (math_check_force_underflow_complex): Likewise.
14447         * math/e_exp2l.c (__ieee754_exp2l): Use
14448         math_check_force_underflow_nonneg.
14449         * math/k_casinh.c (__kernel_casinh): Likewise.
14450         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14451         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14452         * math/s_catan.c (__catan): Use
14453         math_check_force_underflow_complex.
14454         * math/s_catanf.c (__catanf): Likewise.
14455         * math/s_catanh.c (__catanh): Likewise.
14456         * math/s_catanhf.c (__catanhf): Likewise.
14457         * math/s_catanhl.c (__catanhl): Likewise.
14458         * math/s_catanl.c (__catanl): Likewise.
14459         * math/s_ccosh.c (__ccosh): Likewise.
14460         * math/s_ccoshf.c (__ccoshf): Likewise.
14461         * math/s_ccoshl.c (__ccoshl): Likewise.
14462         * math/s_cexp.c (__cexp): Likewise.
14463         * math/s_cexpf.c (__cexpf): Likewise.
14464         * math/s_cexpl.c (__cexpl): Likewise.
14465         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14466         * math/s_clog10.c (__clog10): Likewise.
14467         * math/s_clog10f.c (__clog10f): Likewise.
14468         * math/s_clog10l.c (__clog10l): Likewise.
14469         * math/s_clogf.c (__clogf): Likewise.
14470         * math/s_clogl.c (__clogl): Likewise.
14471         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14472         * math/s_csinf.c (__csinf): Likewise.
14473         * math/s_csinh.c (__csinh): Likewise.
14474         * math/s_csinhf.c (__csinhf): Likewise.
14475         * math/s_csinhl.c (__csinhl): Likewise.
14476         * math/s_csinl.c (__csinl): Likewise.
14477         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14478         * math/s_csqrtf.c (__csqrtf): Likewise.
14479         * math/s_csqrtl.c (__csqrtl): Likewise.
14480         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14481         * math/s_ctanf.c (__ctanf): Likewise.
14482         * math/s_ctanh.c (__ctanh): Likewise.
14483         * math/s_ctanhf.c (__ctanhf): Likewise.
14484         * math/s_ctanhl.c (__ctanhl): Likewise.
14485         * math/s_ctanl.c (__ctanl): Likewise.
14486         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14487         instead of volatile.
14488         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14489         math_check_force_underflow.
14490         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14491         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14492         volatile when forcing underflow.
14493         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14494         math_check_force_underflow_nonneg.
14495         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14496         Likewise.
14497         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14498         math_check_force_underflow.
14499         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14500         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14501         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14502         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14503         math_check_force_underflow_nonneg.
14504         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14505         math_check_force_underflow.
14506         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14507         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14508         instead of volatile.
14509         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14510         math_check_force_underflow.
14511         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14512         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14513         math_check_force_underflow_nonneg.
14514         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14515         math_check_force_underflow.
14516         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14517         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14518         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14519         math_check_force_underflow_nonneg.
14520         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14521         Likewise.
14522         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14523         math_check_force_underflow.
14524         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14525         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14526         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14527         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14528         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14529         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14530         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14531         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14532         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14533         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14534         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14535         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14536         Likewise.
14537         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14538         math_check_force_underflow_nonneg.
14539         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14540         Likewise.
14541         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14542         math_check_force_underflow.
14543         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14544         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14545         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14546         Likewise.
14547         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14548         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14549         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14550         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14551         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14552         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14553         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14554         instead of volatile.
14555         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14556         math_check_force_underflow.
14557         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14558         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14559         math_check_force_underflow.
14560         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14561         Likewise.
14562         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14563         Use math_check_force_underflow_nonneg.
14564         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14565         math_check_force_underflow.
14566         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14567         Likewise.
14568         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14569         Likewise.
14570         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14571         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14572         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14573         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14574         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14575         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14576         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14577         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14578         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14579         math_check_force_underflow_nonneg.
14580         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14581         math_check_force_underflow.
14582         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14583         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14584         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14585         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14586         math_check_force_underflow_nonneg.
14587         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14588         math_check_force_underflow.
14589         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14590         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14591         instead of volatile.
14592         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14593         math_check_force_underflow.
14595         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14596         * stdlib/strtod_l.c: Include <math_private.h>.
14597         (overflow_value): Use math_narrow_eval.
14598         (underflow_value): Likewise.
14599         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14600         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14601         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14602         (__ieee754_gamma_r): Likewise.
14603         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14604         Likewise.
14605         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14606         Likewise.
14607         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14608         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14609         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14610         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14611         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14612         (__ieee754_gammaf_r): Likewise.
14613         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14614         Likewise.
14615         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14616         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14617         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14618         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14619         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14620         volatile.
14621         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14622         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14623         math_narrow_eval.
14624         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14625         Likewise.
14626         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14627         Likewise.
14628         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14629         Likewise.
14630         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14631         volatile.
14632         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14633         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14634         math_narrow_eval.
14635         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14636         Likewise.
14637         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14638         Likewise.
14640 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14642         * nptl/Versions: Remove ignored symbols.
14644 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14646         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14647         * nss/Makefile (tests): Update.
14649 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14651         * nss/bug18287.c: New file.
14652         * nss/Makefile (tests): Add bug18287.
14654 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14656         * mach/Versions (__mach_host_self_): Add symbol.
14658 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14660         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14661         vm_page_size.
14663 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14665         Really fix sysdeps/i386/fpu/s_scalbn.S build
14667         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14668         (libc: GLIBC_2_22): Remove unused version set.
14670 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14672         * config.make.in (enable-timezone-tools): New variable.
14673         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14674         (enable_timezone_tools): Export to generated files.
14675         * configure: Regenerate.
14676         * INSTALL: Regenerate.
14677         * manual/install.texi (--disable-timezone-tools): Document new flag.
14678         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14679         ifeq ($(enable-timezone-tools),yes) check.
14681 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14683         * timezone/Makefile: Revert previous change.
14685         [BZ #18980]
14686         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14687         (DEFINE_DBL_MIN): Likewise.
14688         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14689         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14690         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14691         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14692         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14693         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14694         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14695         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14696         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14697         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14698         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14699         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14700         (flt_min): Replace with use of DEFINE_FLT_MIN.
14701         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14702         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14703         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14704         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14705         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14706         (flt_min): Replace with use of DEFINE_FLT_MIN.
14707         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14708         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14709         (flt_min): Replace with use of DEFINE_FLT_MIN.
14710         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14711         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14712         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14713         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14714         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14715         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14716         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14717         (__ieee754_pow): Use DBL_NARROW_EVAL.
14718         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14719         (__ieee754_powf): Use FLT_NARROW_EVAL.
14720         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14721         (__ieee754_expf_sse2): Convert double-precision result to single
14722         precision.
14723         * sysdeps/i386/fpu/libm-test-ulps: Update.
14725 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14727         * timezone/Makefile: Ignore unused variable errors due to private.h
14728         (time_t_min) and (time_t_max).
14729         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14730         Likewise.
14732 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14734         [BZ #18981]
14735         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14736         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14737         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14738         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14739         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14740         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14741         (__scalbn): Use DBL_NARROW_EVAL.
14742         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14743         (__scalbnf): Use FLT_NARROW_EVAL.
14745 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14747         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14748         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14749         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14750         * stdio-common/printf_fp.c (___printf_fp):
14751         Use signbit to get the sign. Use isinf macro to allow inlining.
14752         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14753         * stdio-common/printf_size.c (__printf_size): Likewise.
14755 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14757         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14759 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14761         [BZ #18980]
14762         * sysdeps/generic/math_private.h: Include <float.h>.
14763         (math_narrow_eval): New macro.
14764         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14765         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14766         math_narrow_eval on overflowing return value.
14767         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14768         Likewise.
14769         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14770         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14771         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14772         Likewise.
14773         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14775 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14777         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14778         * math/Makefile: Remove isinf_ns.c.
14779         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14780         * math/multc3.c (__multc3): Likewise.
14781         * math/s_casin.c (__casin): Likewise.
14782         * math/s_casinf.c (__casinf): Likewise.
14783         * math/s_casinl.c (__casinl): Likewise.
14784         * math/s_cproj.c (__cproj): Likewise.
14785         * math/s_cprojf.c (__cprojf): Likewise.
14786         * math/s_cprojl.c (__cprofl): Likewise.
14787         * math/s_ctan.c (__ctan): Likewise.
14788         * math/s_ctanf.c (__ctanf): Likewise.
14789         * math/s_ctanh.c (__ctanh): Likewise.
14790         * math/s_ctanhf.c (__ctanhf): Likewise.
14791         * math/s_ctanhl.c (__ctanhl): Likewise.
14792         * math/s_ctanl.c (__ctanl): Likewise.
14793         * math/w_fmod.c (__fmod): Likewise.
14794         * math/w_fmodf.c (__fmodf): Likewise.
14795         * math/w_fmodl.c (_fmodl): Likewise.
14796         * math/w_remainder.c (__remainder): Likewise.
14797         * math/w_remainderf.c (__remainderf): Likewise.
14798         * math/w_remainderl.c (__remainderl): Likewise.
14799         * math/w_scalb.c (__scalb): Likewise.
14800         * math/w_scalbf.c (__scalbf): Likewise.
14801         * math/w_scalbl.c (__scalbl): Likewise.
14802         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14803         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14804         with isinf.
14805         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14806         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14807         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14808         __isinf_nsf with isinf.
14809         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14810         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14811         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14812         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14813         with isinf.
14814         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14815         __isinf_nsl with isinf.
14816         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14817         with isinf.
14818         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14819         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14820         __isinf_nsl with isinf.
14821         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14822         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14823         with isinf.
14825 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14827         * resolv/base64.c (rcsid): Remove unused static.
14828         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14829         static.  (tqpi1): Likewise.
14830         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14831         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14832         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14833         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14834         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14835         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14836         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14837         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14838         Likewise.
14840 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14842         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14843         <nptl/pthreadP.h>.
14844         (_longjmp_unwind): Use __libc_ptf_call.
14845         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14847 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14849         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14850         * sysdeps/arm/__longjmp.S: Likewise.
14852 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14854         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14855         Use __builtin_signbit.
14856         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14857         Use __builtin_signbitf.
14858         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14859         Use __builtin_signbitl.
14860         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14861         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14863 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14865         [BZ #15367]
14866         [BZ #17441]
14868         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14869         * math/math.h (fpclassify): Use __builtin_fpclassify when
14870         available.  (signbit): Use __builtin_signbit(f/l).
14871         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14872         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14873         (isinf): Use __builtin_isinf_sign.
14875 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14877         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14878         * benchtests/bench-math-inlines.c: New benchmark.
14879         * benchtests/bench-util.h: New file.
14880         * benchtests/bench-util.c: New file.
14881         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14883 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14885         * elf/tst-dlmopen1.c: Define TEST_SO.
14886         (do_test): Use TEST_SO.
14888         * elf/dl-load.c: Include libc-internal.h.
14889         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14891 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14893         [BZ #17887]
14894         * time/strptime_l.c (__strptime_internal): Make %z accept
14895         [+-]HH:MM time zones.
14897 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14899         [BZ #17886]
14900         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14901         valid time zone.
14903 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14905         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14906         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14907         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14908         (__ASSUME_FDATASYNC): Delete.
14910 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14912         * conform/linknamespace.pl: Require weak undefined symbols to be
14913         in the standard namespace.
14914         (%strong_syms): Rename to %seen_syms.
14915         (%strong_seen): Rename to %seen_where.
14917 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14919         [BZ #18970]
14920         * misc/error.c (error): Replace pthread_setcancelstate with
14921         __pthread_setcancelstate.
14922         (error_at_line): Likewise.
14923         * posix/wordexp.c (parse_comm): Likewise.
14924         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14925         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14926         (__pthread_setcancelstate): This.
14927         (pthread_setcancelstate): Add an alias.
14928         * nptl/nptl-init.c (pthread_functions): Replace
14929         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14930         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14931         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14932         hidden_proto.
14933         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14934         it with hidden_def.
14935         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14936         (pthread_setcancelstate): Renamed to ...
14937         (__pthread_setcancelstate): This.
14938         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14939         __libc_ptf_call with __pthread_setcancelstate.
14941 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14942             Andreas Schwab  <schwab@suse.de>
14944         [BZ #17118]
14945         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14946         result when imaginary part of argument is infinite using sine and
14947         cosine.
14948         * math/s_ctanf.c (__ctanf): Likewise.
14949         * math/s_ctanl.c (__ctanl): Likewise.
14950         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14951         of result when real part of argument is infinite using sine and
14952         cosine.
14953         * math/s_ctanhf.c (__ctanhf): Likewise.
14954         * math/s_ctanhl.c (__ctanhl): Likewise.
14955         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14956         (ctanh_test_data): Add more tests of ctanh.
14958 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14960         [BZ #15384]
14961         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14962         bit-mask as in subtraction.
14963         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14964         Likewise.
14965         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14966         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14967         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14969         [BZ #18951]
14970         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14971         underflow exception for small results.
14972         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14973         Likewise.
14974         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14975         Likewise.
14976         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14977         Likewise.
14978         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14979         Likewise.
14980         * math/auto-libm-test-in: Add more tests of tgamma.
14981         * math/auto-libm-test-out: Regenerated.
14983 2015-09-17  Andreas Schwab  <schwab@suse.de>
14985         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14987 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14989         [BZ #18977]
14990         * math/bits/mathcalls.h
14991         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14992         not declare.
14993         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14994         Likewise.
14995         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14996         Likewise.
14997         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14998         Likewise.
14999         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15000         Likewise.
15001         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15002         Likewise.
15003         * conform/data/math.h-data
15004         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15005         function.
15006         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15007         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15008         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15009         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15010         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15011         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15012         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15013         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15014         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15015         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15016         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15018         [BZ #6803]
15019         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15020         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15021         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15022         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15023         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15024         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15025         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15026         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15027         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15028         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15029         Likewise.
15030         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15031         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15032         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15033         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15034         long_double_symbol calls.
15035         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15036         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15037         strong alias of __ldexpl.
15038         (scalbnl): Define using long_double_symbol.
15039         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15040         Remove alias.
15041         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15042         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15043         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15044         (scalbln_test_data): Add more errno expectations.
15046 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15048         Cache the host port like we cache the task port.  This way we do not
15049         need to call the kernel just to get the port.  Furthermore, we no
15050         longer increase the reference count on every invocation of
15051         `mach_host_self'.
15053         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15054         Protect declarations against the macro expansion.
15055         * mach/mach_init.c (__mach_host_self_): New variable.
15056         (mach_init): Initialize `__mach_host_self_'.
15057         * mach/mach_init.h (__mach_host_self_): New declaration.
15058         (__mach_host_self, mach_host_self): New macros.
15059         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15060         Release reference.
15062 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15064         [BZ #4404]
15065         * po/de.po: Update from Translation Project.
15067         [BZ #16415]
15068         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15069         (__expm1l): Remove code to handle positive infinity and overflow.
15070         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15071         variable.
15072         (__expm1l): Remove code to handle positive infinity and overflow.
15074 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15075             Paul Pluzhnikov  <ppluzhnikov@google.com>
15077         [BZ #18872]
15078         * stdio-common/Makefile (tst-printf-bz18872): New test.
15079         (tst-printf-bz18872-mem.out): Likewise.
15080         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15081         * stdio-common/vfprintf.c: Fix memory leaks.
15083 2015-09-16  Andreas Schwab  <schwab@suse.de>
15085         [BZ #17244]
15086         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15087         Remove extra va_start/va_end calls.
15089         [BZ #17243]
15090         * posix/execl.c (execl): Add missing va_end.
15091         * posix/execle.c (execle): Likewise.
15092         * posix/execlp.c (execlp): Likewise.
15094 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15096         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15097         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15099 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15101         [BZ #18967]
15102         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15103         undefine around includes of <bits/mathcalls.h>.
15104         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15105         not declare function.
15106         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15107         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15108         (scalb): Likewise.
15109         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15110         not define macro.
15111         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15112         variable.
15113         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15114         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15115         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15117         [BZ #18857]
15118         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15119         return non-finite argument without doing ordered comparisons on
15120         it.
15122         [BZ #16296]
15123         * math/fenv.h (fegetround): Use __attribute_pure__.
15124         * include/fenv.h (__fegetround): Likewise.
15126         [BZ #18595]
15127         * math/s_ctan.c (__ctan): Force underflow exception for results
15128         whose real or imaginary part has small absolute value.
15129         * math/s_ctanf.c (__ctanf): Likewise.
15130         * math/s_ctanh.c (__ctanh): Likewise.
15131         * math/s_ctanhf.c (__ctanhf): Likewise.
15132         * math/s_ctanhl.c (__ctanhl): Likewise.
15133         * math/s_ctanl.c (__ctanl): Likewise.
15134         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15135         and ctanh.  Add more tests of ctan and ctanh.
15137         [BZ #15918]
15138         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15139         handling of cases where one argument is an infinity.
15141         [BZ #18875]
15142         [BZ #18966]
15143         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15144         (MO): New macro.
15145         (__ieee754_exp10): For small results, force underflow exception
15146         and remove excess range and precision from return value.
15147         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15148         (MO): New macro.
15149         (__ieee754_exp10f): For small results, force underflow exception
15150         and remove excess range and precision from return value.
15151         * math/auto-libm-test-in: Add more tests of exp10.
15152         * math/auto-libm-test-out: Regenerated.
15154 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15156         [BZ #18875]
15157         [BZ #18961]
15158         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15159         (MO): New macro.
15160         (__ieee754_exp): For small results, force underflow exception and
15161         remove excess range and precision from return value.
15162         (__exp_finite): Likewise.
15163         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15164         (MO): New macro.
15165         (__ieee754_expf): For small results, force underflow exception and
15166         remove excess range and precision from return value.
15167         (__expf_finite): Likewise.
15168         * math/auto-libm-test-in: Add more tests of exp.
15169         * math/auto-libm-test-out: Regenerated.
15171         [BZ #16521]
15172         [BZ #18875]
15173         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15174         small results.
15175         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15176         (MO): New macro.
15177         (__ieee754_exp2): For small results, force underflow exception and
15178         remove excess range and precision from return value.
15179         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15180         (MO): New macro.
15181         (__ieee754_exp2f): For small results, force underflow exception
15182         and remove excess range and precision from return value.
15183         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15184         (MO): New macro.
15185         (__ieee754_exp2l): Force underflow exception for small results.
15186         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15187         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15188         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15189         (MO): New macro.
15190         (__ieee754_exp2l): Force underflow exception for small results.
15191         * math/auto-libm-test-in: Add more tests or exp2.
15192         * math/auto-libm-test-out: Regenerated.
15194 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15196         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15198         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15199         /dev/null.
15201 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15203         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15204         io fs process)): Drop spurious backslash.
15206 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15208         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15209         Use sysinfo system call instead of parsing /proc/meminfo.
15210         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15211         Likewise.
15213 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15215         [BZ #16985]
15216         * programs/localedef.c (main): Display argv[remaining] when
15217         output_path is NULL.
15219 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15221         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15222         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15223         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15224         tanh.
15225         * math/auto-libm-test-out: Regenerated.
15226         * sysdeps/i386/fpu/libm-test-ulps: Update.
15227         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15228         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15231 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15233         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15234         Use 'override' keyword to freeze the value here, preventing
15235         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15237 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15239         [BZ #14912]
15240         * sysdeps/aarch64/bits/atomic.h: Move to ...
15241         * sysdeps/aarch64/atomic-machine.h: ...here.
15242         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15243         _AARCH64_ATOMIC_MACHINE_H.
15244         * sysdeps/alpha/bits/atomic.h: Move to ...
15245         * sysdeps/alpha/atomic-machine.h: ...here.
15246         * sysdeps/arm/bits/atomic.h: Move to ...
15247         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15248         * bits/atomic.h: Move to ...
15249         * sysdeps/generic/atomic-machine.h: ...here.
15250         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15251         * sysdeps/i386/bits/atomic.h: Move to ...
15252         * sysdeps/i386/atomic-machine.h: ...here.
15253         * sysdeps/ia64/bits/atomic.h: Move to ...
15254         * sysdeps/ia64/atomic-machine.h: ...here.
15255         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15256         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15257         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15258         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15259         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15260         * sysdeps/microblaze/bits/atomic.h: Move to ...
15261         * sysdeps/microblaze/atomic-machine.h: ...here.
15262         * sysdeps/mips/bits/atomic.h: Move to ...
15263         * sysdeps/mips/atomic-machine.h: ...here.
15264         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15265         * sysdeps/powerpc/bits/atomic.h: Move to ...
15266         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15267         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15268         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15269         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15270         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15271         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15272         <atomic-machine.h> instead of <bits/atomic.h>.
15273         * sysdeps/s390/bits/atomic.h: Move to ...
15274         * sysdeps/s390/atomic-machine.h: ...here.
15275         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15276         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15277         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15278         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15279         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15280         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15281         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15282         * sysdeps/tile/bits/atomic.h: Move to ...
15283         * sysdeps/tile/atomic-machine.h: ...here.
15284         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15285         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15286         <sysdeps/tile/atomic-machine.h> instead of
15287         <sysdeps/tile/bits/atomic.h>.
15288         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15289         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15290         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15291         <sysdeps/tile/atomic-machine.h> instead of
15292         <sysdeps/tile/bits/atomic.h>.
15293         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15294         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15295         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15296         <sysdeps/arm/atomic-machine.h> instead of
15297         <sysdeps/arm/bits/atomic.h>.
15298         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15299         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15300         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15301         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15302         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15303         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15304         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15305         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15306         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15307         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15308         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15309         * sysdeps/x86_64/bits/atomic.h: Move to ...
15310         * sysdeps/x86_64/atomic-machine.h: ...here.
15311         * include/atomic.h: Include <atomic-machine.h> instead of
15312         <bits/atomic.h>.
15314         * sysdeps/mips/mips32/libm-test-ulps: Update.
15315         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15317         [BZ #18952]
15318         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15319         not convert non-integer negative arguments to int to determine the
15320         value of signgam.
15321         * math/auto-libm-test-in: Add more tests of lgamma.
15322         * math/auto-libm-test-out: Regenerated.
15324         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15325         cosh, csqrt, erfc, expm1 and lgamma.
15326         * math/auto-libm-test-out: Regenerated.
15327         * sysdeps/i386/fpu/libm-test-ulps: Update.
15328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15330 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15332         [BZ #2542]
15333         [BZ #2543]
15334         [BZ #2558]
15335         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15336         __lgamma_neg for arguments from -28.0 to -2.0.
15337         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15338         __lgamma_negf for arguments from -15.0 to -2.0.
15339         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15340         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15341         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15342         Call __lgamma_negl for arguments from -33.0 to -2.0.
15343         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15344         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15345         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15346         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15347         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15348         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15349         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15350         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15351         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15352         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15353         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15354         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15355         (__lgamma_neg): Likewise.
15356         (__lgamma_negl): Likewise.
15357         (__lgamma_product): Likewise.
15358         (__lgamma_productl): Likewise.
15359         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15360         * math/auto-libm-test-in: Add more tests of lgamma.
15361         * math/auto-libm-test-out: Regenerated.
15362         * sysdeps/i386/fpu/libm-test-ulps: Update.
15363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15365 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15367         [BZ #18675]
15368         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15370 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15372         [BZ #14912]
15373         * bits/libc-lock.h: Move to ...
15374         * sysdeps/generic/libc-lock.h: ...here.
15375         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15376         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15377         * sysdeps/mach/hurd/libc-lock.h: ...here.
15378         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15379         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15380         * sysdeps/mach/bits/libc-lock.h: Move to ...
15381         * sysdeps/mach/libc-lock.h: ...here.
15382         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15383         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15384         * sysdeps/nptl/libc-lock.h: ...here.
15385         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15386         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15387         * sysdeps/nptl/libc-lockP.h: ...here.
15388         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15389         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15390         <bits/libc-lock.h>.
15391         * dirent/scandir-tail.c: Likewise.
15392         * dlfcn/dlerror.c: Likewise.
15393         * elf/dl-close.c: Likewise.
15394         * elf/dl-iteratephdr.c: Likewise.
15395         * elf/dl-lookup.c: Likewise.
15396         * elf/dl-open.c: Likewise.
15397         * elf/dl-support.c: Likewise.
15398         * elf/dl-writev.h: Likewise.
15399         * elf/rtld.c: Likewise.
15400         * grp/fgetgrent.c: Likewise.
15401         * gshadow/fgetsgent.c: Likewise.
15402         * gshadow/sgetsgent.c: Likewise.
15403         * iconv/gconv_conf.c: Likewise.
15404         * iconv/gconv_db.c: Likewise.
15405         * iconv/gconv_dl.c: Likewise.
15406         * iconv/gconv_int.h: Likewise.
15407         * iconv/gconv_trans.c: Likewise.
15408         * include/link.h: Likewise.
15409         * inet/getnameinfo.c: Likewise.
15410         * inet/getnetgrent.c: Likewise.
15411         * inet/getnetgrent_r.c: Likewise.
15412         * intl/bindtextdom.c: Likewise.
15413         * intl/dcigettext.c: Likewise.
15414         * intl/finddomain.c: Likewise.
15415         * intl/gettextP.h: Likewise.
15416         * intl/loadmsgcat.c: Likewise.
15417         * intl/localealias.c: Likewise.
15418         * intl/textdomain.c: Likewise.
15419         * libidn/idn-stub.c: Likewise.
15420         * libio/libioP.h: Likewise.
15421         * locale/duplocale.c: Likewise.
15422         * locale/freelocale.c: Likewise.
15423         * locale/newlocale.c: Likewise.
15424         * locale/setlocale.c: Likewise.
15425         * login/getutent_r.c: Likewise.
15426         * login/getutid_r.c: Likewise.
15427         * login/getutline_r.c: Likewise.
15428         * login/utmp-private.h: Likewise.
15429         * login/utmpname.c: Likewise.
15430         * malloc/mtrace.c: Likewise.
15431         * misc/efgcvt.c: Likewise.
15432         * misc/error.c: Likewise.
15433         * misc/fstab.c: Likewise.
15434         * misc/getpass.c: Likewise.
15435         * misc/mntent.c: Likewise.
15436         * misc/syslog.c: Likewise.
15437         * nis/nis_call.c: Likewise.
15438         * nis/nis_callback.c: Likewise.
15439         * nis/nss-default.c: Likewise.
15440         * nis/nss_compat/compat-grp.c: Likewise.
15441         * nis/nss_compat/compat-initgroups.c: Likewise.
15442         * nis/nss_compat/compat-pwd.c: Likewise.
15443         * nis/nss_compat/compat-spwd.c: Likewise.
15444         * nis/nss_nis/nis-alias.c: Likewise.
15445         * nis/nss_nis/nis-ethers.c: Likewise.
15446         * nis/nss_nis/nis-grp.c: Likewise.
15447         * nis/nss_nis/nis-hosts.c: Likewise.
15448         * nis/nss_nis/nis-network.c: Likewise.
15449         * nis/nss_nis/nis-proto.c: Likewise.
15450         * nis/nss_nis/nis-pwd.c: Likewise.
15451         * nis/nss_nis/nis-rpc.c: Likewise.
15452         * nis/nss_nis/nis-service.c: Likewise.
15453         * nis/nss_nis/nis-spwd.c: Likewise.
15454         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15455         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15456         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15457         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15458         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15459         * nis/nss_nisplus/nisplus-network.c: Likewise.
15460         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15461         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15462         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15463         * nis/nss_nisplus/nisplus-service.c: Likewise.
15464         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15465         * nis/ypclnt.c: Likewise.
15466         * nptl/libc_pthread_init.c: Likewise.
15467         * nss/getXXbyYY.c: Likewise.
15468         * nss/getXXent.c: Likewise.
15469         * nss/getXXent_r.c: Likewise.
15470         * nss/nss_db/db-XXX.c: Likewise.
15471         * nss/nss_db/db-netgrp.c: Likewise.
15472         * nss/nss_db/nss_db.h: Likewise.
15473         * nss/nss_files/files-XXX.c: Likewise.
15474         * nss/nss_files/files-alias.c: Likewise.
15475         * nss/nsswitch.c: Likewise.
15476         * posix/regex_internal.h: Likewise.
15477         * posix/wordexp.c: Likewise.
15478         * pwd/fgetpwent.c: Likewise.
15479         * resolv/res_hconf.c: Likewise.
15480         * resolv/res_libc.c: Likewise.
15481         * shadow/fgetspent.c: Likewise.
15482         * shadow/lckpwdf.c: Likewise.
15483         * shadow/sgetspent.c: Likewise.
15484         * socket/opensock.c: Likewise.
15485         * stdio-common/reg-modifier.c: Likewise.
15486         * stdio-common/reg-printf.c: Likewise.
15487         * stdio-common/reg-type.c: Likewise.
15488         * stdio-common/vfprintf.c: Likewise.
15489         * stdio-common/vfscanf.c: Likewise.
15490         * stdlib/abort.c: Likewise.
15491         * stdlib/cxa_atexit.c: Likewise.
15492         * stdlib/fmtmsg.c: Likewise.
15493         * stdlib/random.c: Likewise.
15494         * stdlib/setenv.c: Likewise.
15495         * string/strsignal.c: Likewise.
15496         * sunrpc/auth_none.c: Likewise.
15497         * sunrpc/bindrsvprt.c: Likewise.
15498         * sunrpc/create_xid.c: Likewise.
15499         * sunrpc/key_call.c: Likewise.
15500         * sunrpc/rpc_thread.c: Likewise.
15501         * sysdeps/arm/backtrace.c: Likewise.
15502         * sysdeps/generic/ldsodefs.h: Likewise.
15503         * sysdeps/generic/stdio-lock.h: Likewise.
15504         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15505         * sysdeps/i386/backtrace.c: Likewise.
15506         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15507         * sysdeps/m68k/backtrace.c: Likewise.
15508         * sysdeps/mach/hurd/cthreads.c: Likewise.
15509         * sysdeps/mach/hurd/dirstream.h: Likewise.
15510         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15511         * sysdeps/nptl/malloc-machine.h: Likewise.
15512         * sysdeps/nptl/stdio-lock.h: Likewise.
15513         * sysdeps/posix/dirstream.h: Likewise.
15514         * sysdeps/posix/getaddrinfo.c: Likewise.
15515         * sysdeps/posix/system.c: Likewise.
15516         * sysdeps/pthread/aio_suspend.c: Likewise.
15517         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15518         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15519         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15520         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15521         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15522         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15523         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15524         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15525         * sysdeps/unix/sysv/linux/system.c: Likewise.
15526         * sysdeps/x86_64/backtrace.c: Likewise.
15527         * time/alt_digit.c: Likewise.
15528         * time/era.c: Likewise.
15529         * time/tzset.c: Likewise.
15530         * wcsmbs/wcsmbsload.c: Likewise.
15531         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15532         instead of <bits/libc-lock.h> in comment.
15534 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15536         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15537         Only use .set mips2 if the current ISA is below mips2.
15538         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15539         Likewise.
15540         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15541         mips32r2 if the current ISA is below mips32r2.
15542         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15543         (TLS_IE): Updated to use the TLD_RDHWR macro.
15544         (TLS_LE): Likewise.
15545         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15546         __ASSEMBLER__ condition.
15548 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15550         Fix parallel build of before-compile targets.
15552         * sysdeps/mach/Makefile ($(patsubst
15553         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15554         mach-before-compile target.
15555         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15556         io fs process)): Move rule to dedicated hurd-before-compile target.
15558 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15560         Fix rules generating headers in hurd/ and mach/ when initial make call
15561         has subdir= explicitly set.
15563         * sysdeps/mach/Makefile ($(patsubst
15564         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15565         calling $(MAKE).
15566         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15567         io fs process)): Force subdir to hurd when calling $(MAKE).
15568         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15569         subdir to mach when calling $(MAKE).
15571 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15573         Check sysheaders when looking for Mach and Hurd headers
15575         * sysdeps/mach/configure.ac: Add sysheaders check.
15576         * sysdeps/mach/configure: Regenerate.
15577         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15578         * sysdeps/mach/hurd/configure: Regenerate.
15580 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15582         [BZ #18921]
15583         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15584         Fix inverted sense of test of 'o_directory_works' value.
15585         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15586         Bernhard Voelker <mail@bernhard-voelker.de>.
15588 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15590         [BZ #14912]
15591         * bits/linkmap.h: Move to ...
15592         * sysdeps/generic/linkmap.h: ...here.
15593         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15594         * sysdeps/aarch64/linkmap.h: ...here.
15595         * sysdeps/arm/bits/linkmap.h: Move to ...
15596         * sysdeps/arm/linkmap.h: ...here.
15597         * sysdeps/hppa/bits/linkmap.h: Move to ...
15598         * sysdeps/hppa/linkmap.h: ...here.
15599         * sysdeps/ia64/bits/linkmap.h: Move to ...
15600         * sysdeps/ia64/linkmap.h: ...here.
15601         * sysdeps/mips/bits/linkmap.h: Move to ...
15602         * sysdeps/mips/linkmap.h: ...here.
15603         * sysdeps/s390/bits/linkmap.h: Move to ...
15604         * sysdeps/s390/linkmap.h: ...here.
15605         * sysdeps/sh/bits/linkmap.h: Move to ...
15606         * sysdeps/sh/linkmap.h: ...here.
15607         * sysdeps/x86/bits/linkmap.h: Move to ...
15608         * sysdeps/x86/linkmap.h: ...here.
15609         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15611 2015-09-04  Andreas Schwab  <schwab@suse.de>
15613         [BZ #18635]
15614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15615         (__makecontext): Terminate FDE before return label.
15616         (__novec_makecontext): Likewise.
15618 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15620         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15621         first member of struct sv in syscall macro.
15623 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15625         [BZ #14912]
15626         * bits/stdio-lock.h: Move to ...
15627         * sysdeps/generic/stdio-lock.h: ...here.
15628         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15629         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15630         * sysdeps/nptl/stdio-lock.h: ...here.
15631         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15632         * include/libio.h: Include <stdio-lock.h> instead of
15633         <bits/stdio-lock.h>.
15634         * sysdeps/nptl/fork.c: Likewise.
15635         * sysdeps/pthread/flockfile.c: Likewise.
15636         * sysdeps/pthread/ftrylockfile.c: Likewise.
15637         * sysdeps/pthread/funlockfile.c: Likewise.
15639         [BZ #14912]
15640         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15641         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15642         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15643         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15644         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15645         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15646         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15648 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15650         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15651         (test-xfail-tst-protected1b): New variable.
15653 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15655         [BZ #14912]
15656         * bits/libc-tsd.h: Move to ...
15657         * sysdeps/generic/libc-tsd.h: ...here.
15658         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15659         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15660         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15661         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15662         * include/ctype.h: Include <libc-tsd.h> instead of
15663         <bits/libc-tsd.h>.
15664         * include/rpc/rpc.h: Likewise.
15665         * locale/localeinfo.h: Likewise.
15666         * sunrpc/rpc_thread.c: Likewise.
15667         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15668         * sysdeps/nptl/malloc-machine.h: Likewise.
15670         * Makefile (headers): Remove bits/libc-lock.h.
15671         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15673         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15674         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15675         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15676         <bits/stdio-lock.h>.
15677         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15678         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15680 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15682         [BZ #18757]
15683         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15684         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15685         BZ #18757.
15687 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15689         * malloc/mtrace.pl: Filter out NULL entries.
15691 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15693         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15694         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15695         macro.
15697         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15698         (TCP_CC_INFO): Likewise.
15699         (TCP_SAVE_SYN): Likewise.
15700         (TCP_SAVED_SYN): Likewise.
15702 2015-08-31  Brett Neumeier <brett@neumeier.us>
15704         [BZ #18870]
15705         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15707 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15709         [BZ #18873]
15710         Fix broken overflow check in posix_fallocate
15711         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15712         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15713         Fix parenthesization typo.
15715 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15717         [BZ #18887]
15718         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15719         tst-mntent-blank-passno.
15720         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15721         * misc/tst-mntent-blank-corrupt.c: New test.
15722         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15723         * misc/tst-mntent.c (do_test): ... here.
15725 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15727         [BZ #4404]
15728         * po/de.po: Fix SIGALRM typo.
15730 2015-08-28  James Perkins  <james@loowit.net>
15732         * time/tst-strptime2.c (tests): Replace short list of test
15733         strings for strptime %z specifier with code which exhaustively
15734         tests every combination of sign and 0 to 5 digits. Tests for
15735         rejection of invalid strings.
15737 2015-08-28  James Perkins  <james@loowit.net>
15739         [BZ #16141]
15740         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15741         calculation, removing incorrect decimal time rounding, so that
15742         all minute values result in a valid seconds value.
15743         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15744         offset range limits to UTC-99:59 through UTC+99:59 to parse
15745         current and historical use cases.
15746         * time/tst-strptime2.c (tests): Modify and add tests for the
15747         strptime %z input field descriptor, specifically conversion of
15748         minutes to seconds and validating an offset range of -9959 to
15749         +9959.
15751 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15752             Dmitry V. Levin  <ldv@altlinux.org>
15754         [BZ #18877]
15755         * posix/Makefile (tests): Add tst-mmap-offset.
15756         * posix/tst-mmap.c: New file.
15757         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15758         offset calculation for negative values.
15760 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15762         * sysdeps/i386/init-arch.h: New file.
15763         * sysdeps/i386/i586/init-arch.h: Likewise.
15764         * sysdeps/i386/i686/init-arch.h: Likewise.
15765         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15766         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15767         * sysdeps/x86/cpu-features.h (bit_I586): New.
15768         (bit_I686): Likewise.
15769         (bit_CX8): Likewise.
15770         (bit_CMOV): Likewise.
15771         (index_CX8): Likewise.
15772         (index_CMOV): Likewise.
15773         (index_I586): Likewise.
15774         (index_I686): Likewise.
15775         (reg_CX8): Likewise.
15776         (reg_CMOV): Likewise.
15777         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15778         available at compile-time.
15779         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15780         available at compile-time.
15781         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15782         (USE_I686): Likewise.
15784 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15786         * sysdeps/i386/bcopy.S: New file.
15787         * sysdeps/i386/bzero.S: Likewise.
15788         * sysdeps/i386/memcpy.S: Likewise.
15789         * sysdeps/i386/memmove.S: Likewise.
15790         * sysdeps/i386/mempcpy.S: Likewise.
15791         * sysdeps/i386/memset.S: Likewise.
15792         * sysdeps/i386/bzero.c: Removed.
15793         * sysdeps/i386/memset.c: Likewise.
15794         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15795         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15796         * sysdeps/i386/i586/memset_chk.S: Likewise.
15797         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15798         * sysdeps/i386/memcpy_chk.S: Here.
15799         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15800         * sysdeps/i386/memmove_chk.S: Here.
15801         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15802         * sysdeps/i386/mempcpy_chk.S: Likewise.
15803         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15804         * sysdeps/i386/memset_chk.S: Likewise.
15806 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15808         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15809         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15810         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15811         * soft-fp/fmadf4.c: Ditto.
15812         * soft-fp/fmatf4.c: Ditto.
15814 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15816         * sysdeps/i386/i586/Implies: Removed.
15817         * sysdeps/i386/i686/Implies: Likewise.
15819 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15821         * sysdeps/i386/i486/strlen.S: Moved to ...
15822         * sysdeps/i386/strlen.S: Here.
15824 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15826         * sysdeps/i386/i486/strcat.S: Moved to ...
15827         * sysdeps/i386/strcat.S: Here.
15829 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15831         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15832         * sysdeps/i386/pthread_spin_trylock.S: Here.
15833         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15834         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15836 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15838         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15839         * sysdeps/i386/string-inlines.c: Here.
15841 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15843         * sysdeps/i386/i486/htonl.S: Moved ...
15844         * sysdeps/i386/htonl.S: here.
15846 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15848         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15849         * sysdeps/i386/bits/atomic.h: Here.
15851 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15853         * sysdeps/i386/i486/Versions: Removed.
15855 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15857         [BZ #2898]
15858         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15859         Based on patch by Aurelien Jarno.
15861 2015-08-26  Stan Shebs  <stanshebs@google.com>
15863         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15864         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15866 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15868         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15869         * sysdeps/powerpc/dl-procinfo.c:
15870         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15871         feature so it shows when LD_SHOW_AUXV=1.
15873 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15875         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15876         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15877         definition.  ISA 2.07B no longer requires full sync.
15879 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15881         [BZ #18863]
15882         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15883         (si_call_addr): Define.
15884         (si_syscall): Define.
15885         (si_arch): Define.
15887 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15889         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15890         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15891         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15892         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15893         (__memset_zero_constant_len_parameter): New.
15894         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15895         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15896         (__memset_zero_constant_len_parameter): Don't define if
15897         __memset_chk or USE_AS_BZERO are defined.
15899         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15900         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15901         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15903         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15904         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15905         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15906         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15907         comments.
15908         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15909         -mno-mmx for $(all-rtld-routines).
15910         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15911         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15912         i386.
15914 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15916         * sysdeps/generic/unwind.h
15917         (_Unwind_Word): Use __mode__(__unwind_word__)
15918         instead of __mode__(__word__).
15919         (_Unwind_Sword): Likewise.
15921         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15922         (MAX_NEEDED_INPUT): New define.
15923         (MAX_NEEDED_OUTPUT): New define.
15925         * NEWS: New item for IBM z13 string optimizations.
15927         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15928         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15929         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15930         * sysdeps/s390/multiarch/Makefile
15931         (sysdep_routines): Add memrchr functions.
15932         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15933         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15935         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15936         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15937         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15938         * sysdeps/s390/multiarch/Makefile
15939         (sysdep_routines): Add wmemcmp functions.
15940         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15941         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15942         * benchtests/bench-wmemcmp.c: New File.
15943         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15945         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15946         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15947         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15948         * sysdeps/s390/multiarch/Makefile
15949         (sysdep_routines): Add wmemset functions.
15950         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15951         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15952         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15953         * string/test-memset.c: Add wmemset support.
15954         * wcsmbs/test-wmemset.c: New File.
15955         * wcsmbs/Makefile (strop-tests): Add wmemset.
15956         * benchtests/bench-memset.c: Add wmemset support.
15957         * benchtests/bench-wmemset.c: New File.
15958         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15960         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15961         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15962         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15963         * sysdeps/s390/multiarch/Makefile
15964         (sysdep_routines): Add memccpy functions.
15965         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15966         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15967         * string/memccpy.c: Use MEMCCPY if defined.
15969         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15970         * sysdeps/s390/multiarch/memchr.c: Likewise.
15971         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15972         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15973         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15974         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15975         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15976         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15977         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15978         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15979         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15980         and rawmemchr functions.
15981         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15982         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15983         and wmemchr.
15984         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15985         * string/test-memchr.c: Add wmemchr support.
15986         * wcsmbs/test-wmemchr.c: New File.
15987         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15988         * benchtests/bench-memchr.c: Add wmemchr support.
15989         * benchtests/bench-wmemchr.c: New File.
15990         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15992         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15993         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15994         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15995         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15996         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15997         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15998         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15999         wcscspn functions.
16000         * sysdeps/s390/multiarch/ifunc-impl-list.c
16001         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16002         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16003         * string/test-strcspn.c: Add wcscspn support.
16004         * wcsmbs/test-wcscspn.c: New File.
16005         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16006         * benchtests/bench-strcspn.c: Add wcscspn support.
16007         * benchtests/bench-wcscspn.c: New File.
16008         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16010         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16011         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16012         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16013         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16014         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16015         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16016         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16017         wcspbrk functions.
16018         * sysdeps/s390/multiarch/ifunc-impl-list.c
16019         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16020         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16021         * string/test-strpbrk.c: Add wcspbrk support.
16022         * wcsmbs/test-wcspbrk.c: New File.
16023         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16024         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16025         * benchtests/bench-wcspbrk.c: New File.
16026         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16028         * sysdeps/s390/multiarch/strspn-c.c: New File.
16029         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16030         * sysdeps/s390/multiarch/strspn.c: Likewise.
16031         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16032         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16033         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16034         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16035         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16036         wcsspn functions.
16037         * sysdeps/s390/multiarch/ifunc-impl-list.c
16038         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16039         * string/test-strspn.c: Add wcsspn support.
16040         * wcsmbs/test-wcsspn.c: New File.
16041         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16042         * benchtests/bench-strspn.c: Add wcsspn support.
16043         * benchtests/bench-wcsspn.c: New File.
16044         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16046         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16047         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16048         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16049         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16050         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16051         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16052         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16053         wcsrchr functions.
16054         * sysdeps/s390/multiarch/ifunc-impl-list.c
16055         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16056         * benchtests/bench-wcsrchr.c: New File.
16057         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16059         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16060         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16061         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16062         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16063         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16064         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16065         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16066         wcschrnul functions.
16067         * sysdeps/s390/multiarch/ifunc-impl-list.c
16068         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16069         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16070         * string/test-strchr.c: Add wcschrnul support.
16071         * wcsmbs/test-wcschrnul.c: New File.
16072         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16073         * benchtests/bench-strchr.c: Add wcschrnul support.
16074         * benchtests/bench-wcschrnul.c: New File.
16075         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16077         * sysdeps/s390/multiarch/strchr-c.c: New File.
16078         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16079         * sysdeps/s390/multiarch/strchr.c: Likewise.
16080         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16081         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16082         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16083         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16084         wcschr functions.
16085         * sysdeps/s390/multiarch/ifunc-impl-list.c
16086         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16087         * string/strchr.c (STRCHR): Define and use macro.
16088         * benchtests/bench-wcschr.c: New File.
16089         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16091         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16092         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16093         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16094         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16095         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16096         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16097         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16098         wcsncmp functions.
16099         * sysdeps/s390/multiarch/ifunc-impl-list.c
16100         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16101         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16102         * benchtests/bench-strncmp.c: Add wcsncmp support.
16103         * benchtests/bench-wcsncmp.c: New File.
16104         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16106         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16107         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16108         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16109         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16110         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16111         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16112         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16113         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16114         wcscmp functions.
16115         * sysdeps/s390/multiarch/ifunc-impl-list.c
16116         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16117         * string/strcmp.c (STRCMP): Define and use macro.
16118         * benchtests/bench-wcscmp.c: New File.
16119         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16120         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16121         instead of _HAVE_STRING_ARCH_memchr.
16123         * sysdeps/s390/multiarch/strncat-c.c: New File.
16124         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16125         * sysdeps/s390/multiarch/strncat.c: Likewise.
16126         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16127         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16128         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16129         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16130         wcsncat functions.
16131         * sysdeps/s390/multiarch/ifunc-impl-list.c
16132         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16133         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16134         * string/test-strncat.c: Add wcsncat support.
16135         * wcsmbs/test-wcsncat.c: New File.
16136         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16137         * benchtests/bench-strncat.c: Add wcsncat support.
16138         * benchtests/bench-wcsncat.c: New File.
16139         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16141         * sysdeps/s390/multiarch/strcat-c.c: New File.
16142         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16143         * sysdeps/s390/multiarch/strcat.c: Likewise.
16144         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16145         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16146         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16147         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16148         wcscat functions.
16149         * sysdeps/s390/multiarch/ifunc-impl-list.c
16150         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16151         * string/strcat.c (STRCAT): Define and use macro.
16152         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16153         * string/test-strcat.c: Add wcscat support.
16154         * wcsmbs/test-wcscat.c: New File.
16155         * wcsmbs/Makefile (strop-tests): Add wcscat.
16156         * benchtests/bench-strcat.c: Add wcscat support.
16157         * benchtests/bench-wcscat.c: New File.
16158         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16160         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16161         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16162         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16163         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16164         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16165         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16166         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16167         wcpncpy functions.
16168         * sysdeps/s390/multiarch/ifunc-impl-list.c
16169         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16170         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16171         * string/test-stpncpy.c: Add wcpncpy support.
16172         * wcsmbs/test-wcpncpy.c: New File.
16173         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16174         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16175         * benchtests/bench-wcpncpy.c: New File.
16176         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16178         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16179         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16180         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16181         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16182         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16183         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16184         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16185         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16186         wcsncpy functions.
16187         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16188         * sysdeps/s390/multiarch/ifunc-impl-list.c
16189         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16190         * string/test-strncpy.c: Add wcsncpy support.
16191         * wcsmbs/test-wcsncpy.c: New File.
16192         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16193         * benchtests/bench-strncpy.c: Add wcsncpy support.
16194         * benchtests/bench-wcsncpy.c: New File.
16195         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16197         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16198         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16199         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16200         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16201         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16202         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16203         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16204         wcpcpy functions.
16205         * string/stpcpy.c: Use STPCPY if defined.
16206         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16207         * sysdeps/s390/multiarch/ifunc-impl-list.c
16208         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16209         * string/test-stpcpy.c: Add wcpcpy support.
16210         * wcsmbs/test-wcpcpy.c: New File.
16211         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16212         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16213         * benchtests/bench-wcpcpy.c: New File.
16214         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16216         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16217         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16218         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16219         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16220         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16221         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16222         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16223         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16224         wcscpy functions.
16225         * sysdeps/s390/multiarch/ifunc-impl-list.c
16226         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16227         * benchtests/bench-wcscpy.c: New File.
16228         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16230         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16231         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16232         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16233         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16234         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16235         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16236         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16237         wcsnlen functions.
16238         * sysdeps/s390/multiarch/ifunc-impl-list.c
16239         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16240         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16241         * string/test-strnlen.c: Add wcsnlen support.
16242         * wcsmbs/test-wcsnlen.c: New File.
16243         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16244         * benchtests/bench-strnlen.c: Add wcsnlen support.
16245         * benchtests/bench-wcsnlen.c: New File.
16246         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16248         * sysdeps/s390/multiarch/Makefile: New File.
16249         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16250         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16251         * sysdeps/s390/multiarch/strlen.c: Likewise.
16252         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16253         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16254         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16255         * string/strlen.c (STRLEN): Define and use macro.
16256         * sysdeps/s390/multiarch/ifunc-impl-list.c
16257         (IFUNC_VX_IMPL): New macro function.
16258         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16259         * benchtests/Makefile (wcsmbs-bench): New variable.
16260         (string-bench-all): Added wcsmbs-bench.
16261         * benchtests/bench-wcslen.c: New File.
16263         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16264         s390_vx_libc_ifunc2): New macro function.
16266         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16267         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16268         assembler support.
16269         * sysdeps/s390/configure: Regenerated.
16271         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16272         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16274         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16275         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16276         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16278         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16279         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16280         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16281         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16282         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16283         (memcmp, bcmp): Use __memcmp_default as alias source.
16284         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16285         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16286         Rename to __memcmp_default.
16287         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16288         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16289         (memcpy): Use __memcpy_default as alias source.
16290         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16291         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16292         Rename to __memcpy_default.
16293         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16294         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16295         (memset): Use __memset_default as alias source.
16296         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16297         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16298         Rename to __memset_default.
16299         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16300         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16301         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16302         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16303         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16304         (memcmp, bcmp): Use __memcmp_default as alias source.
16305         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16306         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16307         Rename to __memcmp_default.
16308         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16309         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16310         (memcpy): Use __memcpy_default as alias source.
16311         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16312         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16313         Rename to __memcpy_default.
16314         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16315         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16316         (memset): Use __memset_default as alias source.
16317         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16318         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16319         Rename to __memset_default.
16320         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16321         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16323         [BZ #18610]
16324         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16325         __ieee_instruction_pointer to __unused.
16326         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16327         __ieee_instruction_pointer.
16328         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16329         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16330         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16331         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16332         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16333         Mark dxc-field as reserved.
16335 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16337         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16338         if the weak reference is not null.
16340 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16342         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16344         [BZ #11214]
16345         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16347 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16349         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16350         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16351         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16352         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16353         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16354         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16355         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16356         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16357         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16358         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16359         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16360         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16361         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16362         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16363         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16364         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16365         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16366         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16368 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16370         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16371         register other than r0 for tabort, it has special meaning.
16372         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16373         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16374         transaction before starting syscall.
16376 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16378         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16380 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16382         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16384         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16385         * sysdeps/x86_64/rtld-memset.S: Likewise.
16386         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16387         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16388         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16389         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16391         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16393 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16395         * debug/strcpy_chk.c: Improve performance.
16396         * debug/stpcpy_chk.c: Likewise.
16397         * sysdeps/x86_64/strcpy_chk.S: Remove.
16398         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16400         [BZ #18240]
16401         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16403 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16405         [BZ #15128]
16406         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16407         ifuncmain8.
16408         (modules-names): Add ifuncmod8.
16409         ($(objpfx)ifuncmain8): New rule.
16410         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16411         <cpuid.h>.
16412         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16413         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16414         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16415         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16416         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16417         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16418         * sysdeps/x86_64/ifuncmain8.c: New file.
16419         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16420         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16421         Removed.
16422         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16423         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16424         Change rtld_savespace_sse to __glibc_unused2.
16425         (RTLD_CHECK_FOREIGN_CALL): Removed.
16426         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16427         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16428         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16430 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16432         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16434 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16436         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16437         Unconditionally set __fpcr to avoid uninialized warning.
16438         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16440 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16442         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16443         is corrupt.
16445         * malloc/arena.c (arena_get2): Drop unused argument.
16446         (arena_lock): Adjust.
16447         (arena_get_retry): Likewise.
16449 2015-08-24  Andreas Schwab  <schwab@suse.de>
16451         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16452         Don't define.
16453         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16454         (__ASSUME_IPC64): Don't undef.
16455         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16456         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16457         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16458         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16459         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16460         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16461         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16462         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16463         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16464         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16465         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16466         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16467         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16468         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16469         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16470         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16471         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16472         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16473         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16474         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16475         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16477 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16479         * manual/Makefile (install): Only build manual when perl is available.
16481 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16483         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16484         '#undef memcpy' by '#undef memchr'.
16486 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16488         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16489         memchr not point to the internal __GI_memchr implementation.
16491 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16493         * timezone/Makefile (CFLAGS-zdump.c): Remove
16494         -Wno-strict-prototypes.
16495         (CFLAGS-zic.c): Likewise.
16496         (CFLAGS-ialloc.c): Likewise.
16497         (CFLAGS-scheck.c): Likewise.
16499         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16500         -Wno-error=undef.
16502 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16504         * i386/i686/multiarch/strcasestr-c.c: Removed.
16505         * x86_64/multiarch/strcasestr.c: Likewise.
16506         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16507         Remove strcasestr.
16509 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16511         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16513         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16514         variables for high and low parts before possibly modifying them.
16516 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16518         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16519         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16520         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16521         of "multiarch/init-arch.h".
16522         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16523         * sysdeps/x86/init-arch.h: This.
16525 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16527         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16528         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16530 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16532         [BZ #17787]
16533         * manual/macros.texi: Add twoexp macro.
16534         * manual/filesys.texi: Fix exponents.
16535         * manual/llio.texi: Likewise.
16536         * manual/stdio.texi: Likewise.
16538 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16540         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16541         incorrect use.
16543 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16545         [BZ #18370]
16546         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16547         whose real or imaginary part has small absolute value.
16548         * math/s_csqrtf.c (__csqrtf): Likewise.
16549         * math/s_csqrtl.c (__csqrtl): Likewise.
16550         * math/auto-libm-test-in: Add more tests of csqrt.
16551         * math/auto-libm-test-out: Regenerated.
16552         * sysdeps/i386/fpu/libm-test-ulps: Update.
16554 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16556         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16557         __ppc_set_ppr_very_low): New functions.
16558         * manual/platform.texi: Add documentation about
16559         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16561 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16563         * string/stpncpy.c (stpncpy): Improve performance using
16564         __strnlen/memcpy/memset.
16566 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16568         [BZ #18796]
16569         * scripts/test-installation.pl: Don't add -lmvec to build options if
16570         libmvec wasn't built.
16572 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16574         [BZ #14341]
16575         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16576         case when there is a gap between DT_REL and DT_JMPREL sections.
16577         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16578         (LDFLAGS-tst-split-dynreloc): New.
16579         (tst-split-dynreloc-ENV): Likewise.
16580         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16581         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16583 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16585         [BZ #18822]
16586         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16587         attribute_hidden.
16588         (__xstat64_conv): Likewise.
16589         (__xstat32_conv): Likewise.
16591 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16593         [BZ #18822]
16594         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16595         Don't load %ebx when calling __setcontext.  Call __setcontext
16596         with HIDDEN_JUMPTARGET.
16597         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16598         libc_hidden_def.
16600 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16602         * sysdeps/i386/i686/Makefile
16603         [$(subdir) == string] (sysdep_routines): Moved to ...
16604         * sysdeps/i386/Makefile: Here.
16605         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16606         * sysdeps/i386/cacheinfo.c: Here.
16607         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16608         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16609         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16610         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16612 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16614         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16615         __i586__ is defined.
16616         (HAS_I686): Defined to 1 if __i686__ is defined.
16618 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16620         * elf/Makefile [$(have-z-execstack) = yes]
16621         (CPPFLAGS-tst-execstack.c): New variable.
16623         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16624         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16625         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16626         UTMPX || _HAVE_UT_TV].
16627         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16628         UTMPX || _HAVE_UT_TV - 0].
16630 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16632         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16633         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16634         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16636 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16638         * sysdeps/powerpc/dl-procinfo.c:
16639         (_dl_powerpc_cap_flags): Added missing strings for some
16640         hwcap features.
16641         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16643 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16645         Port the 0x7efe...feff pattern to GCC 6.
16646         See Steve Ellcey's bug report in:
16647         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16648         * string/memrchr.c (MEMRCHR):
16649         * string/rawmemchr.c (RAWMEMCHR):
16650         * string/strchr.c (strchr):
16651         * string/strchrnul.c (STRCHRNUL):
16652         Rewrite code to avoid issues with signed shift overflow.
16654 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16656         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16657         whether cpuid is available only if HAS_CPUID is 0.
16658         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16659         (HAS_I586): Likewise.
16660         (HAS_I686): Likewise.
16662 2015-08-18  Zack Weinberg  <zackw@panix.com>
16664         * misc/Versions (libc): Add GLIBC_2.23.
16666 2015-08-18  Alan Modra  <amodra@gmail.com>
16668         [BZ #18421]
16669         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16670         .Lp__global.
16671         (_start): Load %dp via .Lp__global.
16672         [!SHARED]: Use .section .rodata.
16674 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16676         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16677         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16679 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16681         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16682         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16684 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16686         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16687         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16689 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16691         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16692         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16694 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16696         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16697         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16699 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16701         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16702         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16704 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16706         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16708 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16710         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16711         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16712         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16713         (__ASSUME_LWS_CAS): Delete.
16715 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16717         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16718         * sysdeps/hppa/configure: Regenerated.
16719         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16720         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16721         * sysdeps/hppa/nptl/tls.h: Likewise.
16723 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16725         [BZ #18823]
16726         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16727         for scaling up small arguments.
16728         * math/s_csqrtf.c (__csqrtf): Likewise.
16729         * math/s_csqrtl.c (__csqrtl): Likewise.
16730         * math/auto-libm-test-in: Add more tests of csqrt.
16731         * math/auto-libm-test-out: Regenerated.
16733 2015-08-17  Andreas Schwab  <schwab@suse.de>
16735         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16736         version set GLIBC_2.19.
16738 2015-08-16  Zack Weinberg  <zackw@panix.com>
16740         [BZ #18681]
16741         * misc/regexp.h: This interface is no longer supported.
16742         Remove all contents, leaving only an #error directive.
16743         * misc/regexp.c (loc1, loc2, locs, step, advance):
16744         Demote to compatibility symbols.
16746 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16748         [BZ #18084]
16749         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16750         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16751         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16752         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16753         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16754         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16755         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16756         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16757         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16759 2015-08-15  Zack Weinberg  <zackw@panix.com>
16761         [BZ #18795]
16762         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16763         buffer length is known to be too large, not if it's known to be
16764         small enough.
16765         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16766         overflow at runtime, involving a length parameter, twice: once
16767         with a compile-time constant length parameter, once without.
16769 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16771         [BZ #18824]
16772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16773         scaling x * y up instead of down.
16774         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16775         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16776         * math/auto-libm-test-in: Add more tests of fma.
16777         * math/auto-libm-test-out: Regenerated.
16779 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16781         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16783 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16785         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16786         unnecessary movq.
16787         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16788         Likewise.
16790 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16792         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16793         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16794         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16795         and tgamma.
16796         * math/auto-libm-test-out: Regenerated.
16797         * sysdeps/i386/fpu/libm-test-ulps: Update.
16798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16800         [BZ #16520]
16801         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16802         (__tanh): Force underflow exception for arguments with small
16803         absolute value.
16804         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16805         (__tanhf): Force underflow exception for arguments with small
16806         absolute value.
16807         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16808         (__tanhl): Force underflow exception for arguments with small
16809         absolute value.
16810         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16811         (__tanhl): Force underflow exception for arguments with small
16812         absolute value.
16813         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16814         (__tanhl): Force underflow exception for arguments with small
16815         absolute value.
16816         * math/auto-libm-test-in: Add more tests of tanh.
16817         * math/auto-libm-test-out: Regenerated.
16818         * sysdeps/i386/fpu/libm-test-ulps: Update.
16820 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16822         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16823         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16825 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16827         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16828         <cpuid.h>.
16830 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16832         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16833         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16835 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16837         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16838         Remove $(objpfx)init-arch.o.
16839         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16840         init-arch.
16841         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16842         (INIT_ARCH_EXT): Defined as empty.
16843         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16844         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16845         __init_cpu_features call.  Replace HAS_XXX with
16846         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16847         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16848         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16849         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16850         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16851         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16852         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16853         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16854         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16855         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16856         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16857         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16858         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16859         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16860         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16861         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16862         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16863         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16864         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16865         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16866         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16867         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16868         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16869         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16870         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16871         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16872         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16873         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16874         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16875         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16876         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16877         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16878         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16879         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16880         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16881         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16883 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16885         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16886         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16887         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16888         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16889         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16890         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16891         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16892         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16893         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16894         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16895         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16896         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16897         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16898         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16899         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16900         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16901         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16902         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16903         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16904         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16905         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16906         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16907         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16908         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16909         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16910         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16911         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16912         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16913         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16914         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16915         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16916         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16917         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16918         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16919         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16920         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16921         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16922         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16923         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16924         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16925         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16926         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16927         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16929 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16931         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16932         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16933         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16934         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16935         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16936         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16937         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16938         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16939         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16940         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16941         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16942         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16943         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16944         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16945         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16946         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16947         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16948         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16949         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16950         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16952         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16953         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16954         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16955         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16956         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16957         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16958         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16959         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16960         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16961         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16962         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16963         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16964         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16965         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16966         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16967         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16968         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16969         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16970         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16971         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16972         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16973         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16975 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16977         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16978         (dl_platform_init): Call init_cpu_features.
16979         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16980         * sysdeps/i386/i686/cacheinfo.c
16981         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16982         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16983         * sysdeps/i386/i686/multiarch/Versions: Removed.
16984         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16985         Removed.
16986         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16987         * sysdeps/unix/sysv/linux/x86/Makefile
16988         (libpthread-sysdep_routines): Remove init-arch.
16989         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16990         <sysdeps/x86_64/dl-procinfo.c> instead of
16991         sysdeps/generic/dl-procinfo.c>.
16992         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16993         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16994         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16995         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16996         [$(subdir) == elf] (tests-static): Add
16997         tst-get-cpu-features-static.
16998         * sysdeps/x86/Versions: New file.
16999         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17000         * sysdeps/x86/cpu-features.c: Likewise.
17001         * sysdeps/x86/cpu-features.h: Likewise.
17002         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17003         * sysdeps/x86/libc-start.c: Likewise.
17004         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17005         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17006         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17007         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17008         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17009         Assume USE_MULTIARCH is defined and don't check it.
17010         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17011         (is_amd): Likewise.
17012         (max_cpuid): Likewise.
17013         (intel_check_word): Likewise.
17014         (__cache_sysconf): Don't call __init_cpu_features.
17015         (__x86_preferred_memory_instruction): Removed.
17016         (init_cacheinfo): Don't call __init_cpu_features. Replace
17017         __cpu_features with GLRO(dl_x86_cpu_features).
17018         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17019         (dl_platform_init): Call init_cpu_features.
17020         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17021         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17022         * sysdeps/x86_64/multiarch/Versions: Removed.
17023         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17024         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17025         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17026         Removed.
17027         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17029 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17031         [BZ #18820]
17032         * libio/Makefile (test-fmemopen-mem): New test.
17033         * libio/test-fmemopen.c (do_bz18820): New test.
17034         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17035         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17037 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17039         [BZ #16734]
17040         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17041         (FREE_BUF): Delete.
17042         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17043         * libio/genops.c (_IO_setb): Use malloc and free directly.
17044         (_IO_default_doallocate, _IO_default_finish): Likewise.
17045         ( _IO_unbuffer_all): Likewise.
17046         ( libc_freeres_fn): Likewise.
17047         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17048         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17049         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17050         (_IO_wdefault_doallocate): Likewise.
17052 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17054         [BZ #18086]
17055         * sysdeps/posix/nice.c (nice): Restore old errno.
17056         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17058 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17060         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17062 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17064         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17065         __bcopy and add a weak_alias to bcopy.
17066         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17067         for static build.
17069         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17070         cleanup macro usage.
17071         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17072         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17073         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17074         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17075         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17076         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17077         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17078         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17079         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17080         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17081         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17082         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17083         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17084         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17085         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17086         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17087         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17088         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17089         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17091         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17092         libc_hidden_def.
17093         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17095         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17096         (sysdep_routines): Add strstr-ppc64.
17097         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17099 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17101         [BZ #18778]
17102         * elf/Makefile (tests): Add Add tst-nodelete2.
17103         (modules-names): Add tst-nodelete2mod.
17104         (tst-nodelete2mod.so-no-z-defs): New.
17105         ($(objpfx)tst-nodelete2): Likewise.
17106         ($(objpfx)tst-nodelete2.out): Likewise.
17107         (LDFLAGS-tst-nodelete2): Likewise.
17108         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17109         out of loop through all loaded libraries.
17110         * elf/tst-nodelete2.c: New file.
17111         * elf/tst-nodelete2mod.c: Likewise.
17112         * elf/tst-znodelete-zlib.cc: Delete.
17114 2015-08-11  Andreas Schwab  <schwab@suse.de>
17116         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17117         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17118         (__openat64_nocancel): Likewise.
17120 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17122         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17123         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17124         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17125         * math/auto-libm-test-out: Regenerated.
17126         * sysdeps/i386/fpu/libm-test-ulps: Update.
17127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17129 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17131         [BZ #18790]
17132         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17133         threshold for returning +/- 1.
17134         * math/auto-libm-test-in: Add more tests of tanh.
17135         * math/auto-libm-test-out: Regenerated.
17136         * sysdeps/i386/fpu/libm-test-ulps: Update.
17138 2015-08-10  Andreas Schwab  <schwab@suse.de>
17140         [BZ #18781]
17141         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17142         MORE_OFLAGS to oflag.
17143         * io/test-lfs.c (do_test): Test openat64.
17145 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17147         [BZ #18789]
17148         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17149         smaller threshold for returning the argument.
17150         * math/auto-libm-test-in: Add more tests of sinh.
17151         * math/auto-libm-test-out: Regenerated.
17152         * sysdeps/i386/fpu/libm-test-ulps: Update.
17154 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17156         [BZ #18674]
17157         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17158         break.
17160 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17162         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17163         (generated): Don't add $(addprefix z.,$(tzfiles)).
17165 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17167         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17168         * scripts/sysd-rules.awk: Likewise.
17170 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17172         * iconvdata/tst-tables.sh: Change echo -n to printf.
17173         * nss/db-Makefile: Likewise.
17174         * posix/tst-getconf.sh: Likewise.
17175         * stdio-common/tst-unbputc.sh: Likewise.
17177 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17179         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17180         MADV_*_PAGES defines behind this feature check.
17182 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17184         [BZ #18480]
17185         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17186         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17187         Define.
17188         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17189         LOAD_REGS_5, LOAD_REGS_6): Update.
17190         (INTERNAL_SYSCALL): Update using new LOAD defines.
17191         (INTERNAL_SYSCALL_NCS): Likewise.
17192         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17194 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17196         [BZ #16734]
17197         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17199 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17201         [BZ #17905]
17202         * catgets/Makefile (tst-catgets-mem): New test.
17203         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17204         * catgets/open_catalog.c (__open_catalog): Likewise.
17205         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17207 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17209         [BZ #18787]
17210         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17211         clobber registers.
17212         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17213         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17214         Cast return to __typeof (oldval).
17216 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17218         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17219         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17220         and delete sys/syscall.h include.
17222 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17224         [BZ #16517]
17225         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17226         (tan): Force underflow exception for arguments with small absolute
17227         value.
17228         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17229         (__kernel_tanf): Force underflow exception for arguments with
17230         small absolute value.
17231         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17232         (__kernel_tanl): Force underflow exception for arguments with
17233         small absolute value.
17234         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17235         (__kernel_tanl): Force underflow exception for arguments with
17236         small absolute value.
17237         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17238         (__kernel_tanl): Force underflow exception for arguments with
17239         small absolute value.
17240         * math/auto-libm-test-in: Add more tests of tan.
17241         * math/auto-libm-test-out: Regenerated.
17243 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17245         Fix sysdeps/i386/fpu/s_scalbn.S build
17247         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17249 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17251         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17253 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17255         Fix gcrt0.o compilation
17257         When static-start-installed-name is different from
17258         start-installed-name, we must not use the shared objects.
17260         * csu/Makefile
17261         (extra-objs): Add gmon-start.o when building shared library and
17262         $(static-start-installed-name) is different from
17263         $(start-installed-name).
17264         $(objpfx)g$(static-start-installed-name): When building shared
17265         library and $(static-start-installed-name) is different from
17266         $(static-start-installed-name), revert to non-shared rule,
17267         i.e. using $(objpfx)% and gmon-start.o.
17269 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17271         [BZ #16519]
17272         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17273         (__ieee754_sinh): Force underflow exception for arguments with
17274         small absolute value.
17275         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17276         (__ieee754_sinhf): Force underflow exception for arguments with
17277         small absolute value.
17278         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17279         (__ieee754_sinhl): Force underflow exception for arguments with
17280         small absolute value.
17281         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17282         (__ieee754_sinhl): Force underflow exception for arguments with
17283         small absolute value.
17284         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17285         (__ieee754_sinhl): Force underflow exception for arguments with
17286         small absolute value.
17287         * math/auto-libm-test-in: Add more tests of sinh.
17288         * math/auto-libm-test-out: Regenerated.
17289         * sysdeps/i386/fpu/libm-test-ulps: Update.
17291 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17293         * libio/oldfileops.c: Include unistd.h.
17295 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17297         * stdlib/isomac.c: Include ctype.h.
17299 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17301         * dirent/tst-seekdir.c (main): Converted to ...
17302         (do_test): ... this.
17303         (TEST_FUNCTION): New macro.
17304         Include test-skeleton.c.
17305         * elf/tst-dlmodcount.c (main): Converted to ...
17306         (do_test): ... this.
17307         (TEST_FUNCTION): New macro.
17308         Include test-skeleton.c.
17309         * elf/tst-order-main.c (main): Converted to ...
17310         (do_test): ... this.
17311         (TEST_FUNCTION): New macro.
17312         Include test-skeleton.c.
17313         * elf/tst-pie2.c (main): Converted to ...
17314         (do_test): ... this.
17315         (TEST_FUNCTION): New macro.
17316         Include test-skeleton.c.
17317         * inet/tst-ether_aton.c (main): Converted to ...
17318         (do_test): ... this.
17319         (TEST_FUNCTION): New macro.
17320         Include test-skeleton.c.
17321         * misc/tst-mntent.c (main): Converted to ...
17322         (do_test): ... this.
17323         (TEST_FUNCTION): New macro.
17324         Include test-skeleton.c.
17325         * misc/tst-tsearch.c (main): Converted to ...
17326         (do_test): ... this.
17327         (TEST_FUNCTION): New macro.
17328         Include test-skeleton.c.
17329         * posix/tst-regexloc.c (main): Converted to ...
17330         (do_test): ... this.
17331         (TEST_FUNCTION): New macro.
17332         Include test-skeleton.c.
17333         * resolv/tst-aton.c (main): Converted to ...
17334         (do_test): ... this.
17335         (TEST_FUNCTION): New macro.
17336         Include test-skeleton.c.
17337         * stdio-common/test-fwrite.c (main): Converted to ...
17338         (do_test): ... this.
17339         (TEST_FUNCTION): New macro.
17340         Include test-skeleton.c.
17341         * stdio-common/tst-ferror.c (main): Converted to ...
17342         (do_test): ... this.
17343         (TEST_FUNCTION): New macro.
17344         Include test-skeleton.c.
17345         * stdio-common/tst-printf.c (main): Converted to ...
17346         (do_test): ... this.
17347         (TEST_FUNCTION): New macro.
17348         Include test-skeleton.c.
17349         * stdio-common/tst-printfsz.c (main): Converted to ...
17350         (do_test): ... this.
17351         (TEST_FUNCTION): New macro.
17352         Include test-skeleton.c.
17353         * stdlib/tst-strtod.c (main): Converted to ...
17354         (do_test): ... this.
17355         (TEST_FUNCTION): New macro.
17356         Include test-skeleton.c.
17357         * string/tst-strlen.c (main): Converted to ...
17358         (do_test): ... this.
17359         (TEST_FUNCTION): New macro.
17360         Include test-skeleton.c.
17361         * string/tst-svc.c (main): Converted to ...
17362         (do_test): ... this.
17363         (TEST_FUNCTION): New macro.
17364         Include test-skeleton.c.
17365         * time/tst-strptime.c (main): Converted to ...
17366         (do_test): ... this.
17367         (TEST_FUNCTION): New macro.
17368         Include test-skeleton.c.
17369         * timezone/tst-timezone.c (main): Converted to ...
17370         (do_test): ... this.
17371         (TEST_FUNCTION): New macro.
17372         Include test-skeleton.c.
17374 2015-08-05  Zack Weinberg  <zackw@panix.com>
17376         * misc/regexp.h: Update comments.
17378 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17380         [BZ #18635]
17381         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17382         before return label.
17384 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17386         [BZ #18661]
17387         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17388         when calling __errno_location.
17389         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17390         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17392 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17394         [BZ #18661]
17395         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17396         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17397         __gettimeofday.
17399 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17401         [BZ #18661]
17402         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17403         (__start_context): Don't use pop to restore %rdi so that stack
17404         is aligned to 16 bytes when calling __setcontext.
17406 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17408         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17409         only for libc.
17410         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17412 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17414         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17415         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17416         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17418 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17420         * string/memccpy.c (memccpy):
17421         Improve performance by using memchr/memcpy/__mempcpy.
17423 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17425         * string/strncpy.c (strncpy):
17426         Improve performance by using __strnlen/memcpy.
17428 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17430         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17431         Optimize to avoid an unnecessary FPCR read.
17433 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17435         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17436         Optimize to reduce FPCR/FPSR accesses.
17438 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17440         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17441         dead->data[category] != NULL.
17443 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17445         [BZ #18647]
17446         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17447         and |x| close to 1, use absolute value of x when computing log.
17448         * math/auto-libm-test-in: Add more tests of pow.
17449         * math/auto-libm-test-out: Regenerated.
17451 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17453         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17454         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17455         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17457 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17459         [BZ #18525]
17460         * locales/km_KH: Remove timezone definition.
17461         * locales/lo_LA: Likewise.
17462         * locales/my_MM: Likewise.
17463         * locales/nan_TW@latin: Likewise.
17464         * locales/th_TH: Likewise.
17465         * locales/uk_UA: Likewise.
17467 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17469         [BZ #18265]
17470         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17471         (wcsncat): Likewise.
17472         (wcscmp): Likewise.
17473         (wcsncmp): Likewise.
17475 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17477         * test-skeleton.c (usage): New function.
17478         (main): Call usage when opt is '?'.
17480 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17482         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17483         before first use.
17485 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17487         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17488         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17489         in there too.
17491 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17493         * version.h (RELEASE): Set to "development".
17494         (VERSION): Set to "2.22.90"
17496         * version.h (RELEASE): Set to "stable".
17497         (VERSION): Set to "2.22"
17498         * include/features.h (__GLIBC_MINOR__): Set to 22.
17500 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17502         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17503         Restructure macro to avoid "value computed is not used" warning.
17504         (atomic_compare_and_exchange_val_acq): Likewise.
17506 2015-08-04  Andreas Schwab  <schwab@suse.de>
17508         [BZ #18635]
17509         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17510         ret.
17511         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17513 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17515         * po/pl.po: Updated translation.
17516         * po/uk.po: Likewise.
17517         * po/fi.po: Likewise.
17518         * po/ko.po: Likewise.
17519         * po/ru.po: Likewise.
17520         * po/vi.po: Likewise.
17522 2015-07-31  Zack Weinberg  <zackw@panix.com>
17524         [BZ #18681]
17525         * regexp.h: Add unconditional #warning stating that this header
17526         will be removed soon.  Revise banner comment to match.
17527         (compile): Consistently use ERROR instead of RETURN to report
17528         errors (partial fix for bz#18681).
17529         * regexp.c: Don't include regexp.h. Remove some unnecessary
17530         declarations.
17532 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17534         * po/libc.pot: Regenerated.
17536 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17538         [BZ #18740]
17539         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17540         float-vlen4-arch-ext-cflags): Removed.
17541         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17542         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17544 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17546         [BZ #14113]
17547         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17548         aligned to __aligned__.
17549         (pthread_cond_t, pthread_rwlock_t): Likewise.
17551 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17553         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17555 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17557         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17558         (struct sigaction): Change sa_flags from a long to an int, and add
17559         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17561 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17563         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17564         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17565         sysdeps/generic/sysdep.h include.
17566         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17567         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17568         sysdeps/hppa/sysdep.h.
17569         (ENTRY, PSEUDO): Undefine before defining.
17571 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17573         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17574         from scratch to use INTERNAL_SYSCALL.
17576 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17578         [BZ #18078]
17579         * scripts/check-localplt.awk: Support alternate relocations.
17580         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17581         sections.
17582         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17583         malloc entries with + REL R_386_GLOB_DAT.
17584         * sysdeps/x86_64/localplt.data: New file.
17586 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17588         [BZ #18731]
17589         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17590         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17591         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17593 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17595         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17597 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17599         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17600         directly in terms of __sync_fetch_and_add and delete (int) cast.
17602 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17604         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17605         the -D_ASM_IA64_CURRENT_H flag.
17607 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17609         [BZ #18641]
17610         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17612 2015-07-27  Andreas Schwab  <schwab@suse.de>
17614         * conform/conformtest.pl (checknamespace): Filter out string
17615         literals while tokenizing.
17617 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17619         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17620         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17621         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17623 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17625         * nptl/tst-join7mod.c: Add #include <string.h>.
17627 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17629         * sysdeps/nios2/libm-test-ulps: Update.
17631 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17633         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17634         Fix order of arguments to the rt_sigprocmask syscall.
17635         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17636         Likewise.
17638 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17640         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17642 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17644         [BZ #18457]
17645         * nptl/Makefile (tests): New test case tst-join7.
17646         (modules-names): New test case module tst-join7mod.
17647         * nptl/tst-join7.c: New file.
17648         * nptl/tst-join7mod.c: New file.
17649         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17650         all translation units in libc.so, libpthread.so and rtld.
17652 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17656 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17658         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17659         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17660         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17661         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17662         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17663         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17664         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17665         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17666         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17667         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17668         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17669         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17670         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17671         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17672         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17673         implementation.
17675 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17677         [BZ #17711]
17678         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17679         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17680         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17681         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17682         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17683         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17685 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17687         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17688         instead of just saying load lock in the comments.
17690 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17692         * sysdeps/unix/Subdirs: Moved ...
17693         * sysdeps/posix/Subdirs: ... here.
17694         * login/pty.h (struct termios, struct winsize): Add forward decls.
17695         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17696         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17697         * sysdeps/arm/nacl/libc.abilist: Updated.
17698         * sysdeps/nacl/libutil.abilist: New file.
17700         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17701         (SIGWINCH): New macro.
17703         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17704         * sysdeps/arm/nacl/libc.abilist: Add it.
17706 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17708         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17710 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17712         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17713         Swap __glibc_reserved0 and sa_flags order.
17715 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17717         [BZ #18657]
17718         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17719         are pending TLS destructor calls.
17720         * include/link.h (struct link_map): Add concurrency note for
17721         L_TLS_DTOR_COUNT.
17722         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17723         Don't touch the link map flag.  Atomically increment
17724         l_tls_dtor_count.
17725         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17726         Avoid taking the load lock and don't touch the link map flag.
17727         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17728         * stdlib/Makefile (tests): Use it.
17729         * stdlib/tst-tls-atexit.c (do_test): dlopen
17730         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17731         to allow tst-tls-atexit-nodelete test case to use it.
17733 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17735         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17736         to bits/types.h.
17737         (msgqnum_t): New typedef.
17738         (msglen_t): Likewise.
17739         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17740         and msg_qbytes type to msglen_t.
17742 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17744         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17745         pad0 to __glibc_reserved0.
17746         (struct stat64): Likewise.
17748 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17750         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17751         Change sa_flags from a long to an int and add __glibc_reserved0 before
17752         it for padding.
17754 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17756         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17757         anonymous by deleting "siginfo" name.
17759 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17761         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17762         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17763         rather than __nacl_irt_filename.
17764         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17766         * NEWS: New item for arm-nacl port.
17767         * sysdeps/arm/nacl/libc.abilist: New file.
17768         * sysdeps/nacl/ld.abilist: New file.
17769         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17770         * sysdeps/nacl/libanl.abilist: New file.
17771         * sysdeps/nacl/libcrypt.abilist: New file.
17772         * sysdeps/nacl/libdl.abilist: New file.
17773         * sysdeps/nacl/libm.abilist: New file.
17774         * sysdeps/nacl/libpthread.abilist: New file.
17775         * sysdeps/nacl/libresolv.abilist: New file.
17776         * sysdeps/nacl/librt.abilist: New file.
17778 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17780         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17781         __startcontext to initialize the new context.
17782         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17783         up CFI directive to forbid further backtracing.
17785 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17787         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17788         reference.
17789         * charmaps/ANSI_X3.4-1968: Likewise.
17790         * charmaps/BS_4730: Likewise.
17791         * charmaps/BS_VIEWDATA: Likewise.
17792         * charmaps/CP1250: Likewise.
17793         * charmaps/CP1251: Likewise.
17794         * charmaps/CP1252: Likewise.
17795         * charmaps/CP1253: Likewise.
17796         * charmaps/CP1254: Likewise.
17797         * charmaps/CP1255: Likewise.
17798         * charmaps/CP1256: Likewise.
17799         * charmaps/CSN_369103: Likewise.
17800         * charmaps/EBCDIC-DK-NO: Likewise.
17801         * charmaps/GB_1988-80: Likewise.
17802         * charmaps/GREEK-CCITT: Likewise.
17803         * charmaps/GREEK7: Likewise.
17804         * charmaps/INIS-8: Likewise.
17805         * charmaps/ISIRI-3342: Likewise.
17806         * charmaps/ISO_2033-1983: Likewise.
17807         * charmaps/ISO_5427-EXT: Likewise.
17808         * locales/POSIX: Likewise.
17809         * locales/ar_SA: Likewise.
17810         * locales/be_BY: Likewise.
17811         * locales/be_BY@latin: Likewise.
17812         * locales/ca_ES: Likewise.
17813         * locales/cs_CZ: Likewise.
17814         * locales/da_DK: Likewise.
17815         * locales/de_BE: Likewise.
17816         * locales/de_CH: Likewise.
17817         * locales/de_LU: Likewise.
17818         * locales/en_AU: Likewise.
17819         * locales/en_BW: Likewise.
17820         * locales/en_CA: Likewise.
17821         * locales/en_DK: Likewise.
17822         * locales/en_GB: Likewise.
17823         * locales/en_IE: Likewise.
17824         * locales/en_NZ: Likewise.
17825         * locales/en_ZA: Likewise.
17826         * locales/en_ZW: Likewise.
17827         * locales/es_AR: Likewise.
17828         * locales/es_BO: Likewise.
17829         * locales/es_CL: Likewise.
17830         * locales/es_CO: Likewise.
17831         * locales/es_DO: Likewise.
17832         * locales/es_EC: Likewise.
17833         * locales/es_ES: Likewise.
17834         * locales/es_HN: Likewise.
17835         * locales/es_MX: Likewise.
17836         * locales/es_PA: Likewise.
17837         * locales/es_PE: Likewise.
17838         * locales/es_PY: Likewise.
17839         * locales/es_SV: Likewise.
17840         * locales/es_US: Likewise.
17841         * locales/es_UY: Likewise.
17842         * locales/es_VE: Likewise.
17843         * locales/et_EE: Likewise.
17844         * locales/fa_IR: Likewise.
17845         * locales/fo_FO: Likewise.
17846         * locales/fr_CA: Likewise.
17847         * locales/fr_CH: Likewise.
17848         * locales/gv_GB: Likewise.
17849         * locales/he_IL: Likewise.
17850         * locales/hr_HR: Likewise.
17851         * locales/id_ID: Likewise.
17852         * locales/is_IS: Likewise.
17853         * locales/it_CH: Likewise.
17854         * locales/iw_IL: Likewise.
17855         * locales/kl_GL: Likewise.
17856         * locales/ko_KR: Likewise.
17857         * locales/kw_GB: Likewise.
17858         * locales/lg_UG: Likewise.
17859         * locales/lt_LT: Likewise.
17860         * locales/lv_LV: Likewise.
17861         * locales/mi_NZ: Likewise.
17862         * locales/nhn_MX: Likewise.
17863         * locales/nl_BE: Likewise.
17864         * locales/pl_PL: Likewise.
17865         * locales/sk_SK: Likewise.
17866         * locales/sl_SI: Likewise.
17867         * locales/sv_FI: Likewise.
17868         * locales/tl_PH: Likewise.
17869         * locales/tr_TR: Likewise.
17870         * locales/vi_VN: Likewise.
17872 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17874         [BZ #17475]
17875         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17876         of tu_IN and bh_IN.
17878 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17880         [BZ #18694]
17881         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17882         bits/wordsize.h.
17883         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17885 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17887         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17888         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17889         (spawn_thread): New function.
17890         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17891         (do_test): ... here.  Use IS_LOADED to test for its
17892         availability.
17894 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17896         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17898 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17900         [BZ #18696]
17901         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17902         si_addr_bnd.
17903         (si_lower): New.
17904         (si_upper): Likewise.
17906 2015-07-16  David S. Miller  <davem@davemloft.net>
17908         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17910 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17912         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17913         buffer.
17914         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17915         fail output information.
17917 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17920         and strstr-ppc64..
17921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17922         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17923         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17924         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17925         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17927 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17929         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17930         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17931         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17932         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17934 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17936         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17937         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17938         rtld_hidden_proto.
17939         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17941 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17943         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17944         the test can fail.
17946         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17948         [BZ #18676]
17949         * elf/tst-nodelete-opened.c: New test case.
17950         * elf/tst-nodelete-opened-lib.c: New test case module.
17951         * elf/Makefile (tests, modules-names): Use them.
17952         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17953         early.
17955 2015-07-15  David S. Miller  <davem@davemloft.net>
17957         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17958         futex-intenal.h
17959         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17960         * sysdeps/sparc/sparc64/Makefile: Likewise.
17961         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17962         Remove space from macro define.
17963         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17965 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17967         [BZ #17475]
17968         * locale/iso-639.def: Update Bhili and Tulu language codes as
17969         per iso639-3.
17971 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17973         * elf/tst-leaks1.c (main): Converted to ...
17974         (do_test): ... this.
17975         (TEST_FUNCTION): New macro.
17976         Include test-skeleton.c.
17977         * localedata/tst-langinfo.c (main): Converted to ...
17978         (do_test): ... this.
17979         (TEST_FUNCTION): New macro.
17980         Include test-skeleton.c.
17981         * math/test-fpucw.c (main): Converted to ...
17982         (do_test): ... this.
17983         (TEST_FUNCTION): New macro.
17984         Include test-skeleton.c.
17985         * math/test-tgmath.c (main): Converted to ...
17986         (do_test): ... this.
17987         (TEST_FUNCTION): New macro.
17988         Include test-skeleton.c.
17989         * math/test-tgmath2.c (main): Converted to ...
17990         (do_test): ... this.
17991         (TEST_FUNCTION): New macro.
17992         Include test-skeleton.c.
17993         * setjmp/tst-setjmp.c (main): Converted to ...
17994         (do_test): ... this.
17995         (TEST_FUNCTION): New macro.
17996         Include test-skeleton.c.
17997         * stdio-common/tst-sscanf.c (main): Converted to ...
17998         (do_test): ... this.
17999         (TEST_FUNCTION): New macro.
18000         Include test-skeleton.c.
18001         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18002         (do_test): ... this.
18003         (TEST_FUNCTION): New macro.
18004         Include test-skeleton.c.
18006         * elf/tst-audit9.c (main): Converted to ...
18007         (do_test): ... this.
18008         (TEST_FUNCTION): New macro.
18009         Include test-skeleton.c.
18011 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18013         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18015 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18017         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18018         New variable.
18020 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18022         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18024 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18026         * sysdeps/generic/dl-fileid.h: New file.
18027         * sysdeps/posix/dl-fileid.h: New file.
18028         * sysdeps/nacl/dl-fileid.h: New file.
18029         * include/link.h: Include <dl-fileid.h>.
18030         (struct link_map): Replace l_dev and l_ino with l_file_id.
18031         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18032         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18033         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18035 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18037         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18039 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18041         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18042         Add iff $CXX is set.
18043         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18044         Likewise.
18045         (tst-nodelete-zmodiff): Likewise.
18046         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18048 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18050         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18052 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18054         * sysdeps/aarch64/fpu/math_private.h
18055         (define math_opt_barrier): Add AArch64 version.
18056         (math_force_eval): Likewise.
18058 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18060         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18062 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18064         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18065         %ld with %jd and cast to intmax_t.
18066         (do_test_length_zero): Likewise.
18068 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18070         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18072 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18074         * sysdeps/tile/libm-test-ulps: Regenerated.
18076         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18077         Comment out the whole function, not just its body.
18079 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18081         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18082         locks.
18084         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18086 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18088         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18089         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18091 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18093         * sysdeps/nptl/futex-internal.h: New file.
18094         * sysdeps/nacl/futex-internal.h: New file.
18095         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18096         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18097         error checking.
18098         (setxid_unmark_thread): Likewise.
18099         (__nptl_setxid): Likewise.
18100         (__wait_lookup_done): Likewise.
18101         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18102         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18103         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18104         * nptl/pthread_once.c (clear_once_control): Likewise.
18105         (__pthread_once_slow): Likewise.
18106         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18107         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18108         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18109         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18110         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18111         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18112         Likewise.
18113         (__pthread_rwlock_rdlock): Likewise.
18114         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18115         Likewise.
18116         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18117         Likewise.
18118         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18119         Likewise.
18120         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18121         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18122         Likewise.
18123         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18124         __ASSUME_PRIVATE_FUTEX check.
18125         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18126         Check that shared futexes are supported.
18127         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18128         wrappers with error checking.
18129         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18130         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18131         * nptl/pthread_barrierattr_setpshared.c
18132         (pthread_barrierattr_setpshared): Check that shared futexes are
18133         supported.
18134         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18135         Likewise.
18136         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18137         Likewise.
18138         * nptl/sem_init.c (futex_private_if_supported): Remove.
18139         (__new_sem_init): Adapt and check that shared futexes are supported.
18140         * nptl/sem_open.c (sem_open): Likewise.
18141         * nptl/sem_post.c (futex_wake): Remove.
18142         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18143         (do_futex_wait): Use futex wrappers with error checking.
18144         * nptl/sem_wait.c: Include lowlevellock.h.
18145         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18146         Use futex_supports_pshared.
18147         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18148         Use futex wrappers with error checking.
18149         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18150         Likewise.
18151         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18152         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18153         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18154         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18155         (futex_wake): Likewise.
18156         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18157         (do_futex_wait): Use futex wrappers with error checking.
18158         (__new_sem_wait_slow): Update EINTR handling.
18159         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18161 2015-07-09  Martin Sebor  <msebor@redhat.com>
18163         [BZ #18435]
18164         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18165         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18166         * nptl/Makefile (test-xfail-tst-once5): Define.
18168 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18170         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18171         * elf/dl-minimal.c: For readability, reorder some definitions and
18172         introduce more page breaks.  Include <stdio.h>.
18173         (__libc_fatal): New function.
18175         * include/unistd.h: Add rtld_hidden_proto for _exit.
18176         * posix/_exit.c: Add rtld_hidden_def.
18177         * sysdeps/mach/hurd/_exit.c: Likewise.
18178         * sysdeps/nacl/_exit.c: Likewise.
18179         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18180         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18182 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18184         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18185         bndmov encoding with zero displacement.
18187 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18188             H.J. Lu  <hongjiu.lu@intel.com>
18190         [BZ #18134]
18191         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18192         * sysdeps/i386/configure: Regenerated.
18193         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18194         (_dl_runtime_profile): Save and restore Intel MPX return bound
18195         registers when calling _dl_call_pltexit.  Add
18196         PRESERVE_BND_REGS_PREFIX before return.
18197         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18198         (LRV_BND1_OFFSET): Likewise.
18199         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18200         lrv_bnd1.
18201         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18202         typo in bndmov encoding.
18203         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18204         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18205         branch instructions to preserve bounds.
18207 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18210         [GLIBC_2.22]: Add fmemopen.
18212 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18214         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18215         returns an error, also try to use host port from __mach_host_self for
18216         the __vm_wire call.
18217         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18219 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18221         [BZ #18400]
18222         [BZ #18648]
18223         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18224         Fix pr_uid and pr_gid members.
18225         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18226         definition to elf_greg_t.
18228 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18230         [BZ #18383]
18231         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18232         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18233         * sysdeps/arm/configure: Regenerated.
18234         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18235         (test-xfail-tst-tlsalign-static): Variable removed.
18237         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18238         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18239         rather than explicit 'ln -s'.
18241         * resolv/rpc/netdb.h: New file.
18242         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18244 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18246         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18247         length buffers.
18248         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18249         test-skeleton.c.
18251         [BZ #6544]
18252         [BZ #11216]
18253         [BZ #12836]
18254         [BZ #13151]
18255         [BZ #13152]
18256         [BZ #14292]
18257         * include/stdio.h (fmemopen): Remove hidden prototype.
18258         (__fmemopen): Add new hidden prototype.
18259         * libio/Makefile: Add oldfmemopen object.
18260         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18261         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18262         compliance.
18263         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18264         symbol compatibility.
18265         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18266         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18267         fmemopen.
18268         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18269         on append and read mode.
18270         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18271         fmemopen.
18272         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18273         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18274         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18275         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18276         Likewise.
18277         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18278         [GLIBC_2.22]: Likewise.
18279         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18280         Likewise.
18281         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18282         Likewise.
18283         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18284         [GLIBC_2.22]: Likewise.
18285         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18286         [GLIBC_2.22]: Likewise.
18287         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18288         [GLIBC_2.22]: Likewise.
18289         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18290         [GLIBC_2.22]: Likewise.
18291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18292         [GLIBC_2.22]: Likewise.
18293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18294         [GLIBC_2.22]: Likewise.
18295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18296         [GLIBC_2.22]: Likewise.
18297         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18298         Likewise.
18299         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18300         Likewise.
18301         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18302         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18303         [GLIBC_2.22]: Likewise.
18304         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18305         [GLIBC_2.22]: Likewise.
18306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18307         [GLIBC_2.22]: Likewise.
18308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18309         [GLIBC_2.22]: Likewise.
18310         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18311         Likewise.
18312         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18313         Likewise.
18314         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18315         Likewise.
18316         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18317         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18319 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18321         [BZ #18643]
18322         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18323         IPV6_PATHMTU, and IPV6_DONTFRAG.
18325 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18327         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18328         and _IO_UNBUFFERED.
18329         * libio/oldfileops.c: Likewise.
18330         * libio/wfileops.c: Likewise.
18332 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18334         * nscd/selinux.c: Delete selinux/flask.h include.
18336 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18338         [BZ #18641]
18339         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18340         (putpwent): Likewise.
18341         (getpwnam): Likewise.
18342         (getpwent_r): Likewise.
18343         (getpwuid_r): Likewise.
18344         (getpwnam_r): Likewise.
18345         (fgetpwent_r): Likewise.
18347 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18349         [BZ #18557]
18350         * inet/rcmd.c (__validuser2_sa): Check user first to
18351         short-circuit host check.
18353 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18354             Mikhail Ilin  <m.ilin@samsung.com>
18356         [BZ #17833]
18357         * elf/Makefile (tests): Add tst-nodelete.
18358         (modules-names): Add tst-nodelete-uniquemod.
18359         (tst-nodelete-uniquemod.so-no-z-defs): New.
18360         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18361         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18362         ($(objpfx)tst-nodelete): Likewise.
18363         ($(objpfx)tst-nodelete.out): Likewise.
18364         (LDFLAGS-tst-nodelete): Likewise.
18365         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18366         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18367         implement forced object deletion.
18368         (_dl_close): Pass false to _dl_close_worker.
18369         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18370         * elf/tst-nodelete.cc: New file.
18371         * elf/tst-nodeletelib.cc: Likewise.
18372         * elf/tst-znodeletelib.cc: Likewise.
18373         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18375 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18377         [BZ #18508]
18378         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18379         Depend on $(libdl).
18380         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18381         is not called infinitely times.
18382         (backtrace_helper): New function.
18383         (trace_arg): New struct.
18384         (st1): Enlarge stack size.
18385         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18386         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18387         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18388         Likewise.
18390 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18392         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18394 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18396         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18397         Include sys/types.h instead of bits/types.h.
18398         Remove inclusion of bits/wordsize.h.
18400 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18402         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18403         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18404         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18405         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18406         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18407         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18409 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18411         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18412         link-defines.sym.
18413         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18414         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18415         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18416         and LR_SIZE.
18417         * sysdeps/i386/link-defines.sym: New file.
18419 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18421         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18422         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18423         ($(objpfx)tst-audit3): New rule.
18424         ($(objpfx)tst-audit3.out): Likewise.
18425         * sysdeps/i386/tst-audit3.c: New file.
18426         * sysdeps/i386/tst-audit3.h: Likewise.
18427         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18428         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18430 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18432         [BZ #18633]
18433         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18434         pointer in C code.
18435         (__strcat_c): Likewise.
18436         (__strcat_g): Likewise.
18438 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18440         [BZ #18592]
18441         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18443 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18445         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18446         New function.  (__ieee754_sqrtf): New function.
18447         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18448         New function.
18449         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18450         New function.
18452 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18454         * sysdeps/ieee754/support.c: Remove unused file.
18456 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18458         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18459         registers instead of d ones so the layout is kernel abi compatible.
18460         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18461         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18462         Likewise.
18464 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18466         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18468 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18470         [BZ #18619]
18471         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18472         and return argument in case of subnormal argument.
18474 2015-07-01  Martin Sebor  <msebor@redhat.com>
18476         [BZ #18435]
18477         * nptl/Makefile: Add tst-once5.cc.
18478         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18479         Remove macro redefinitions.
18480         * nptl/tst-once5.cc: New test.
18482 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18484         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18486         * sysdeps/arm/libm-test-ulps: Regenerated.
18488         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18489         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18491 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18493         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18494         lll_lock_wait_private and lll_futex_wake probes.
18496         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18497         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18498         Likewise.
18499         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18500         atomic_spin_nop.
18501         * sysdeps/x86_64/bits/atomic.h: Likewise.
18502         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18503         to atomic_spin_nop and move ...
18504         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18505         ... here and ...
18506         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18507         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18508         atomic_spin_nop instead of BUSY_WAIT_NOP.
18509         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18510         Likewise.
18511         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18512         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18513         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18514         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18515         instead of atomic_delay.
18517 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18519         [BZ #18613]
18520         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18521         X_ADJ not X when adjusting exponent.
18522         (__ieee754_gamma_r): Do intermediate computations in
18523         round-to-nearest then adjust overflowing and underflowing results
18524         as needed.
18525         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18526         of X_ADJ not X when adjusting exponent.
18527         (__ieee754_gammaf_r): Do intermediate computations in
18528         round-to-nearest then adjust overflowing and underflowing results
18529         as needed.
18530         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18531         log of X_ADJ not X when adjusting exponent.
18532         (__ieee754_gammal_r): Do intermediate computations in
18533         round-to-nearest then adjust overflowing and underflowing results
18534         as needed.  Use 1.0L not 1.0f as numerator of division.
18535         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18536         log of X_ADJ not X when adjusting exponent.
18537         (__ieee754_gammal_r): Do intermediate computations in
18538         round-to-nearest then adjust overflowing and underflowing results
18539         as needed.  Use 1.0L not 1.0f as numerator of division.
18540         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18541         of X_ADJ not X when adjusting exponent.
18542         (__ieee754_gammal_r): Do intermediate computations in
18543         round-to-nearest then adjust overflowing and underflowing results
18544         as needed.  Use 1.0L not 1.0f as numerator of division.
18545         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18546         to auto-libm-test-in.
18547         (tgamma_test): Use ALL_RM_TEST.
18548         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18549         tests of tgamma with spurious-overflow.
18550         * math/auto-libm-test-out: Regenerated.
18551         * math/gen-libm-have-vector-test.sh: Do not check for START.
18552         * sysdeps/i386/fpu/libm-test-ulps: Update.
18553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18555         [BZ #18612]
18556         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18557         arguments, just return 0.5 times the argument, with underflow
18558         forced as needed.
18559         * math/auto-libm-test-in: Add more tests of j1.
18560         * math/auto-libm-test-out: Regenerated.
18562         [BZ #16559]
18563         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18564         (__ieee754_j1): Force underflow exception for small results.
18565         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18566         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18567         (__ieee754_j1f): Force underflow exception for small results.
18568         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18569         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18570         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18571         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18572         (__ieee754_j1l): Force underflow exception for small results.
18573         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18574         * math/auto-libm-test-in: Add more tests of j1 and jn.
18575         * math/auto-libm-test-out: Regenerated.
18577         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18578         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18579         (PF_MPLS): Likewise.
18580         (AF_IB): Likewise.
18581         (AF_MPLS): Likewise.
18582         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18583         value and macro.
18584         (MS_RMT_MASK): Include MS_LAZYTIME.
18586 2015-06-26  Mel Gorman  <mgorman@suse.de>
18588         [BZ #18502]
18589         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18590         already minimal.
18592 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18594         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18595         (DT_MIPS_NUM): Update.
18596         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18597         DT_MIPS_RLD_MAP_REL.
18599 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18601         [BZ #16559]
18602         [BZ #18602]
18603         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18604         round-to-nearest internally then recompute results that
18605         underflowed to zero in the original rounding mode.
18606         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18607         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18608         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18609         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18610         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18611         * sysdeps/i386/fpu/libm-test-ulps: Update.
18612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18614 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18616         * NEWS: Fixed description of link with vector math library.
18618 2015-06-25  Andreas Schwab  <schwab@suse.de>
18620         [BZ #18549]
18621         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18622         * libio/test-fmemopen.c (do_test): Add test for it.
18624 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18626         [BZ #17841]
18627         * Makeconfig (no-pie-ldflag): New.
18628         (+link): Set to $(+link-pie) if default to PIE.
18629         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18630         * config.make.in (build-pie-default): New.
18631         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18632         is default.  AC_SUBST.
18633         * configure: Regenerated.
18634         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18636 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18638         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18639         to 'unsigned int'.
18641         * resolv/gai_misc.h (struct waitlist): Change type of field
18642         counterp to 'volatile unsigned int *'.
18643         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18644         FUTEXADDR and OLDVAL.
18645         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18646         Give local variable TOTAL type 'volatile unsigned int'.
18647         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18648         * resolv/gai_suspend.c (gai_suspend):
18649         Give local variable CNTR type 'unsigned int'.
18651         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18652         counterp to 'volatile unsigned int *'.
18653         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18654         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18655         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18656         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18657         Give local variable TOTAL type 'volatile unsigned int'.
18658         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18660 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18662         [BZ #18383]
18663         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18664         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18665         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18666         comment for i386/x86-64.
18667         (test-xfail-tst-tlsalign-extern-static): Removed.
18669 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18671         * math/test-double.h: New file.
18672         * math/test-float.h: Likewise.
18673         * math/test-ldouble.h: Likewise.
18674         * math/test-math-inline.h: Likewise.
18675         * math/test-math-no-inline.h: Likewise.
18676         * math/test-math-scalar.h: Likewise.
18677         * math/test-math-vector.h: Likewise.
18678         * math/test-vec-loop.h: Remove file.  Contents moved into
18679         test-math-vector.h.
18680         * math/libm-test.inc (MATHCONST): Do not document macro.
18681         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18682         and test-math-scalar.h.
18683         (FUNC): Remove macro.
18684         (FUNC_TEST): Likewise.
18685         (FLOAT): Likewise.
18686         (MATHCONST): Likewise.
18687         (PRINTF_EXPR): Likewise.
18688         (PRINTF_XEXPR): Likewise.
18689         (PRINTF_NEXPR): Likewise.
18690         (TEST_DOUBLE): Likewise.
18691         (TEST_MATHVEC): Likewise.
18692         (__NO_MATH_INLINES): Likewise.
18693         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18694         and test-math-scalar.h.
18695         (FUNC): Remove macro.
18696         (FUNC_TEST): Likewise.
18697         (FLOAT): Likewise.
18698         (MATHCONST): Likewise.
18699         (PRINTF_EXPR): Likewise.
18700         (PRINTF_XEXPR): Likewise.
18701         (PRINTF_NEXPR): Likewise.
18702         (TEST_FLOAT): Likewise.
18703         (TEST_MATHVEC): Likewise.
18704         (__NO_MATH_INLINES): Likewise.
18705         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18706         and test-math-scalar.h.
18707         (FUNC): Remove macro.
18708         (FUNC_TEST): Likewise.
18709         (FLOAT): Likewise.
18710         (MATHCONST): Likewise.
18711         (PRINTF_EXPR): Likewise.
18712         (PRINTF_XEXPR): Likewise.
18713         (PRINTF_NEXPR): Likewise.
18714         (TEST_DOUBLE): Likewise.
18715         (TEST_MATHVEC): Likewise.
18716         (TEST_INLINE): Likewise.
18717         (__NO_MATH_INLINES): Likewise.
18718         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18719         test-math-scalar.h.
18720         (FUNC): Remove macro.
18721         (FUNC_TEST): Likewise.
18722         (FLOAT): Likewise.
18723         (MATHCONST): Likewise.
18724         (PRINTF_EXPR): Likewise.
18725         (PRINTF_XEXPR): Likewise.
18726         (PRINTF_NEXPR): Likewise.
18727         (TEST_FLOAT): Likewise.
18728         (TEST_MATHVEC): Likewise.
18729         (TEST_INLINE): Likewise.
18730         (__NO_MATH_INLINES): Likewise.
18731         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18732         and test-math-scalar.h.
18733         (FUNC): Remove macro.
18734         (FUNC_TEST): Likewise.
18735         (FLOAT): Likewise.
18736         (MATHCONST): Likewise.
18737         (PRINTF_EXPR): Likewise.
18738         (PRINTF_XEXPR): Likewise.
18739         (PRINTF_NEXPR): Likewise.
18740         (TEST_LDOUBLE): Likewise.
18741         (TEST_MATHVEC): Likewise.
18742         (TEST_INLINE): Likewise.
18743         (__NO_MATH_INLINES): Likewise.
18744         * math/test-ldouble.c: Include test-ldouble.h,
18745         test-math-no-inline.h and test-math-scalar.h.
18746         (FUNC): Remove macro.
18747         (FUNC_TEST): Likewise.
18748         (FLOAT): Likewise.
18749         (MATHCONST): Likewise.
18750         (PRINTF_EXPR): Likewise.
18751         (PRINTF_XEXPR): Likewise.
18752         (PRINTF_NEXPR): Likewise.
18753         (TEST_LDOUBLE): Likewise.
18754         (TEST_MATHVEC): Likewise.
18755         (__NO_MATH_INLINES): Likewise.
18756         * math/test-double-vlen2.h: Include test-double.h,
18757         test-math-no-inline.h and test-math-vector.h.
18758         (FLOAT): Remove macro.
18759         (FUNC): Likewise.
18760         (MATHCONST): Likewise.
18761         (PRINTF_EXPR): Likewise.
18762         (PRINTF_XEXPR): Likewise.
18763         (PRINTF_NEXPR): Likewise.
18764         (TEST_DOUBLE): Likewise.
18765         (TEST_MATHVEC): Likewise.
18766         (__NO_MATH_INLINES): Likewise.
18767         (CNCT): Likewise.
18768         (CONCAT): Likewise.
18769         (WRAPPER_NAME): Likewise.
18770         (WRAPPER_DECL): Likewise.
18771         (WRAPPER_DECL_ff): Likewise.
18772         (WRAPPER_DECL_fFF): Likewise.
18773         (VECTOR_WRAPPER): Likewise.
18774         (VECTOR_WRAPPER_ff): Likewise.
18775         (VECTOR_WRAPPER_fFF): Likewise.
18776         (VEC_LEN): New macro.
18777         * math/test-double-vlen4.h: Include test-double.h,
18778         test-math-no-inline.h and test-math-vector.h.
18779         (FLOAT): Remove macro.
18780         (FUNC): Likewise.
18781         (MATHCONST): Likewise.
18782         (PRINTF_EXPR): Likewise.
18783         (PRINTF_XEXPR): Likewise.
18784         (PRINTF_NEXPR): Likewise.
18785         (TEST_DOUBLE): Likewise.
18786         (TEST_MATHVEC): Likewise.
18787         (__NO_MATH_INLINES): Likewise.
18788         (CNCT): Likewise.
18789         (CONCAT): Likewise.
18790         (WRAPPER_NAME): Likewise.
18791         (WRAPPER_DECL): Likewise.
18792         (WRAPPER_DECL_ff): Likewise.
18793         (WRAPPER_DECL_fFF): Likewise.
18794         (VECTOR_WRAPPER): Likewise.
18795         (VECTOR_WRAPPER_ff): Likewise.
18796         (VECTOR_WRAPPER_fFF): Likewise.
18797         (VEC_LEN): New macro.
18798         * math/test-double-vlen8.h: Include test-double.h,
18799         test-math-no-inline.h and test-math-vector.h.
18800         (FLOAT): Remove macro.
18801         (FUNC): Likewise.
18802         (MATHCONST): Likewise.
18803         (PRINTF_EXPR): Likewise.
18804         (PRINTF_XEXPR): Likewise.
18805         (PRINTF_NEXPR): Likewise.
18806         (TEST_DOUBLE): Likewise.
18807         (TEST_MATHVEC): Likewise.
18808         (__NO_MATH_INLINES): Likewise.
18809         (CNCT): Likewise.
18810         (CONCAT): Likewise.
18811         (WRAPPER_NAME): Likewise.
18812         (WRAPPER_DECL): Likewise.
18813         (WRAPPER_DECL_ff): Likewise.
18814         (WRAPPER_DECL_fFF): Likewise.
18815         (VECTOR_WRAPPER): Likewise.
18816         (VECTOR_WRAPPER_ff): Likewise.
18817         (VECTOR_WRAPPER_fFF): Likewise.
18818         (VEC_LEN): New macro.
18819         * math/test-float-vlen4.h: Include test-float.h,
18820         test-math-no-inline.h and test-math-vector.h.
18821         (FLOAT): Remove macro.
18822         (FUNC): Likewise.
18823         (MATHCONST): Likewise.
18824         (PRINTF_EXPR): Likewise.
18825         (PRINTF_XEXPR): Likewise.
18826         (PRINTF_NEXPR): Likewise.
18827         (TEST_FLOAT): Likewise.
18828         (TEST_MATHVEC): Likewise.
18829         (__NO_MATH_INLINES): Likewise.
18830         (CNCT): Likewise.
18831         (CONCAT): Likewise.
18832         (WRAPPER_NAME): Likewise.
18833         (WRAPPER_DECL): Likewise.
18834         (WRAPPER_DECL_ff): Likewise.
18835         (WRAPPER_DECL_fFF): Likewise.
18836         (VECTOR_WRAPPER): Likewise.
18837         (VECTOR_WRAPPER_ff): Likewise.
18838         (VECTOR_WRAPPER_fFF): Likewise.
18839         (VEC_LEN): New macro.
18840         * math/test-float-vlen8.h: Include test-float.h,
18841         test-math-no-inline.h and test-math-vector.h.
18842         (FLOAT): Remove macro.
18843         (FUNC): Likewise.
18844         (MATHCONST): Likewise.
18845         (PRINTF_EXPR): Likewise.
18846         (PRINTF_XEXPR): Likewise.
18847         (PRINTF_NEXPR): Likewise.
18848         (TEST_FLOAT): Likewise.
18849         (TEST_MATHVEC): Likewise.
18850         (__NO_MATH_INLINES): Likewise.
18851         (CNCT): Likewise.
18852         (CONCAT): Likewise.
18853         (WRAPPER_NAME): Likewise.
18854         (WRAPPER_DECL): Likewise.
18855         (WRAPPER_DECL_ff): Likewise.
18856         (WRAPPER_DECL_fFF): Likewise.
18857         (VECTOR_WRAPPER): Likewise.
18858         (VECTOR_WRAPPER_ff): Likewise.
18859         (VECTOR_WRAPPER_fFF): Likewise.
18860         (VEC_LEN): New macro.
18861         * math/test-float-vlen16.h: Include test-float.h,
18862         test-math-no-inline.h and test-math-vector.h.
18863         (FLOAT): Remove macro.
18864         (FUNC): Likewise.
18865         (MATHCONST): Likewise.
18866         (PRINTF_EXPR): Likewise.
18867         (PRINTF_XEXPR): Likewise.
18868         (PRINTF_NEXPR): Likewise.
18869         (TEST_FLOAT): Likewise.
18870         (TEST_MATHVEC): Likewise.
18871         (__NO_MATH_INLINES): Likewise.
18872         (CNCT): Likewise.
18873         (CONCAT): Likewise.
18874         (WRAPPER_NAME): Likewise.
18875         (WRAPPER_DECL): Likewise.
18876         (WRAPPER_DECL_ff): Likewise.
18877         (WRAPPER_DECL_fFF): Likewise.
18878         (VECTOR_WRAPPER): Likewise.
18879         (VECTOR_WRAPPER_ff): Likewise.
18880         (VECTOR_WRAPPER_fFF): Likewise.
18881         (VEC_LEN): New macro.
18882         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18883         test-vec-loop.h.
18884         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18885         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18886         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18887         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18888         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18889         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18890         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18892 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18894         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18895         (__getlogin_r): ... this.
18897 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18899         [BZ #18594]
18900         * math/s_ccosh.c (__ccosh): Compare with least normal value
18901         instead of comparing class with FP_SUBNORMAL.
18902         * math/s_ccoshf.c (__ccoshf): Likewise.
18903         * math/s_ccoshl.c (__ccoshl): Likewise.
18904         * math/s_cexp.c (__cexp): Likewise.
18905         * math/s_cexpf.c (__cexpf): Likewise.
18906         * math/s_cexpl.c (__cexpl): Likewise.
18907         * math/s_csin.c (__csin): Likewise.
18908         * math/s_csinf.c (__csinf): Likewise.
18909         * math/s_csinh.c (__csinh): Likewise.
18910         * math/s_csinhf.c (__csinhf): Likewise.
18911         * math/s_csinhl.c (__csinhl): Likewise.
18912         * math/s_csinl.c (__csinl): Likewise.
18913         * math/s_ctan.c (__ctan): Likewise.
18914         * math/s_ctanf.c (__ctanf): Likewise.
18915         * math/s_ctanh.c (__ctanh): Likewise.
18916         * math/s_ctanhf.c (__ctanhf): Likewise.
18917         * math/s_ctanhl.c (__ctanhl): Likewise.
18918         * math/s_ctanl.c (__ctanl): Likewise.
18919         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18920         csin, csinh, ctan and ctanh.
18921         * math/auto-libm-test-out: Regenerated.
18922         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18923         * sysdeps/i386/fpu/libm-test-ulps: Update.
18924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18926 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18928         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18929         return value is wrong, print the expected value too.
18931 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18933         [BZ #18585]
18934         * elf/readlib.c (is_gdb_python_file): New.
18935         (process_file): Don't issue errors on filenames with -gdb.py
18936         suffix.
18938 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18940         * math/auto-libm-test-in: Add more tests of csin and csinh.
18941         * math/auto-libm-test-out: Regenerated.
18942         * math/libm-test.inc (csin_test_data): Remove tests moved to
18943         auto-libm-test-in.
18944         (csinh_test_data): Likewise.
18946         [BZ #18593]
18947         * math/s_csin.c (__csin): Negate before rather than after possibly
18948         overflowing multiplication.
18949         * math/s_csinf.c (__csinf): Likewise.
18950         * math/s_csinh.c (__csinh): Likewise.
18951         * math/s_csinhf.c (__csinhf): Likewise.
18952         * math/s_csinhl.c (__csinhl): Likewise.
18953         * math/s_csinl.c (__csinl): Likewise.
18954         * math/auto-libm-test-in: Add some tests of csin and csinh.
18955         * math/auto-libm-test-out: Regenerated.
18956         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18957         (csinh_test_data): Likewise.
18958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18960         [BZ #18586]
18961         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18962         underflow exception for small results.
18964 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18966         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18967         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18968         variable and included header.
18969         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18970         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18971         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18972         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18973         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18974         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18975         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18976         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18977         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18978         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18979         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18980         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18981         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18982         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18983         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18984         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18986 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18988         [BZ #16526]
18989         [BZ #16538]
18990         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18991         (__sin): Force underflow exception for arguments with small
18992         absolute value.
18993         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18994         (__kernel_sinf): Force underflow exception for arguments with
18995         small absolute value.
18996         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18997         (__kernel_sincosl): Force underflow exception for arguments with
18998         small absolute value.
18999         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19000         (__kernel_sinl): Force underflow exception for arguments with
19001         small absolute value.
19002         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19003         (__kernel_sincosl): Force underflow exception for arguments with
19004         small absolute value.
19005         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19006         (__kernel_sinl): Force underflow exception for arguments with
19007         small absolute value.
19008         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19009         (__kernel_sinl): Force underflow exception for arguments with
19010         small absolute value.
19011         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19012         (__kernel_sinf): Force underflow exception for arguments with
19013         small absolute value.
19014         * math/auto-libm-test-in: Add more tests of sin and sincos.
19015         * math/auto-libm-test-out: Regenerated.
19017         [BZ #18245]
19018         [BZ #18583]
19019         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19020         (__kernel_standard_l): Use feholdexcept and fesetenv around
19021         conversion to double instead of special-casing overflow and
19022         underflow.
19023         * math/libm-test.inc (fmod_test_data): Add more tests.
19024         (remainder_test_data): Likewise.
19025         (sqrt_test_data): Likewise.
19027 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19029         [BZ #17403]
19030         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19031         atomic_read_barrier, atomic_write_barrier): Define.
19032         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19033         atomic_read_barrier, atomic_write_barrier): Define.
19035 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19037         * math/Makefile [$(PERL) != no]
19038         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19039         dependency on libm-test.stmp below the inclusion of Rules.
19041 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19043         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19044         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19045         and included header.
19046         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19047         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19048         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19049         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19050         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19051         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19052         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19053         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19054         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19055         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19056         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19057         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19058         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19059         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19060         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19061         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19062         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19063         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19064         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19066 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19068         [BZ #18371]
19069         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19070         intermediate but not final result might underflow.
19071         * math/s_csqrtf.c (__csqrtf): Likewise.
19072         * math/s_csqrtl.c (__csqrtl): Likewise.
19073         * math/auto-libm-test-in: Add more tests of csqrt.
19074         * math/auto-libm-test-out: Regenerated.
19075         * sysdeps/i386/fpu/libm-test-ulps: Update.
19077         [BZ #18219]
19078         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19079         threshold on absolute value of exponent for which scaling is used.
19080         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19081         * math/auto-libm-test-in: Add more tests of exp2.
19082         * math/auto-libm-test-out: Regenerated.
19084 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19086         [BZ #17977]
19087         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19088         when initializing interface list, based on the bug analysis
19089         and the patch proposed by Eric Newton.
19090         * resolv/tst-res_hconf_reorder.c: New test.
19091         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19092         tst-res_hconf_reorder.
19093         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19094         and $(shared-thread-library).
19095         (tst-res_hconf_reorder-ENV): New variable.
19097         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19098         in comment.
19100 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19102         [BZ #16353]
19103         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19104         (__expm1): Force underflow exception for arguments with small
19105         absolute value.
19106         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19107         (__expm1f): Force underflow exception for arguments with small
19108         absolute value.
19109         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19110         (__expm1): Force underflow exception for arguments with small
19111         absolute value.
19112         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19113         (__expm1f): Force underflow exception for arguments with small
19114         absolute value.
19115         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19116         Check for small arguments before calling __expm1.
19117         * math/auto-libm-test-in: Do not mark underflow exceptions as
19118         possibly missing for bug 16353.
19119         * math/auto-libm-test-out: Regenerated.
19121 2015-06-22  Andreas Schwab  <schwab@suse.de>
19123         [BZ #18513]
19124         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19125         PTR queries.
19127 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19129         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19131         * string/strcoll_l.c: Remove unused struct element idxnow.
19133 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19135         [BZ #18569]
19136         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19137         underflow and return argument in case of subnormal argument.
19138         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19139         Likewise.
19140         * math/auto-libm-test-in: Add more tests of expm1.
19141         * math/auto-libm-test-out: Regenerated.
19143         [BZ #16361]
19144         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19145         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19146         tiny results.
19147         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19148         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19149         tiny results.
19150         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19151         mark underflow exceptions as possibly missing for bug 16361.
19152         * math/auto-libm-test-out: Regenerated.
19154 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19156         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19157         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19158         Remove variable.
19159         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19160         (test-xfail-XOPEN2K8/utmpx.h/conform).
19162         * conform/conformtest.pl ($xerrors): New variable.
19163         (note_error): New function.
19164         (compiletest): New argument $xfail.  Use not_error.
19165         (runtest): Likewise.
19166         (top level): Handle xfail- lines.  Update calls to compiletest and
19167         runtest.  Handle xfail- and optional- in headers listed with
19168         allow-header.
19169         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19170         (O_EXEC): Likewise.
19171         (O_SEARCH): Likewise.
19172         * conform/data/stropts.h-data (ioctl): Likewise.
19173         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19174         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19175         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19176         (msghdr.msg_controllen): Likewise.
19177         (cmsghdr.cmsg_len): Likewise.
19178         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19179         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19180         variable.
19181         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19182         (test-xfail-XPG4/stropts.h/conform): Likewise.
19183         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19184         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19185         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19186         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19187         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19188         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19189         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19190         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19191         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19192         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19193         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19194         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19195         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19196         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19197         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19198         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19199         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19200         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19201         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19203 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19205         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19206         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19207         definitions for proper unfolding of __MATHDECL_VEC.
19209 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19211         * benchtests/bench-strcoll.c:
19212         Include string.h.
19213         (main): Remove unused variable res.
19215 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19217         * timezone/Makefile (%/UTC %/Universal):
19218         Generate test-result files for UTC and Universal.
19220 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19222         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19224 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19226         [BZ #16350]
19227         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19228         for arguments with small absolute value.
19229         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19230         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19231         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19232         (__asinh): Force underflow exception for arguments with small
19233         absolute value.
19234         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19235         (__asinhf): Force underflow exception for arguments with small
19236         absolute value.
19237         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19238         (__asinhl): Force underflow exception for arguments with small
19239         absolute value.
19240         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19241         (__asinhl): Force underflow exception for arguments with small
19242         absolute value.
19243         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19244         (__asinhl): Force underflow exception for arguments with small
19245         absolute value.
19246         * math/auto-libm-test-in: Do not mark underflow exceptions as
19247         possibly missing for bug 16350.
19248         * math/auto-libm-test-out: Regenerated.
19250         * include/bits/ipc.h: Remove file.
19251         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19252         variable.
19253         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19254         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19255         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19256         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19257         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19258         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19259         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19260         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19261         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19263         * math/auto-libm-test-in: Remove spurious underflow allowance for
19264         tests of cexp.
19265         * math/auto-libm-test-out: Regenerated.
19267         [BZ #18558]
19268         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19269         unconditional definition.
19270         (MCAST_BLOCK_SOURCE): Likewise.
19271         (MCAST_UNBLOCK_SOURCE): Likewise.
19272         (MCAST_LEAVE_GROUP): Likewise.
19273         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19274         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19275         (MCAST_MSFILTER): Likewise.
19276         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19277         Remove variable.
19278         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19279         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19280         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19281         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19282         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19284 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19286         * NEWS: Mention addition of x86_64 vector sincosf.
19287         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19288         * math/test-float-vlen4.h: Likewise.
19289         * math/test-float-vlen8.h: Likewise.
19290         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19291         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19292         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19293         * sysdeps/x86_64/fpu/Versions: New versions added.
19294         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19295         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19296         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19297         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19298         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19299         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19300         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19301         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19302         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19303         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19304         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19305         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19306         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19307         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19308         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19309         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19310         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19311         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19312         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19313         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19314         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19315         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19316         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19317         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19319         * NEWS: Mention addition of x86_64 vector sincos.
19320         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19321         * math/math.h (__MATHDECL_VEC): New macro.
19322         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19323         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19324         declaration under condition.
19325         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19326         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19327         TEST_VEC_LOOP change.
19328         * math/test-double-vlen4.h: Likewise.
19329         * math/test-double-vlen8.h: Likewise.
19330         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19331         * math/test-float-vlen4.h: Likewise.
19332         * math/test-float-vlen8.h: Likewise.
19333         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19334         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19335         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19336         * sysdeps/x86_64/fpu/Versions: New versions added.
19337         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19338         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19339         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19340         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19341         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19342         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19343         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19344         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19345         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19346         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19347         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19348         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19349         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19350         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19351         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19352         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19353         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19354         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19355         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19356         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19357         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19358         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19359         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19360         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19362         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19363         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19364         redirections for powf.
19365         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19366         * sysdeps/x86_64/fpu/Versions: New versions added.
19367         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19368         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19369         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19370         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19371         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19372         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19373         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19374         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19375         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19376         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19377         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19378         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19379         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19380         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19381         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19382         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19383         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19384         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19385         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19386         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19387         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19388         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19389         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19390         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19391         * math/test-float-vlen16.h: Fixed 2 argument macro.
19392         * math/test-float-vlen4.h: Likewise.
19393         * math/test-float-vlen8.h: Likewise.
19394         * NEWS: Mention addition of x86_64 vector powf.
19396 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19398         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19399         and redefine.
19400         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19401         and redefine.
19402         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19403         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19404         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19406         [BZ #18553]
19407         * resource/getpriority.c (getpriority): Rename to __getpriority
19408         and define as weak alias of __getpriority.
19409         * resource/setpriority.c (setpriority): Rename to __setpriority
19410         and define as weak alias of __setpriority.
19411         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19412         __getpriority and define as weak alias of __getpriority.
19413         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19414         __setpriority and define as weak alias of __setpriority.
19415         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19416         strong name.
19417         (setpriority): Use __setpriority as strong name.
19418         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19419         __getpriority and define as weak alias of __getpriority.
19420         * include/sys/resource.h (__getpriority): Declare.  Use
19421         libc_hidden_proto.
19422         (__setpriority): Likewise.
19423         (getpriority): Don't use libc_hidden_proto.
19424         (setpriority): Likewise.
19425         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19426         getpriority.  Call __setpriority instead of setpriority.
19427         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19428         Remove variable.
19430         [BZ #18547]
19431         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19432         as weak alias of __getttynam.  Use prototype function definition.
19433         Call __setttyent, __getttyent and __endttyent instead of
19434         setttyent, getttyent and endttyent.
19435         (getttyent): Rename to __getttyent and define as weak alias of
19436         __getttyent.  Call __setttyent instead of setttyent.  Call
19437         __fgets_unlocked instead of fgets_unlocked.
19438         (setttyent): Rename to __setttyent and define as weak alias of
19439         __setttyent.
19440         (endttyent): Rename to __endttyent and define as weak alias of
19441         __endttyent.
19442         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19443         (__setttyent): Likewise.
19444         (__endttyent): Likewise.
19445         (getttyent): Don't use libc_hidden_proto.
19446         (setttyent): Likewise.
19447         (endttyent): Likewise.
19448         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19449         __endttyent instead of setttyent, getttyent and endttyent.
19450         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19451         Remove variable.
19453         [BZ #18546]
19454         * socket/recv.c (__recv): Use libc_hidden_def.
19455         * socket/socket.c (__socket): Likewise.
19456         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19457         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19458         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19459         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19460         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19461         libc_hidden_def.
19462         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19463         libc_hidden_weak.
19464         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19465         Use libc_hidden_proto.
19466         (__recv): Likewise.
19467         * socket/Versions (libc): Export __recv and __socket at version
19468         GLIBC_PRIVATE.
19469         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19470         instead of recv.
19471         (init_mq_netlink): Call __socket instead of socket.
19472         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19473         Remove variable.
19475         [BZ #18545]
19476         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19477         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19478         hidden_weak.
19479         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19480         define as alias of __mq_timedsend.  Use hidden_weak.
19481         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19482         __mq_timedsend as strong name.
19483         (mq_timedreceive): Use __mq_timedreceive as strong name.
19484         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19485         (__mq_timedreceive): Likewise.
19486         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19487         __mq_timedreceive instead of mq_timedreceive.
19488         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19489         instead of mq_timedsend.
19490         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19491         Remove variable.
19493         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19494         hidden_def and hidden_weak instead of libc_hidden_def and
19495         libc_hidden_weak.
19496         (top level): Refer to hidden_def in comment.
19497         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19498         macro.  Use it instead of libc_hidden_def.
19499         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19500         specify __GI_* name explicitly.
19501         (mq_timedreceive): Likewise.
19502         (mq_setattr): Likewise.
19504         [BZ #18544]
19505         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19506         __pthread_barrier_init and define as weak alias of
19507         __pthread_barrier_init.
19508         * sysdeps/sparc/nptl/pthread_barrier_init.c
19509         (pthread_barrier_init): Likewise.
19510         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19511         __pthread_barrier_wait and define as weak alias of
19512         __pthread_barrier_wait.
19513         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19514         (pthread_barrier_wait): Likewise.
19515         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19516         (pthread_barrier_wait): Likewise.
19517         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19518         (pthread_barrier_wait): Likewise.
19519         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19520         (pthread_barrier_wait): Likewise.
19521         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19522         __pthread_barrier_wait at version GLIBC_PRIVATE.
19523         * include/pthread.h (__pthread_barrier_init): Declare.
19524         (__pthread_barrier_wait): Likewise.
19525         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19526         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19527         (helper_thread): Likewise.
19528         (init_mq_netlink): Call __pthread_barrier_init instead of
19529         pthread_barrier_init.
19531         [BZ #18542]
19532         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19533         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19534         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19535         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19536         vswscanf.
19537         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19538         Remove variable.
19540         [BZ #18540]
19541         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19542         strong alias of _IO_fflush.  Use libc_hidden_def.
19543         * libio/iofflush_u.c (fflush_unlocked): Rename to
19544         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19545         Use libc_hidden_weak.
19546         * include/stdio.h (__fflush_unlocked): Declare.  Use
19547         libc_hidden_proto.
19548         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19549         fflush_unlocked.
19550         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19551         Remove variable.
19553         [BZ #18539]
19554         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19555         define as weak alias of __addseverity.
19556         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19557         Remove variable.
19558         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19559         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19560         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19562         [BZ #18536]
19563         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19564         (__tfind): Likewise.
19565         (__tdelete): Likewise.
19566         (__twalk): Likewise.
19567         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19568         __twalk to GLIBC_PRIVATE.
19569         * include/search.h (__tsearch): Use libc_hidden_proto.
19570         (__tfind): Likewise.
19571         (__tdelete): Likewise.
19572         (__twalk): Likewise.
19573         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19574         Call __tdelete instead of tdelete.
19575         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19576         tfind.  Call __tsearch instead of tsearch.
19577         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19578         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19579         Remove variable.
19580         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19582         [BZ #18534]
19583         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19584         (dprintf): Define as a weak alias of __dprintf, not a strong
19585         alias.
19586         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19587         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19588         dprintf.
19589         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19590         Remove variable.
19591         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19592         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19594         [BZ #18533]
19595         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19596         not a strong alias.
19597         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19598         Remove variable.
19600         [BZ #18532]
19601         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19602         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19603         (in6addr_loopback): Rename to __in6addr_loopback and define as
19604         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19605         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19606         libc_hidden_proto.
19607         (__in6addr_any): Likewise.
19608         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19609         in6addr_any.
19610         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19611         variable.
19612         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19614 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19616         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19617         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19618         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19619         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19620         redirections for pow.
19621         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19622         * sysdeps/x86_64/fpu/Versions: New versions added.
19623         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19624         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19625         build of SSE, AVX2 and AVX512 IFUNC versions.
19626         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19627         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19628         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19630         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19631         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19632         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19633         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19634         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19635         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19636         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19637         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19638         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19639         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19640         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19641         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19642         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19643         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19644         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19645         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19646         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19647         * NEWS: Mention addition of x86_64 vector pow.
19649         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19650         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19651         redirections for expf.
19652         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19653         * sysdeps/x86_64/fpu/Versions: New versions added.
19654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19655         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19656         build of SSE, AVX2 and AVX512 IFUNC versions.
19657         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19658         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19659         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19660         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19661         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19662         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19663         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19664         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19665         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19666         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19667         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19668         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19669         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19670         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19671         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19672         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19673         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19674         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19675         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19676         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19677         * NEWS: Mention addition of x86_64 vector expf.
19679         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19680         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19681         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19682         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19683         redirections for exp.
19684         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19685         * sysdeps/x86_64/fpu/Versions: New versions added.
19686         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19687         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19688         build of SSE, AVX2 and AVX512 IFUNC versions.
19689         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19690         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19691         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19692         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19693         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19694         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19695         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19696         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19697         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19698         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19699         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19700         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19701         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19702         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19703         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19704         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19705         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19706         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19707         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19708         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19709         * NEWS: Mention addition of x86_64 vector exp.
19711         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19712         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19713         redirections for logf.
19714         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19715         * sysdeps/x86_64/fpu/Versions: New versions added.
19716         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19717         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19718         build of SSE, AVX2 and AVX512 IFUNC versions.
19719         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19720         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19721         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19722         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19723         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19724         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19725         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19726         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19727         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19728         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19729         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19730         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19731         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19732         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19733         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19734         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19735         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19736         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19737         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19738         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19739         * NEWS: Mention addition of x86_64 vector logf.
19741         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19742         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19743         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19744         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19745         redirections for log.
19746         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19747         * sysdeps/x86_64/fpu/Versions: New versions added.
19748         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19749         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19750         build of SSE, AVX2 and AVX512 IFUNC versions.
19751         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19752         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19753         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19754         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19755         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19756         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19757         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19758         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19759         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19760         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19761         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19762         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19763         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19764         test.
19765         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19766         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19767         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19768         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19769         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19770         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19771         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19772         * NEWS: Mention addition of x86_64 vector log.
19774 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19776         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19777         cfi_adjust_cfa_offset argument.
19778         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19779         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19781         [BZ #18034]
19782         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19783         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19784         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19785         ordering using ldar.
19786         (_dl_tlsdesc_dynamic): Likewise.
19787         (_dl_tlsdesc_return_lazy): Likewise.
19788         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19789         relaxed atomics instead of volatile and synchronize with release store.
19790         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19791         volatile.
19792         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19794 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19796         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19797         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19798         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19799         * sysdeps/x86_64/fpu/Versions: New versions added.
19800         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19801         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19802         build of SSE, AVX2 and AVX512 IFUNC versions.
19803         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19804         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19805         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19806         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19807         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19808         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19809         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19810         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19811         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19812         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19813         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19814         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19815         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19816         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19817         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19818         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19819         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19820         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19821         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19822         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19823         * NEWS: Mention addition of x86_64 vector sinf.
19825 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19827         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19828         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19829         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19830         Remove variable.
19831         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19832         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19834 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19836         [BZ #18530]
19837         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19838         strong alias of _IO_fputs.  Use libc_hidden_def.
19839         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19840         and define as weak alias of __fputs_unlocked.  Use
19841         libc_hidden_weak.
19842         * include/stdio.h (__fputs_unlocked): Declare.  Use
19843         libc_hidden_proto.
19844         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19845         fputs_unlocked.
19847         [BZ #18529]
19848         * resolv/netdb.h [__USE_POSIX]: Change condition to
19849         [__USE_XOPEN2K].
19850         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19851         not expect.
19852         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19853         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19854         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19855         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19856         [XPG4 || UNIX98] (AI_ALL): Likewise.
19857         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19858         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19859         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19860         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19861         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19862         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19863         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19864         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19865         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19866         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19867         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19868         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19869         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19870         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19871         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19872         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19873         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19874         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19875         [XPG4 || UNIX98] (gai_strerror): Likewise.
19876         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19877         [XPG4 || UNIX98] (getnameinfo): Likewise.
19879         [BZ #18528]
19880         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19881         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19882         __USE_XOPEN2K8].
19883         (getgrent): Likewise.
19884         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19885         expect.
19886         [XPG3 || POSIX2008] (endgrent): Likewise.
19887         [XPG3] (setgrent): Likewise.
19888         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19889         variable.
19890         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19892         [BZ #18527]
19893         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19894         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19895         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19896         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19897         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19898         * include/unistd.h (__getlogin_r): Declare.  Use
19899         libc_hidden_proto.
19900         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19901         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19902         variable.
19903         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19904         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19905         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19907 2015-06-12  Martin Sebor  <msebor@redhat.com>
19909         [BZ #18512]
19910         * Makerules (check-install-supported): New target.
19911         (install): Add check-install-supported as a dependency.
19912         * manual/install.texi (Installing the C Library): Document
19913         that overriding prefix and exec_prefix is not supported.
19914         Mention DESTDIR.
19915         * INSTALL: Regenerate from the above.
19917 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19919         [BZ #18519]
19920         * posix/Versions (libc): Export __libc_pread at version
19921         GLIBC_PRIVATE.
19922         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19923         instead of pread.
19924         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19925         variable.
19927         [BZ #18522]
19928         * misc/efgcvt_r.c
19929         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19930         (cvt_symbol): Use weak_alias instead of strong_alias.
19931         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19932         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19933         Remove variable.
19934         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19935         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19937         [BZ #18520]
19938         * inet/herrno.c (h_errno): Rename to __h_errno.
19939         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19940         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19941         to __h_errno instead of h_errno.
19942         * nptl/herrno.c (h_errno): Rename to __h_errno.
19943         (__h_errno_location): Refer to __h_errno not h_errno.
19944         * resolv/Versions (h_errno): Rename to __h_errno.
19945         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19946         Remove variable.
19947         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19949 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19951         * configure.ac: More strict check for AVX512 assembler support.
19952         * configure: Regenerated.
19954         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19955         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19956         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19957         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19958         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19959         * sysdeps/x86_64/fpu/Versions: New versions added.
19960         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19961         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19962         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19963         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19964         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19965         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19966         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19967         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19968         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19969         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19970         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19971         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19972         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19973         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19974         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19975         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19976         test.
19977         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19978         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19979         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19980         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19981         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19982         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19983         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19984         * NEWS: Mention addition of x86_64 vector sin.
19986 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19988         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19989         comment.
19991 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19993         [BZ #18479]
19994         * nptl/pt-interp.c: New file.
19995         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19996         Add pt-interp.
19997         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19998         $(common-objpfx)runtime-linker.h.
20000 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20002         * Makeconfig (+interp): Remove unused variable.
20003         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20004         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20005         $(elf-objpfx)runtime-linker.h.
20006         ($(elf-objpfx)runtime-linker.h): Rename to
20007         $(common-objpfx)runtime-linker.h and move ...
20008         * Makerules [$(build-shared) = yes]: ... here.
20009         * elf/interp.c: Include <runtime-linker.h> instead of
20010         <elf/runtime-linker.h>.
20012 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20014         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20015         (__gettimeofday_syscall): Remove vsyscall fallback.
20016         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20017         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20018         Add syscall fallback function.
20019         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20020         if vDSO is not present.
20021         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20022         fallback function.
20023         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20024         present.
20025         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20026         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20028 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20030         [BZ #18497]
20031         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20032         of wcscmp.
20033         (wcscmp): Define as weak alias of WCSCMP.
20034         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20035         wcscoll.
20036         (USE_HIDDEN_DEF): Define.
20037         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20038         __wcscoll.  Don't use libc_hidden_weak.
20039         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20040         wcscmp.
20041         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20042         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20043         __GI_wcscmp.
20044         (weak_alias): Undefine and redefine.
20045         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20046         __wcscmp and define as weak alias of __wcscmp.
20047         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20048         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20049         (__wcscoll): Likewise.
20050         (wcscmp): Don't use libc_hidden_proto.
20051         (wcscoll): Likewise.
20052         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20053         wcscoll.
20054         * posix/regexec.c (check_node_accept_bytes): Likewise.
20055         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20056         variable.
20057         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20058         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20060         [BZ #18507]
20061         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20062         __fstatvfs and define as weak alias of __fstatvfs.  Use
20063         libc_hidden_weak.
20064         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20065         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20066         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20067         Define as alias of __fstatvfs, not fstatvfs.
20068         (fstatvfs64): Likewise.
20069         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20070         Define as alias of __statvfs, not statvfs.
20071         (statvfs64): Likewise.
20072         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20073         Remove variable.
20075 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20078         (HAVE_GETCPU_VSYSCALL): Define.
20079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20080         (HAVE_GETCPU_VSYSCALL): Likewise.
20081         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20082         * sysdeps/unix/sysv/linux/sched_getcpu.c
20083         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20084         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20085         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20086         prototype.
20087         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20088         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20089         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20090         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20091         Define.
20092         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20093         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20094         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20095         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20097 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20099         * sysdeps/x86_64/fpu/Makefile: New file.
20100         * sysdeps/x86_64/fpu/Versions: New file.
20101         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20102         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20103         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20104         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20105         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20106         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20107         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20108         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20109         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20110         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20111         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20112         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20113         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20114         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20115         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20116         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20117         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20118         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20119         * sysdeps/x86_64/configure: Regenerated.
20120         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20121         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20122         * manual/install.texi (Configuring and compiling): Document
20123         --disable-mathvec.
20124         * INSTALL: Regenerated.
20125         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20127         * math/Makefile: Added rules for vector tests.
20128         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20129         declaration under condition.
20130         * math/test-double-vlen2.h: New file.
20131         * math/test-double-vlen4.h: New file.
20132         * math/test-double-vlen8.h: New file.
20133         * math/test-vec-loop.h: Added initialization macro.
20134         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20135         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20136         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20137         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20138         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20139         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20140         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20141         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20142         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20143         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20144         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20146         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20147         * sysdeps/x86_64/fpu/Versions: New versions added.
20148         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20149         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20150         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20151         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20152         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20153         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20154         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20155         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20157         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20158         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20159         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20160         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20161         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20162         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20163         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20164         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20165         * NEWS: Mention addition of x86_64 vector cosf.
20167         * math/Makefile: Added CFLAGS for new tests.
20168         * math/test-float-vlen16.h: New file.
20169         * math/test-float-vlen4.h: New file.
20170         * math/test-float-vlen8.h: New file.
20171         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20172         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20173         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20174         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20175         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20176         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20177         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20178         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20179         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20180         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20181         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20183 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20185         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20186         * locale/programs/ld-ctype.c: Likewise.
20188 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20190         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20191         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20192         bit_ZMM16_31_state): New macro.
20193         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20194         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20196 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20198         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20200 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20202         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20204 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20206         [BZ #18498]
20207         * libio/memstream.c (open_memstream): Rename to __open_memstream
20208         and define as weak alias of __open_memstream.
20209         * include/stdio.h (__open_memstream): Declare.  Use
20210         libc_hidden_proto.
20211         (open_memstream): Don't use libc_hidden_proto.
20212         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20213         open_memstream.
20214         * posix/getopt.c (_getopt_internal_r): Likewise.
20215         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20216         variable.
20217         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20218         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20219         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20221         [BZ #18496]
20222         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20223         instead of wcrtomb.
20225         [BZ #18483]
20226         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20227         [__USE_XOPEN2K8].  Remove redundant #endif.
20228         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20229         Remove redundant #if.
20230         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20231         Remove variable.
20232         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20233         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20235         [BZ #18495]
20236         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20237         (__iswlower): Likewise.
20238         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20239         (__iswlower): Likewise.
20240         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20241         instead of towlower.
20242         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20243         instead of iswlower.  Call __towupper instead of towupper.
20244         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20245         instead of iswalnum.
20247 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20249         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20250         errors to stderr.
20252 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20254         [BZ #15661]
20255         [BZ #17322]
20256         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20257         Check for overflow properly.  Check for O_APPEND.  Ignore large
20258         file system block sizes.  Add comments about problems.
20259         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20260         * manual/filesys.texi (Storage Allocation): New node.
20262 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20264         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20265         cancellable syscalls.
20266         (SYS_ify): Add guard to no redefine it.
20267         (INLINE_SYSCALL): Likewise.
20268         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20269         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20270         SYSCALL_CANCEL instead.
20271         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20272         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20273         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20274         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20275         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20276         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20277         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20278         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20279         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20280         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20281         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20282         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20283         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20284         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20285         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20286         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20287         Likewise.
20288         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20289         (__libc_pread64): Likewise.
20290         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20291         (__libc_preadv): Likewise.
20292         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20293         (__libc_readv64): Likewise.
20294         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20295         (__libc_pwrite): Likewise.
20296         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20297         (__libc_pwrite64): Likewise.
20298         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20299         (__libc_pwritev): Likewise.
20300         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20301         (__libc_pwritev64): Likewise.
20302         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20303         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20304         (sync_file_range): Likewise.
20305         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20306         Likewise.
20307         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20308         Likewise.
20309         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20310         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20311         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20312         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20313         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20314         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20315         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20316         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20318         Likewise.
20319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20320         (__libc_read64): Likewise.
20321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20322         Likewise.
20323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20324         Likewise.
20325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20326         Likewise.
20327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20328         Likewise.
20329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20330         (__libc_pread64): Likewise.
20331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20332         Likewise.
20333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20334         (__libc_pwrite64): Likewise.
20335         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20336         (sync_file_range): Likewise.
20337         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20338         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20339         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20340         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20341         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20342         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20343         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20344         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20345         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20346         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20347         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20348         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20349         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20350         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20351         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20352         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20353         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20354         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20355         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20356         Likewise.
20357         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20358         Likewise.
20359         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20360         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20361         Likewise.
20362         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20363         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20364         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20365         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20366         Likewise.
20367         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20368         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20369         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20370         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20371         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20373 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20375         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20376         Include dl-vdso.
20377         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20378         Use VDSO routines for gettimeofday, clock_gettime if
20379         available.
20380         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20381         Declare VDSO symbols.
20382         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20383         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20384         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20385         * sysdeps/unix/sysv/linux/arm/Versions: Add
20386         __vdso_clock_gettime.
20388 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20390         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20391         be an inline implementation regardless of library is built within.
20392         (open_not_cancel_2): Likewise.
20393         (__read_nocancel): Likewise.
20394         (__write_nocancel): Likewise.
20395         (openat_not_cancel): Likewise.
20396         (openat_not_cancel_3): Likewise.
20397         (openat64_not_cancel): Likewise.
20398         (openat64_not_cancel_3): Likewise.
20399         (__close_nocancel): Likewise.
20400         (pause_not_cancel): Likewise.
20401         (nanosleep_not_cancel): Likewise.
20402         (sigsuspend_not_cancel): Likewise.
20404 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20406         [BZ #14958]
20407         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20408         wake-up.
20409         (__pthread_rwlock_rdlock_slow): Likewise.
20410         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20411         Likewise.
20412         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20413         Likewise.
20414         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20415         * nptl/tst-rwlock16.c: New file.
20416         * nptl/Makefile (tests): Add new test.
20418 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20420         [BZ #18324]
20421         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20422         missing wake-up of readers.
20423         * nptl/tst-rwlock15.c: New file.
20424         * nptl/Makefile (tests): Add new test.
20426 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20428         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20429         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20430         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20431         and __nacl_supply_interface_rtld.
20432         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20433         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20434         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20435         Add __nacl_supply_interface_rtld.
20436         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20438 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20440         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20441         isfinite.
20442         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20443         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20445 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20447         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20448         __signbit* with standard C99 macros.
20449         * math/e_exp10l.c: Likewise.
20450         * math/e_exp2l.c: Likewise.
20451         * math/e_scalb.c: Likewise.
20452         * math/e_scalbf.c: Likewise.
20453         * math/e_scalbl.c: Likewise.
20454         * math/s_ldexp.c: Likewise.
20455         * math/s_ldexpf.c: Likewise.
20456         * math/s_ldexpl.c: Likewise.
20457         * math/w_atan2.c: Likewise.
20458         * math/w_atan2f.c: Likewise.
20459         * math/w_atan2l.c: Likewise.
20460         * math/w_cosh.c: Likewise.
20461         * math/w_coshf.c: Likewise.
20462         * math/w_coshl.c: Likewise.
20463         * math/w_exp10.c: Likewise.
20464         * math/w_exp10f.c: Likewise.
20465         * math/w_exp10l.c: Likewise.
20466         * math/w_exp2.c: Likewise.
20467         * math/w_exp2f.c: Likewise.
20468         * math/w_exp2l.c: Likewise.
20469         * math/w_fmod.c: Likewise.
20470         * math/w_fmodf.c: Likewise.
20471         * math/w_fmodl.c: Likewise.
20472         * math/w_hypot.c: Likewise.
20473         * math/w_hypotf.c: Likewise.
20474         * math/w_hypotl.c: Likewise.
20475         * math/w_jnl.c: Likewise.
20476         * math/w_lgamma.c: Likewise.
20477         * math/w_lgamma_r.c: Likewise.
20478         * math/w_lgammaf.c: Likewise.
20479         * math/w_lgammaf_r.c: Likewise.
20480         * math/w_lgammal.c: Likewise.
20481         * math/w_lgammal_r.c: Likewise.
20482         * math/w_pow.c: Likewise.
20483         * math/w_powf.c: Likewise.
20484         * math/w_powl.c: Likewise.
20485         * math/w_remainder.c: Likewise.
20486         * math/w_remainderf.c: Likewise.
20487         * math/w_remainderl.c: Likewise.
20488         * math/w_scalb.c: Likewise.
20489         * math/w_scalbf.c: Likewise.
20490         * math/w_scalbl.c: Likewise.
20491         * math/w_scalbln.c: Likewise.
20492         * math/w_scalblnf.c: Likewise.
20493         * math/w_scalblnl.c: Likewise.
20494         * math/w_sinh.c: Likewise.
20495         * math/w_sinhf.c: Likewise.
20496         * math/w_sinhl.c: Likewise.
20497         * math/w_tgamma.c: Likewise.
20498         * math/w_tgammaf.c: Likewise.
20499         * math/w_tgammal.c: Likewise.
20500         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20501         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20502         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20503         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20504         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20505         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20506         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20507         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20508         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20509         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20510         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20511         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20512         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20513         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20514         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20515         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20516         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20517         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20518         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20519         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20520         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20521         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20522         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20523         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20524         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20525         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20526         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20527         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20528         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20529         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20530         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20531         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20532         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20533         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20534         * stdio-common/printf_fp.c: Likewise.
20535         * stdio-common/printf_fphex.c: Likewise.
20536         * stdio-common/printf_size.c: Likewise.
20538 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20540         [BZ #18470]
20541         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20542         strnlen.
20543         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20544         Remove variable.
20545         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20546         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20547         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20548         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20549         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20550         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20551         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20552         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20553         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20554         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20556         [BZ #18468]
20557         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20558         weak alias of __wmemchr.  Use libc_hidden_weak.
20559         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20560         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20561         instead of wmemchr.
20563 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20565         [BZ #18383]
20566         * elf/tst-tlsalign-extern.c: New file.
20567         * elf/tst-tlsalign-extern-static.c: New file.
20568         * elf/tst-tlsalign-vars.c: New file.
20569         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20570         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20571         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20572         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20573         (test-xfail-tst-tlsalign-extern-static): New variable.
20575 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20577         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20578         Use variable name _sc_err instead of err.
20579         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20580         instead of ret.
20581         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20582         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20583         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20584         (INLINE_SYSCALL): Likewise.
20586         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20587         * include/string.h (__strnlen): Use libc_hidden_proto.
20588         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20589         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20590         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20591         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20592         (libc_hidden_def): Undefine and redefine.
20593         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20594         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20595         __GI_strnlen.
20596         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20597         libc_hidden_def.
20598         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20600         [BZ #18469]
20601         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20602         weak alias of __towlower.  Use libc_hidden_weak.
20603         (towupper): Rename to __towupper and define as weak alias of
20604         __towupper.  Use libc_hidden_weak.
20605         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20606         (__towupper): Likewise.
20607         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20608         __towlower instead of towlower.
20610 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20612         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20613         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20615 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20617         * sysdeps/aarch64/libm-test-ulps: Update.
20619 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20621         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20622         Define.
20623         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20625         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20626         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20627         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20628         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20629         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20631 2015-06-01  Martin Sebor  <msebor@redhat.com>
20633         [BZ #18116]
20634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20635         (__setcontext): Use extended four-operand version of mtsf whenever
20636         possible.
20637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20638         (__novec_swapcontext): Likewise.
20640 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20642         * benchtests/scripts/compare_bench.py: New file.
20643         * benchtests/scripts/import_bench.py (mean): New function.
20644         (split_list): Likewise.
20645         (do_for_all_timings): Likewise.
20646         (compress_timings): Likewise.
20648         * benchtests/scripts/import_bench.py: New file.
20649         * benchtests/scripts/validate_benchout.py: Import import_bench
20650         instead of jsonschema.
20651         (validate_bench): Remove function.
20652         (main): Use import_bench.
20654 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20656         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20657         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20659 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20663 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20665         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20666         set THREAD_SELF->tid to a magic value and futex-wake it.
20667         Pass its address to the thread_exit system call.
20668         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20669         bit is clear.
20670         * sysdeps/nacl/lowlevellock.h: New file.
20671         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20673         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20674         Add TIMEOUT to current time, don't subtract it.
20676 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20678         [BZ #2981]
20679         [BZ #18422]
20680         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20681         ($(objpfx)tst-audit2.out): Also depend on
20682         $(objpfx)tst-auditmod9b.so.
20683         * elf/tst-audit2.c: Include <dlfcn.h>.
20684         (calloc_called): New.
20685         (calloc): Allow to be called more than once.
20686         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20688 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20690         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20691         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20693 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20695         * stdlib/monetary.h: Fix comment.
20697 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20699         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20700         Avoid using variables in #defines that might cause shadowing.
20701         (INTERNAL_VSYSCALL_CALL): Likewise.
20703 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20705         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20707         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20708         * nptl/lll_timedlock_wait.c: ... to this new file.
20709         * nptl/Makefile (libpthread-routines): Add it.
20710         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20711         * nptl/lll_timedwait_tid.c: ... to this new file.
20712         * nptl/Makefile (libpthread-routines): Add it.
20713         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20714         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20715         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20716         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20717         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20718         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20719         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20720         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20721         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20722         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20724 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20726         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20727         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20728         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20729         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20730         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20731         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20732         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20733         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20734         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20735         * sysdeps/unix/sysv/linux/tile/sysdep.h
20736         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20737         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20738         using vDSO syscall macro.
20740 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20742         [BZ #17293]
20743         * uk_UA: Fix sorting order for Ukrainian locale
20745 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20747         * stdlib/monetary.h: Fix comment.
20749 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20751         [BZ #18234]
20752         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20753         st_mtim and st_ctim members.
20754         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20755         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20756         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20757         (struct stat64): Likewise.
20758         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20759         (struct stat64): Likewise.
20760         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20761         (struct stat64): Likewise.
20763 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20765         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20766         Define and include sysdep-vdso.h.
20767         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20768         Likewise.
20769         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20770         Likewise.
20771         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20772         Define with VDSO_SYMBOL and use PTR_MANGLE.
20773         (__vdso_clock_gettime): Likewise.
20774         (__vdso_clock_getres): Likewise.
20775         (_libc_vdso_platform_setup): Likewise.
20776         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20777         Likewise.
20778         (_libc_vdso_platform_setup): Likewise.
20779         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20780         Likewise.
20781         (__vdso_clock_gettime): Likewise.
20782         (__vdso_clock_getres): Likewise.
20783         (__vdso_get_tbfreq): Likewise.
20784         (__vdso_getcpu): Likewise.
20785         (__vdso_time): Likewise.
20786         (__vdso_sigtramp_rt64): Likewise.
20787         (__vdso_signtramp32): Likewise.
20788         (__vdso_sigtramp_rt32): Likewise.
20789         (_libc_vdso_platform_setup): Likewise.
20790         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20791         Likewise.
20792         (__vdso_clock_gettime): Likewise.
20793         (__vdso_clock_getres): Likewise.
20794         (_libc_vdso_platform_setup): Likewise.
20795         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20796         Likewise.
20797         (__vdso_clock_gettime): Likewise.
20798         (_libc_vdso_platform_setup): Likewise.
20799         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20800         Likewise.
20801         (__vdso_getcpu): Likewise.
20802         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20803         Use VDSO_SYMBOL macro to define.
20804         (__vdso_clock_gettime): Likewise.
20805         (__vdso_clock_getres): Likewise.
20806         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20807         Likewise.
20808         (__vdso_clock_gettime): Likewise.
20809         (__vdso_clock_getres): Likewise.
20810         (__vdso_get_tbfreq): Likewise.
20811         (__vdso_getcpu): Likewise.
20812         (__vdso_time): Likewise.
20813         (__vdso_sigtramp_rt64): Likewise.
20814         (__vdso_signtramp32): Likewise.
20815         (__vdso_sigtramp_rt32): Likewise.
20816         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20817         Likewise.
20818         (__vdso_clock_gettime): Likewise.
20819         (__vdso_clock_getres): Likewise.
20820         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20821         Likewise.
20822         (__vdso_clock_gettime): Likewise.
20823         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20824         Likewise.
20825         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20826         macro.
20827         (INTERNAL_VSYSCALL): Likewise.
20828         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20829         Remove macro.
20830         (INTERNAL_VSYSCALL): Likewise.
20831         (INTERNAL_VSYSCALL_NCS): Likewise.
20832         (INTERNAL_VSYSCALL_CALL): New macro.
20833         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20834         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20835         Likewise.
20836         (INTERNAL_VSYSCALL): Likewise.
20837         (INTERNAL_VSYSCALL_NCS): Likewise.
20838         (INTERNAL_VSYSCALL_CALL): New macro.
20839         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20841         (INLINE_VSYSCALL): Remove macro.
20842         (INTERNAL_VSYSCALL): Remove macro.
20843         (INTERNAL_VSYSCALL_NCS): Remove macro.
20844         (INTERNAL_VSYSCALL_CALL): New macro.
20845         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20846         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20847         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20848         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20849         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20851         (INLINE_VSYSCALL): Remove macro.
20852         (INTERNAL_VSYSCALL): Likewise.
20853         (INTERNAL_VSYSCALL_NCS): Likewise.
20854         (INTERNAL_VSYSCALL_CALL): New macro.
20855         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20856         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20857         PTR_DEMANGLE on vDSO pointer.
20858         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20859         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20860         macro.
20861         (INTERNAL_SYSCALL): Likewise.
20862         (INTERNAL_VSYSCALL_NCS): Remove macro.
20863         (INTERNAL_VSYSCALL_CALL): New macro.
20864         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20865         Remove macro.
20866         (INTERNAL_VSYSCALL): Likewise.
20867         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20868         sysdep-vdso.h instead of libc-vdso.h.
20869         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20870         definition.
20871         (INLINE_VSYSCALL): Likewise.
20872         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20873         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20874         definition.
20875         (INLINE_VSYSCALL): Likewise.
20876         (INTERNAL_VSYSCALL): Likewise.
20877         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20878         * sysdeps/unix/sysv/linux/timespec_get.c
20879         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20880         (timespec_get): Use ANSI prototype.
20881         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20882         and definition for Linux.
20884 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20886         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20887         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20889 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20891         [BZ #2981]
20892         [BZ #18410]
20893         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20894         for missing DT_PLTRELSZ.
20896 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20898         Remove obsolete aliases that broke 'locale -a'
20899         [BZ #18412]
20900         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20901         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20902         breaking some applications that use 'locale -a' output.
20903         Change the encoding of this file from Latin-1 to ASCII to avoid
20904         other potential problems with people grepping this file.
20906 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20908         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20909         -fasynchronous-unwind-tables.
20910         (CFLAGS-sendto.c): Likewise.
20911         (CFLAGS-sendmsg.c): Likewise.
20912         (CFLAGS-connect.c): Likewise.
20913         (CFLAGS-recvmsg.c): Likewise.
20914         (CFLAGS-recvfrom.c): Likewise.
20915         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20916         (SOCKETCALL): New macro: non-cancellable socketcall.
20917         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20918         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20919         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20920         * sysdeps/unix/sysv/linux/accept.c: New file.
20921         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20922         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20923         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20924         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20925         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20926         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20927         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20928         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20929         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20930         * sysdeps/unix/sysv/linux/send.c: Likewise.
20931         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20932         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20933         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20934         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20935         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20936         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20937         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20938         prototype.
20939         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20940         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20941         instead of __internal_xxx function.
20942         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20943         prototype.
20944         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20945         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20946         instead of __internal_xxx function.
20947         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20948         prototype.
20949         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20950         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20951         instead of __internal_xxx function.
20952         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20953         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20954         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20955         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20956         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20957         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20958         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20959         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20960         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20961         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20962         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20963         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20964         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20965         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20966         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20967         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20968         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20969         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20970         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20971         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20974         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20975         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20976         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20977         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20978         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20979         * sysdeps/unix/sysv/linux/send.S: Likewise.
20980         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20981         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20982         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20983         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20984         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20985         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20986         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20987         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20988         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20989         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20990         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20991         socketcall is implemented in GLIBC.
20993 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20995         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20996         (__fma): Ignore uninitialized warnings around packing.
20997         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20998         (__fmaf): Ignore uninitialized warnings around packing.
20999         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21000         (__fmal): Ignore uninitialized warnings around packing.
21002         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21003         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21004         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21005         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21007         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21008         switch statement into default case.
21009         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21011         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21012         a conditional in forcing "inexact".
21013         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21014         Likewise.
21016 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21018         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21019         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21020         for each INTERNAL_SYSCALL use.
21022 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21024         [BZ #438]
21025         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21026         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21027         variable.
21029         [BZ #18444]
21030         * string/basename.c (basename): Rename to __basename and define as
21031         weak alias of __basename.  Use libc_hidden_weak.
21032         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21033         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21034         __basename instead of basename.
21035         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21036         Remove variable.
21037         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21039 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21041         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21042         (_IO_JUMPS_FILE_plus): New.
21043         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21044         _IO_CAST_FIELD_ACCESS.
21045         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21046         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21047         * libio/freopen.c (freopen): Likewise.
21048         * libio/freopen64.c (freopen64): Likewise.
21049         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21050         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21051         * libio/iofwide.c (_IO_fwide): Likewise.
21052         * libio/memstream.c (open_memstream): Likewise.
21053         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21054         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21055         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21057 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21059         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21060         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21061         NADJ.
21062         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21063         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21064         NADJ.
21065         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21066         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21067         NADJ.
21069         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21070         (p == 4) case.
21072         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21073         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21074         Remove variable.
21075         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21076         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21077         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21079 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21081         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21082         Adjust jump table label generation macros.
21084 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21086         * stdio-common/vfprintf.c (vfprintf): Move local variables
21087         args_malloced, specs, specs_malloced, and the code after
21088         do_positional to the printf_positional function.
21089         (printf_positional): New function.
21091 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21093         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21094         function.
21095         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21096         STEP4_TABLE, process_arg): Move macro definitions
21097         out of the vfprintf function.  (Cosmetic change only.)
21099 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21101         * benchtests/Makefile (stdio-common-bench): Define.
21102         (benchset): Add stdio-common-bench.
21103         * sprintf-inputs: New file.
21104         * sprintf-source.c: New file.
21106 2015-05-21  Andreas Schwab  <schwab@suse.de>
21108         [BZ #13028]
21109         [BZ #17053]
21110         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21111         of struct __res_state.
21112         * resolv/res_send.c (__libc_res_nsend): Likewise.
21113         (get_nsaddr): New function.
21114         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21115         statp directly.
21117 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21119         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21120         -D_POSIX_C_SOURCE=199506L.
21122         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21124         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21125         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21126         Do not mention otherwise.
21127         [POSIX] (_XOPEN_VERSION): Do not expect.
21128         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21129         [POSIX] (_POSIX2_C_BIND): Likewise.
21130         [POSIX] (_POSIX2_VERSION): Likewise.
21131         [POSIX] (_XOPEN_XPG2): Likewise.
21132         [POSIX] (_XOPEN_XPG3): Likewise.
21133         [POSIX] (_XOPEN_XPG4): Likewise.
21134         [POSIX] (_XOPEN_UNIX): Likewise.
21135         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21136         [POSIX] (_POSIX_BARRIERS): Likewise.
21137         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21138         [POSIX] (_POSIX_CPUTIME): Likewise.
21139         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21140         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21141         [POSIX] (_POSIX_SHELL): Likewise.
21142         [POSIX] (_POSIX_SPAWN): Likewise.
21143         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21144         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21145         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21146         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21147         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21148         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21149         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21150         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21151         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21152         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21153         [POSIX] (_POSIX2_PBS): Likewise.
21154         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21155         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21156         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21157         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21158         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21159         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21160         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21161         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21162         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21163         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21164         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21165         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21166         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21167         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21168         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21169         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21170         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21171         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21172         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21173         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21174         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21175         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21176         [POSIX] (_SC_2_C_BIND): Likewise.
21177         [POSIX] (_SC_2_C_VERSION): Likewise.
21178         [POSIX] (_SC_2_PBS): Likewise.
21179         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21180         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21181         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21182         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21183         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21184         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21185         [POSIX] (_SC_BARRIERS): Likewise.
21186         [POSIX] (_SC_BASE): Likewise.
21187         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21188         [POSIX] (_SC_DEVICE_IO): Likewise.
21189         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21190         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21191         [POSIX] (_SC_FD_MGMT): Likewise.
21192         [POSIX] (_SC_FIFO): Likewise.
21193         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21194         [POSIX] (_SC_FILE_LOCKING): Likewise.
21195         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21196         [POSIX] (_SC_IOV_MAX): Likewise.
21197         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21198         [POSIX] (_SC_NETWORKING): Likewise.
21199         [POSIX] (_SC_PAGE_SIZE): Likewise.
21200         [POSIX] (_SC_PASS_MAX): Likewise.
21201         [POSIX] (_SC_PIPE): Likewise.
21202         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21203         [POSIX] (_SC_REGEXP): Likewise.
21204         [POSIX] (_SC_SHELL): Likewise.
21205         [POSIX] (_SC_SIGNALS): Likewise.
21206         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21207         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21208         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21209         [POSIX] (_SC_USER_GROUPS): Likewise.
21210         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21211         [POSIX] (_SC_STREAMS): Likewise.
21212         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21213         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21214         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21215         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21216         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21217         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21218         [POSIX] (_PC_FILESIZEBITS): Likewise.
21219         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21220         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21221         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21222         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21223         [POSIX] (uid_t): Likewise.
21224         [POSIX] (gid_t): Likewise.
21225         [POSIX] (off_t): Likewise.
21226         [POSIX] (pid_t): Likewise.
21227         [POSIX] (cuserid): Allow.
21228         (_SC_2_CHAR_TERM): Require constant.
21229         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21230         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21231         variable.
21233 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21235         * sysdeps/nacl/pthread-pids.h: New file.
21236         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21237         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21239         * nptl/pthread-pids.h: New file.
21240         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21241         * nptl/nptl-init.c: Include <pthread-pids.h>.
21242         (__pthread_initialize_minimal_internal):
21243         Call __pthread_initialize_pids instead of set_tid_address syscall.
21245         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21246         * sysdeps/posix/usleep.c: ... here.
21248 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21250         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21251         call_pselect6 object.
21252         [$(subdir) = io]: Remove call_sync_file_range object.
21253         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21254         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21255         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21256         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21258 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21260         * math/s_cproj.c: Add include "math_private.h".
21261         * math/s_cprojf.c: Likewise.
21262         * math/s_cprojl.c: Likewise.
21264 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21266         [BZ #18244]
21267         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21268         high mantissa bit when testing whether P is a NaN.
21269         * math/libm-test.inc (remainder_test_data): Add more tests.
21270         (remquo_test_data): Likewise.
21272         [BZ #18049]
21273         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21274         below -32, return the argument, with underflow if subnormal.
21275         * math/auto-libm-test-in: Add more tests of atanh.
21276         * math/auto-libm-test-out: Regenerated.
21278 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21280         [BZ #18434]
21281         * nptl/tst-sem15.c: New file.
21282         * nptl/Makefile (tests): Add it.
21283         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21284         s/<</>>/ to fix typo in EOVERFLOW check.
21285         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21287 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21289         * manual/strings.texi (envz_remove): Fix typo in safety
21290         annotations.
21292 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21293             Steve Ellcey  <sellcey@imgtec.com>
21295         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21296         in order to avoid strict alias warnings.
21297         (iruserok_af): Ditto for ra.
21299 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21301         [BZ #17581]
21302         * malloc/hooks.c
21303         (magicbyte): Convert to a function and avoid returning 0x01.
21304         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21305         (mem2chunk_check): Fix unsigned comparisons to zero.
21306         Hoist defs of sz and magic.
21308 2015-05-19  Richard Henderson  <rth@redhat.com>
21310         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21312         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21314 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21316         [BZ #16159]
21317         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21318         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21319         (reused_arena): Find a non-corrupt arena.
21320         (heap_trim): Pass arena to unlink.
21321         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21322         malloc_printerr.
21323         (top_check): Likewise.
21324         (free_check): Likewise.
21325         (realloc_check): Likewise.
21326         * malloc/malloc.c (malloc_printerr): Add arena argument.
21327         (unlink): Likewise.
21328         (munmap_chunk): Adjust.
21329         (ARENA_CORRUPTION_BIT): New macro.
21330         (arena_is_corrupt): Likewise.
21331         (set_arena_corrupt): Likewise.
21332         (sysmalloc): Use mmap if there are no usable arenas.
21333         (_int_malloc): Likewise.
21334         (__libc_malloc): Don't fail if arena_get returns NULL.
21335         (_mid_memalign): Likewise.
21336         (__libc_calloc): Likewise.
21337         (__libc_realloc): Adjust for additional argument to
21338         malloc_printerr.
21339         (_int_free): Likewise.
21340         (malloc_consolidate): Likewise.
21341         (_int_realloc): Likewise.
21342         (_int_memalign): Don't touch corrupt arenas.
21343         * malloc/tst-malloc-backtrace.c: New test case.
21345         * Makefile (summarize-tests): Fix return value on success.
21347         * manual/string.texi (Envz Functions): Add envz_remove.
21349 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21351         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21352         (invalid_name): New function, broken out of ...
21353         (__opendirat): ... here.  Call it.
21354         (need_isdir_precheck): New function, broken out of ...
21355         (__opendirat): ... here.  Call it.
21356         Use __fxstatat64, not __xstatat64.
21357         (opendir_oflags): New function, broken out of ...
21358         (__opendirat): ... here.  Call it.
21359         (opendir_tail): New function, broken out of ...
21360         (__opendirat): ... here.  Call it.
21361         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21362         opendir_tail, rather than punting to __opendirat.
21363         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21365 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21367         * .gitignore: Ignore generated *.pyc.
21369 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21371         * include/stdio.h: Define __need_wint_t.
21372         * test-skeleton.c: Avoid `for' loop initial declaration.
21373         * nptl/tst-initializers1.c: Use test-skeleton.c.
21375 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21377         [BZ #18418]
21378         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21380 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21382         [BZ #16352]
21383         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21384         (__ieee754_atanh): Force underflow exception for results with
21385         small absolute value.
21386         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21387         (__ieee754_atanhf): Force underflow exception for results with
21388         small absolute value.
21389         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21390         (__ieee754_atanh): Force underflow exception for results with
21391         small absolute value.
21392         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21393         (__ieee754_atanhf): Force underflow exception for results with
21394         small absolute value.
21395         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21396         (__ieee754_atanhl): Force underflow exception for results with
21397         small absolute value.
21398         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21399         (__ieee754_atanhl): Force underflow exception for results with
21400         small absolute value.
21401         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21402         (__ieee754_atanhl): Force underflow exception for results with
21403         small absolute value.
21404         * math/auto-libm-test-in: Do not allow missing underflow
21405         exceptions from atanh.
21406         * math/auto-libm-test-out: Regenerated.
21408         [BZ #18221]
21409         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21410         2**-28 as threshold for returning x or +/- 1/x.
21411         * math/auto-libm-test-in: Add more tests of tan.
21412         * math/auto-libm-test-out: Regenerated.
21414         [BZ #18220]
21415         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21416         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21417         * math/auto-libm-test-in: Add another test of lgamma.
21418         * math/auto-libm-test-out: Regenerated.
21420 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21422         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21423         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21424         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21425         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21426         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21427         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21428         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21429         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21430         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21431         (log1): Use fabs.  (my_log2): Use fabs.
21432         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21433         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21434         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21435         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21436         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21437         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21438         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21439         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21440         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21441         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21442         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21444 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21446         [BZ #18217]
21447         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21448         as threshold for returning 1 - x.
21449         * math/auto-libm-test-in: Add more tests of erfc.
21450         * math/auto-libm-test-out: Regenerated.
21452 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21454         [BZ #18196]
21455         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21456         threshold for large arguments.
21457         * math/auto-libm-test-in: Add another test of atan.
21458         * math/auto-libm-test-out: Regenerated.
21460         [BZ #16339]
21461         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21462         (__log1p): Force underflow exception for results with small
21463         absolute value.
21464         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21465         (__log1pf): Force underflow exception for results with small
21466         absolute value.
21467         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21468         (__log1p): Force underflow exception for results with small
21469         absolute value.
21470         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21471         (__log1pf): Force underflow exception for results with small
21472         absolute value.
21473         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21474         (__log1pl): Force underflow exception for results with small
21475         absolute value.
21476         * math/auto-libm-test-in: Do not allow missing underflow
21477         exceptions from log1p.
21478         * math/auto-libm-test-out: Regenerated.
21480 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21481             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21483         [BZ #16704]
21484         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21486 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21488         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21489         (libmvec): New variable.
21490         * configure.ac: Added option for mathvec build.
21491         * configure: Regenerated.
21492         * mathvec/Depend: New file.
21493         * mathvec/Makefile: New file.
21494         * shlib-versions: Added libmvec.
21495         * math/Makefile: Added rule for libm.so installation.
21497         * bits/math-vector.h: New file.
21498         * bits/libm-simd-decl-stubs.h: New header.
21499         * math/Makefile (headers): Added new header
21500         libm-simd-decl-stubs.h.
21501         * math/math.h (__MATHCALL_VEC): New macro.
21503         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21504         for conditions in testing functions.
21505         * math/Makefile: Added call of libm-have-vector-test.sh.
21506         * math/libm-test.inc (HAVE_VECTOR): New macros.
21508         * math/libm-test.inc: START refactored.
21509         * math/test-double.c (TEST_MATHVEC): Add define.
21510         * math/test-float.c: Likewise.
21511         * math/test-idouble.c: Likewise.
21512         * math/test-ifloat.c: Likewise.
21513         * math/test-ildoubl.c: Likewise.
21514         * math/test-ldouble.c: Likewise.
21515         * sysdeps/generic/math-tests-arch.h
21516         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21517         architecture check.
21519         * math/test-double.c (FUNC_TEST): New macro.
21520         * math/test-float.c: Likewise.
21521         * math/test-idouble.c: Likewise.
21522         * math/test-ifloat.c: Likewise.
21523         * math/test-ildoubl.c: Likewise.
21524         * math/test-ldouble.c: Likewise.
21525         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21527 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21529         * sysdeps/nacl/fdopendir.c: New file.
21531         * dirent/scandir-tail.c: New file.
21532         * dirent/scandir64-tail.c: New file.
21533         * dirent/Makefile (routines): Add them.
21534         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21535         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21536         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21537         [!SCANDIR] (SCANDIR_TAIL): New macro.
21538         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21539         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21540         (SCANDIRAT): Macro removed.
21541         (SCANDIR_TAIL): New macro.
21542         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21543         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21544         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21545         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21546         (READDIR): Macro removed.
21547         (SCANDIR_TAIL): New macro.
21548         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21549         (SCANDIR_TAIL): New macro.
21551         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21552         * dirent/scandir-cancel.c: ... to this new file.
21553         * dirent/Makefile (routines): Add it.
21554         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21555         * sysdeps/unix/sysv/linux/i386/scandir64.c
21556         (SKIP_SCANDIR_CANCEL): Macro removed.
21557         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21559         * dirent/tst-scandir.c: New file.
21560         * dirent/tst-scandir64.c: New file.
21561         * dirent/Makefile (tests): Add them.
21563 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21565         [BZ #18409]
21566         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21568 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21570         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21571         list.
21573 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21575         * benchtests/bench-strcoll.c: New benchmark.
21576         * benchtests/Makefile: Generate locales and run benchmark.
21577         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21578         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21579         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21580         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21581         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21582         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21583         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21584         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21585         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21586         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21587         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21588         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21589         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21590         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21591         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21592         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21593         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21594         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21595         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21596         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21597         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21598         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21599         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21600         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21602 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21604         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21605         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21607 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21609         * posix/uname-values.h: New file.
21610         * posix/uname.c: Include that instead of <config-name.h>.
21611         * sysdeps/nacl/uname-values.h: New file.
21612         * sysdeps/arm/nacl/uname-values.h: New file.
21614 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21616         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21617         splitting into fields.
21619 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21621         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21622         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21623         * locale/localeinfo.h: Add enum collation_encoding_type.
21624         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21625         * programs/ld-collate.c (collate_output): Add encoding type info.
21626         * string/strcoll_l.c (STRDIFF): New function.
21627         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21628         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21630 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21632         [BZ #18397]
21633         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21634         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21635         <fpu_control.h> instead of <math/fpu_control.c>.
21636         * sysdeps/mips/mips32/fpu/Makefile: New file.
21638 2015-05-11  Andreas Schwab  <schwab@suse.de>
21640         [BZ #18007]
21641         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21642         nss_endgrent.
21643         (_nss_compat_endgrent): Call nss_endgrent.
21644         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21645         nss_endpwent.
21646         (_nss_compat_endpwent): Call nss_endpwent.
21647         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21648         needent, call nss_setspent only if non-zero.
21649         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21650         (internal_endspent): Don't call nss_endspent.
21651         (_nss_compat_endspent): Call nss_endspent.
21652         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21653         Remove.  All uses removed.
21654         (internal_setent): Remove parameter stayopen, add parameter
21655         stream.  Use it instead of global variable.
21656         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21657         (internal_endent, internal_getent): Add parameter stream.  Use it
21658         instead of global variable.
21659         (CONCAT(_nss_files_end,ENTNAME))
21660         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21661         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21662         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21663         uses removed.
21664         (internal_setent, internal_endent): Add parameter stream.  Use it
21665         instead of global variable.
21666         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21667         stream.
21668         (get_next_alias): Add parameter stream.
21669         (_nss_files_getaliasent_r): Pass global stream.
21670         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21671         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21672         (_nss_files_gethostbyname4_r): Pass local stream to
21673         internal_setent, internal_getent and internal_endent.  Remove
21674         locking.
21676 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21678         * tst-strfmon1.c (tests): Update expected currency symbol.
21680 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21682         * sysdeps/nacl/gethostname.c: New file.
21684 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21686         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21687         and sinh.
21688         * math/auto-libm-test-out: Regenerated.
21689         * sysdeps/i386/fpu/libm-test-ulps: Update.
21690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21692 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21694         [BZ #18125]
21695         * stdlib/tst-setcontext3.c: New file.
21696         * stdlib/tst-setcontext3.sh: New file.
21697         * stdlib/Makefile (tests): Add tst-setcontext3.
21698         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21699         to verify test program created output file.
21700         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21701         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21702         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21703         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21705 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21707         [BZ #18383]
21708         * elf/tst-tlsalign.c: New file.
21709         * elf/tst-tlsalign-static.c: New file.
21710         * elf/tst-tlsalign-lib.c: New file.
21711         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21712         (tests-static): Add tst-tlsalign-static.
21713         (modules-names): Add tst-tlsalign-lib.
21714         (test-xfail-tst-tlsalign): New variable.
21715         (test-xfail-tst-tlsalign-static): New variable.
21717         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21718         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21720 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21722         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21723         csqrt, erfc, sin and sincos.
21724         * math/auto-libm-test-out: Regenerated.
21725         * sysdeps/i386/fpu/libm-test-ulps: Update.
21726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21728 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21730         * sysdeps/aarch64/libm-test-ulps: Update.
21732 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21734         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21735         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21736         * math/auto-libm-test-out: Regenerated.
21737         * sysdeps/i386/fpu/libm-test-ulps: Update.
21738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21740 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21742         [BZ #18265]
21743         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21744         (wcsncpy): Likewise.
21746 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21748         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21749         Assume __ASSUME_FALLOCATE is always true.
21750         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21751         (__posix_fallocate64_l64): Likweise.
21752         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21753         (posix_fallocate): Likewise.
21754         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21755         (__posix_fallocate64_l64): Likewise.
21756         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21757         [!__ASSUME_FALLOCATE]: Add comment.
21759 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21761         * sysdeps/unix/sysv/linux/i386/Makefile
21762         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21763         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21764         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21765         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21766         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21767         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21768         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21770 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21772         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21773         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21774         tgamma.
21775         * math/auto-libm-test-out: Regenerated.
21776         * sysdeps/i386/fpu/libm-test-ulps: Update.
21777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21779 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21781         * math/auto-libm-test-in: Add more tests of tgamma.
21782         * math/auto-libm-test-out: Regenerated.
21783         * sysdeps/i386/fpu/libm-test-ulps: Update.
21784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21786         * math/auto-libm-test-in: Add more tests of tanh.
21787         * math/auto-libm-test-out: Regenerated.
21788         * sysdeps/i386/fpu/libm-test-ulps: Update.
21789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21791         * math/auto-libm-test-in: Add more tests of tan.
21792         * math/auto-libm-test-out: Regenerated.
21793         * sysdeps/i386/fpu/libm-test-ulps: Update.
21794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21796         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21797         * math/auto-libm-test-out: Regenerated.
21798         * sysdeps/i386/fpu/libm-test-ulps: Update.
21799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21801         * math/auto-libm-test-in: Add another test of pow.
21802         * math/auto-libm-test-out: Regenerated.
21803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21805         * math/auto-libm-test-in: Add more tests of lgamma.
21806         * math/auto-libm-test-out: Regenerated.
21807         * sysdeps/i386/fpu/libm-test-ulps: Update.
21808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21810         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21811         log1p.
21812         * math/auto-libm-test-out: Regenerated.
21813         * sysdeps/i386/fpu/libm-test-ulps: Update.
21814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21816 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21818         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21819         Elf64_Chdr structs and ELFCOMPRESS constants.
21821 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21823         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21824         expm1.
21825         * math/auto-libm-test-out: Regenerated.
21826         * sysdeps/i386/fpu/libm-test-ulps: Update.
21827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21829         * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21836         * config.h.in (HAVE_AARCH64_BE): Add.
21838 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21840         * math/auto-libm-test-in: Add more tests of csqrt.
21841         * math/auto-libm-test-out: Regenerated.
21842         * sysdeps/i386/fpu/libm-test-ulps: Update.
21843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21845         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21846         * math/auto-libm-test-out: Regenerated.
21847         * sysdeps/i386/fpu/libm-test-ulps: Update.
21848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21850         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21852 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21854         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21855         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21857         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21858         (euidaccess, eaccess): Define as weak aliases.
21860         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21861         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21862         but __suseconds_t is often 'long int' so some sources assume that
21863         type is being used (e.g. they use %ld to print tv_usec).
21865 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21867         [BZ #18007]
21868         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21869         (CVE-2014-8121)
21870         * nss/tst-nss-getpwent.c: New file.
21871         * nss/Makefile (tests): Add new test.
21873 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21875         [BZ #18346]
21876         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21877         exponents less than 48 as cases where high part of mantissa needs
21878         examining to determine whether argument is integral.
21879         * math/libm-test.inc (round_test_data): Add more tests.
21881 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21883         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21885 2015-04-27  David S. Miller  <davem@davemloft.net>
21887         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21888         __tls_get_addr.
21889         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21891 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21893         [BZ#18333]
21894         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21896 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21898         [BZ#18333]
21899         * time/tzset.c (parse_tzname): Return error on memory allocation
21900         failure.
21901         * test-skeleton.c (struct temp_name_list): Change type of name
21902         member to non-const.
21903         (add_temp_file): Create a copy of the file name.
21904         (delete_temp_files): Deallocate memory.
21905         (create_temp_file): Add comment.
21907 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21909         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21910         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21912 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21914         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21915         * sysdeps/arm/configure: Regenerated.
21917 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21919         [BZ #17715]
21920         * time/tzfile.c (__tzfile_read): Check for large values of
21921         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21922         * time/tzset.c (__tzstring_len): New function, based on the old
21923         __tzstring function.
21924         (__tzstring): Call __tzstring_len.
21925         (parse_tzname): New helper function extracted from
21926         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21927         the input string.
21928         (parse_offset): New helper function extracted from
21929         __tzset_parse_tz.  Replace switch with fallthrough with
21930         initialization before sscanf.
21931         (parse_rule): Likewise.
21932         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21933         new-style function definition.
21934         * timezone/Makefile (tests): Add tst-tzset.
21935         (tst-tzset.out): Dependencies on time zone files.
21936         (tst-tzset-ENV): Set TZDIR.
21937         (testdata/XT%): Copy crafted time zone files.
21938         * timezone/README: Mention crafted time zone files.
21939         * timezone/testdata/XT1, timezone/testdata/XT2,
21940         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21941         files.
21942         * timezone/tst-tzset.c: New test.
21944 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21946         * Makeconfig (+gccwarn): Remove -Winline.
21948 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21950         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21952 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21954         * NEWS: Mention sysconf() cache information support for s390.
21955         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21957 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21959         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21960         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21961         (__nearbyint): Likewise.
21962         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21963         (copysignl): Likewise.
21965 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21967         [BZ #18287]
21968         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21969         based on padding.  (CVE-2015-1781)
21971 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21973         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21974         libc-vdso.h.
21975         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21976         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21977         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21978         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21979         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21980         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21981         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21982         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21983         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21984         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21985         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21986         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21987         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21988         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21989         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21990         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21991         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21992         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21993         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21994         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21995         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21996         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21997         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21999 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22001         * stdlib/setenv.c (__add_to_environ):
22002         Dump core quickly if setenv (..., NULL, ...) is called.
22003         This time, do it the right way, and pacify GCC with a pragma.
22005 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22007         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22008         IMAP->l_prev cannot be null, and #if out the code for the contrary
22009         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22010         believe that NS (&_dl_ns[NSID]) could point outside the array.
22012         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22013         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22014         before using NSID as an index.
22016 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22018         [BZ #17825]
22019         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22020         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22021         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22023 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22025         Add preliminary port to Google Native Client on ARM.
22026         * abi-tags (.*-.*-nacl.*): New entry.
22027         * sysdeps/arm/nacl: New directory.
22028         * sysdeps/nacl: New directory.
22030 2015-04-16  David S. Miller  <davem@davemloft.net>
22032         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22033         lowlevellock-futex.h
22035 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22037         * sysdeps/tile/configure.ac: New file.
22038         * sysdeps/tile/configure: Regenerated.
22040 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22042         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22043         conditionals for weak_alias and libc_hidden_weak.
22044         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22045         libc_hidden_weak and weak_alias.
22046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22047         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22048         and weak_alias for static one.
22050 2015-04-15  David S. Miller  <davem@davemloft.net>
22052         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22054 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22056         [BZ #18206]
22057         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22058           Use signed comparision instead of substraction to avoid
22059           overflow bug.
22060         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22061           Take the sign of ret.
22062         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22063           Do not expect precise return values. Only the sign matters.
22064         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22065         * wcsmbs/test-wcsncmp.c: New File.
22066         * string/test-strncmp.c: Add wcsncmp support.
22068 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22070         [BZ #6792]
22071         * math/w_log1p.c: New file.
22072         * math/w_log1pf.c: Likewise.
22073         * math/w_log1pl.c: Likewise.
22074         * math/Makefile (libm-calls): Add w_log1p.
22075         * math/s_log1pl.c (log1pl): Remove weak_alias.
22076         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22077         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22078         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22079         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22080         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22081         [NO_LONG_DOUBLE] (log1pl): Likewise.
22082         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22083         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22084         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22085         (log1p): Remove long_double_symbol.
22086         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22087         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22088         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22089         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22090         remove weak_alias for corresponding log1p function.
22091         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22092         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22093         * sysdeps/ia64/fpu/w_log1p.c: New file.
22094         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22095         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22096         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22098 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22100         [BZ #18247]
22101         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22102         decimal exponent by 1.
22103         * stdlib/tst-strtod-round-data: Add more tests.
22104         * stdlib/tst-strtod-round.c (tests): Regenerated.
22106 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22108         * math/auto-libm-test-in: Add more tests of clog and clog10.
22109         * math/auto-libm-test-out: Regenerated.
22110         * sysdeps/i386/fpu/libm-test-ulps: Update.
22111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22113 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22115         * Makeconfig (module-cppflags): Exclude all .v.i files.
22116         (skip-module-cppflags): Variable removed.
22118         * configure.ac (libc_config_ok): Initialize before reading
22119         preconfigure scripts, not after.
22120         * configure: Regenerated.
22122         * test-skeleton.c (TIMEOUT): Move #define to top level.
22123         (main): Grok environment variable TEST_DIRECT.  If set, print
22124         test expectation details into that file and then behave as if
22125         given --direct.
22127 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22129         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22130         warning on 32-bit.
22132 2015-04-08  David S. Miller  <davem@davemloft.net>
22134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22136 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22138         * math/auto-libm-test-in: Add more tests of atanh.
22139         * math/auto-libm-test-out: Regenerated.
22140         * sysdeps/i386/fpu/libm-test-ulps: Update.
22141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22143         * math/auto-libm-test-in: Add more tests of atan.
22144         * math/auto-libm-test-out: Regenerated.
22145         * sysdeps/i386/fpu/libm-test-ulps: Update.
22146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22148 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22150         * elf/pldd.c (main): Rewrite to use struct
22151         scratch_buffer instead of extend_alloca.
22152         * elf/pldd-xx.c (find_maps): Likewise.
22153         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22154         <alloca.h>.
22155         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22156         scratch_buffer instead of extend_alloca.
22157         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22158         grp/compat-initgroups.c.
22159         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22160         Rewrite to use struct scratch_buffer instead of extend_alloca.
22161         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22162         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22164 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22166         * math/auto-libm-test-in: Add more tests of cbrt.
22167         * math/auto-libm-test-out: Regenerated.
22168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22170         * math/auto-libm-test-in: Add more tests of cabs.
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 #18210]
22176         [BZ #18211]
22177         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22178         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22179         computations.
22180         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22181         clog10.
22182         * math/auto-libm-test-out: Regenerated.
22183         * sysdeps/i386/fpu/libm-test-ulps: Update.
22184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22186         [BZ #18197]
22187         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22188         (atan): Set FE_TONEAREST mode for internal computations.
22189         * math/auto-libm-test-in: Add more tests of atan.
22190         * math/auto-libm-test-out: Regenerated.
22192 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22194         [BZ #17930]
22195         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22197 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22199         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22201 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22203         * include/scratch_buffer.h: New file.
22204         * malloc/scratch_buffer_grow.c: Likewise.
22205         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22206         * malloc/scratch_buffer_set_array_size.c: Likewise.
22207         * malloc/tst-scratch_buffer.c: Likewise.
22208         * malloc/Makefile (routines): Add scratch_buffer_grow.
22209         (tests): Add test case.
22210         * malloc/Versions (GLIBC_PRIVATE): Export
22211         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22212         __libc_scratch_buffer_set_array_size.
22214 2015-04-06  Richard Henderson  <rth@redhat.com>
22216         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22217         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22219         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22220         unsigned int before printing.
22222 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22224         [BZ #17596]
22225         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22226         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22228 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22230         * include/libc-internal.h (libc_max_align_t): Define.
22232 2015-04-02  Andreas Schwab  <schwab@suse.de>
22234         [BZ #16850]
22235         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22237 2015-04-02  Mel Gorman  <mgorman@suse.de>
22239         [BZ #17195]
22240         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22241         as well as the main arena.
22243 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22245         [BZ #18185]
22246         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22247         sharing L2 cache to 2 for Silvermont/Knights Landing.
22249 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22251         [BZ #17711]
22252         * config.make.in (have-protected-data): New.
22253         * configure.ac: Check linker support for protected data symbol.
22254         * configure: Regenerated.
22255         * elf/Makefile (modules-names): Add tst-protected1moda and
22256         tst-protected1modb if $(have-protected-data) is yes.
22257         (tests): Add tst-protected1a and tst-protected1b if
22258         $(have-protected-data) is yes.
22259         ($(objpfx)tst-protected1a): New.
22260         ($(objpfx)tst-protected1b): Likewise.
22261         (tst-protected1modb.so-no-z-defs): Likewise.
22262         * elf/tst-protected1a.c: New file.
22263         * elf/tst-protected1b.c: Likewise.
22264         * elf/tst-protected1mod.h: Likewise.
22265         * elf/tst-protected1moda.c: Likewise.
22266         * elf/tst-protected1modb.c: Likewise.
22268 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22270         [BZ #17711]
22271         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22272         indicates it is called from do_lookup_x on relocation against
22273         protected data, skip the data definion in the executable from
22274         copy reloc.
22275         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22276         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22277         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22278         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22279         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22280         otherwise to 0.
22281         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22282         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22283         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22284         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22285         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22286         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22288 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22290         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22291         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22293 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22295         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22296         THREAD_SETMEM_NC.
22297         * sysdeps/x86_64/nptl/tls.h: Ditto.
22299 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22301         * dlfcn/tststatic.c (main): Converted to ...
22302         (do_test): ... this.
22303         (TEST_FUNCTION): New macro.
22304         Include test-skeleton.c.
22306 2015-03-26  Alan Modra  <amodra@gmail.com>
22308         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22309         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22310         zero for undefined weak.
22311         (elf_machine_plt_conflict): Similarly.
22313 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22315         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22316         atanh.
22317         * math/auto-libm-test-out: Regenerated.
22318         * sysdeps/i386/fpu/libm-test-ulps: Update.
22319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22321         * math/auto-libm-test-in: Add another test of asin.
22322         * math/auto-libm-test-out: Regenerated.
22323         * sysdeps/i386/fpu/libm-test-ulps: Update.
22324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22326         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22327         Remove macro.
22328         (LLL_EBX_REG): Likewise.
22329         (LLL_ENTER_KERNEL): Likewise.
22331         * math/auto-libm-test-in: Add more tests of asin.
22332         * math/auto-libm-test-out: Regenerated.
22333         * sysdeps/i386/fpu/libm-test-ulps: Update.
22334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22336         [BZ #18138]
22337         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22338         libc_do_syscall_args): New structure.
22339         (INTERNAL_SYSCALL_MAIN_0): New macro.
22340         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22341         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22342         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22343         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22344         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22345         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22346         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22347         Replace conditional definitions by conditional definitions of ....
22348         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22349         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22350         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22351         (libpthread-sysdep_routines): Add libc-do-syscall.
22352         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22353         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22354         to __NR_futex not 240.
22356 2015-03-25  Alan Modra  <amodra@gmail.com>
22358         * NEWS: Advertise TLS optimization.
22359         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22360         (DT_PPC_NUM): Increment.
22361         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22362         (CHECK_STATIC_TLS): Use here.
22363         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22364         TLS descriptors.
22365         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22366         * sysdeps/powerpc/dl-tls.c: New file.
22367         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22368         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22369         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22370         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22375 2015-03-25  Alan Modra  <amodra@gmail.com>
22377         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22378         for overlapping .opd entries" to "support...".
22379         * sysdeps/powerpc/powerpc64/configure: Regenerate
22381 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22383         * math/auto-libm-test-in: Add more tests of acos.
22384         * math/auto-libm-test-out: Regenerated.
22385         * sysdeps/i386/fpu/libm-test-ulps: Update.
22386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22388         * math/auto-libm-test-in: Add more tests of expm1.
22389         * math/auto-libm-test-out: Regenerated.
22390         * sysdeps/i386/fpu/libm-test-ulps: Update.
22391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22393 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22395         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22396         * math/auto-libm-test-out: Regenerated.
22397         * sysdeps/i386/fpu/libm-test-ulps: Update.
22398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22400         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22403         * math/auto-libm-test-in: Add more tests of log2.
22404         * math/auto-libm-test-out: Regenerated.
22405         * sysdeps/i386/fpu/libm-test-ulps: Update.
22406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22408 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22410         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22411         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22412         _IO_IS_APPENDING bit in READ_WRITE instead.
22414 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22416         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22417         (__determine_cpumask_size): Replace extend_alloca with a
22418         variable-length array.  Do not treat res == 0 as an error.
22420 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22422         [BZ #18100]
22423         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22424         and integer overflow.
22425         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22426         (main): Add integer overflow tests.
22427         * manual/pattern.texi (Calling Wordexp): Document additional use
22428         for WRDE_SYNTAX.
22430 2015-03-23  Alan Modra  <amodra@gmail.com>
22432         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22433         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22434         and false branch of conditional.
22435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22436         Likewise.
22438 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22440         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22441         libc-modules.h
22442         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22443         unused declaration of _hurd_intr_rpc_msg_in_trap.
22444         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22445         defined instead of whether it is non-zero.
22446         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22447         input constraint instead of both input and output constraint.  Use ecx
22448         clobber instead of %ecx.
22449         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22450         mutex_unlock): Use a statement expression instead of an expression list.
22451         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22452         type to vm_size_t instead of vm_address_t.
22453         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22454         defined instead of whether it is non-zero.
22455         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22456         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22457         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22458         comparisons with mapaddr.
22459         * nscd/nscd-client.h: Include <time.h>.
22460         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22461         9th parameter to __vm_region instead of int.
22462         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22463         * scripts/check-local-headers.sh (exclude): Add device/,
22464         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22465         cthreads.h.
22467 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22469         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22470         to account for alignment padding.
22471         * sysdeps/arm/memmove.S: Likewise.
22473 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22475         * sysdeps/unix/sysv/linux/generic/README: New file.
22477 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22479         [BZ #18138]
22480         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22481         (futex_abstimed_wait)
22482         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22483         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22484         of lll_futex_timed_wait.
22486 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22488         [BZ #17542]
22489         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22491 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22493         [BZ #17090]
22494         [BZ #17620]
22495         [BZ #17621]
22496         [BZ #17628]
22497         * NEWS: Update.
22498         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22499         entries with Static TLS too.  Skip entries past the end of the
22500         allocated DTV, from Alan Modra.
22501         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22502         Static TLS DTV entry set up from...
22503         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22504         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22505         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22506         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22507         for Static TLS.
22508         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22509         that the slot we find is associated with the given map before
22510         using its generation count.
22511         * nptl_db/db_info.c: Include ldsodefs.h.
22512         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22513         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22514         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22515         (link_map::l_tls_offset): New struct field.
22516         (dtv_t::counter): Likewise.
22517         (rtld_global): New struct.
22518         (_rtld_global): New rtld variable.
22519         (dl_tls_dtv_slotinfo_list): New rtld global field.
22520         (dtv_slotinfo_list): New struct.
22521         (dtv_slotinfo): Likewise.
22522         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22523         (td_lookup): Rename to...
22524         (td_mod_lookup): ... this.  Use new mod parameter instead of
22525         LIBPTHREAD_SO.
22526         * nptl_db/td_thr_tlsbase.c: Include link.h.
22527         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22528         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22529         addresses even if the DTV is out of date or missing them.
22530         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22531         index zero-length arrays.
22532         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22533         (td_lookup): Make it a macro implemented in terms of...
22534         (td_mod_lookup): ... this declaration.
22535         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22536         (DB_MAIN_VARIABLE): Likewise.
22538 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22540         [BZ #18134]
22541         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22543 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22545         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22547 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22549         [BZ #18128]
22550         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22551         (atomic_add, atomic_increment_and_test)
22552         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22554 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22556         * stdlib/setenv.c (__add_to_environ):
22557         Dump core quickly if setenv (..., NULL, ...) is called.
22559 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22561         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22562         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22563         all the necessary asm magic in one place.
22564         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22565         using those.
22567 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22569         [BZ #14906]
22570         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22571         traced file mtime. Use consistent log message.
22572         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22573         (register_traced_file): Call install_watches. Always set mtime.
22574         (invalidate_cache): Iterate over all trace files. Call install_watches.
22575         (inotify_check_files): Don't inline. Handle watching parent
22576         directories and configuration file movement in and out.
22577         (handle_inotify_events): New function.
22578         (main_loop_poll): Call handle_inotify_events.
22579         (main_loop_epoll): Likewise.
22580         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22581         (struct traced_file): Use array of inotify fds. Add parent directory,
22582         and basename.
22583         (struct database_dyn): Remove unused file_mtime.
22584         (init_traced_file): New inline function.
22585         (define_traced_file): New macro.
22586         * nss/nss_db/db-init.c: Use define_traced_file.
22587         (_nss_db_init): Use init_traced_file.
22588         * nss/nss_files/files-init.c: Use define_traced_file.
22589         (_nss_files_init): Use init_traced_file.
22591 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22593         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22594         [_LIBC]: Do not include <stdlib.h>.
22595         [!_LIBC] (abort): Remove declaration.
22596         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22597         _FP_STATIC_ASSERT instead of conditionally calling abort.
22598         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22599         (_FP_EXTEND_CNAN): Likewise.
22600         (FP_TRUNC): Likewise.
22601         (__FP_CLZ): Likewise.
22602         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22604 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22606         * manual/string.texi (XPG basename): Fix prototype.
22608 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22610         [BZ #18080]
22611         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22612         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22613         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22614         (__setcontext): Likewise.
22615         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22616         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22617         Call rt_sigprocmask syscall one time to set new signal mask
22618         and retrieve the current signal mask instead of two calls.
22619         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22620         (__swapcontext): Likewise.
22621         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22622         * stdlib/tst-setcontext2.c: New file.
22624 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22626         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22628 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22630         [BZ #18093]
22631         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22632         the wrong size.
22634 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22636         [BZ #18043]
22637         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22639 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22641         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22642         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22643         Remove define.
22644         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22645         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22646         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22647         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22648         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22649         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22650         define.
22651         * nptl_db/td_symbol_list.c (td_lookup): Remove
22652         HAVE_ASM_GLOBAL_DOT_NAME code.
22653         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22654         HAVE_ASM_GLOBAL_DOT_NAME check.
22655         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22656         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22657         (DOT_LABEL): Remove define.
22658         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22659         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22660         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22661         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22662         (__TLS_GET_ADDR): Likewise.
22663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22664         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22666 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22668         [BZ #18111]
22669         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22670         (_FPU_SETCW): Initialize cw from fpsr before storing.
22671         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22672         (fesetexceptflag): Rewrite using fpu_control.h.
22673         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22675 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22677         [BZ #18110]
22678         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22679         asms.
22680         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22682 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22684         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22685         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22686         abort.
22687         (_FP_FMA): Likewise.
22688         (_FP_DIV): Likewise.
22690 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22692         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22693         with 0 in that case.
22694         * Makefile (summarize-tests): New canned sequence, factored out of
22695         commands for targets tests and xtests.  Display summary lines that
22696         don't start with PASS: or XFAIL: rather than ones that do start with
22697         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22698         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22699         do start with ERROR: or FAIL:.
22700         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22701         (except for [$(build-shared) = yes]).
22702         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22703         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22704         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22705         * nptl/Makefile: Revert 2015-03-04 changes.
22706         [$(CXX) empty] (tests-unsupported): New variable.
22707         * debug/Makefile: Likewise.
22709         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22710         gnulib file.  Replace __attribute with __attribute__ throughout.
22712 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22714         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22716 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22718         [BZ #18104]
22719         * math/auto-libm-test-in: Add another test of pow.
22720         * math/auto-libm-test-out: Regenerated.
22722 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22724         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22725         $(config-cflags-nofma).
22727 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22729         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22730         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22731         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22732         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22733         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22734         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22735         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22736         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22737         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22738         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22739         Add comment on closing #endif.
22741 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22743         * posix/wordexp.c (CHAR_IN_SET): New macro.
22744         (parse_param): Use it.
22746 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22748         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22750 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22752         [BZ #18043]
22753         * posix/wordexp.c (parse_param): Fix buffer overflow.
22754         * posix/wordexp-test.c (test_case): Add test case.
22756 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22758         [BZ #18042]
22759         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22760         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22762 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22764         [BZ #18043]
22765         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22766         (do_bz18043): Delete.
22767         (at_page_end): New.
22768         (testit): Refactor to have words at the edge of unreadable page.
22770 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22772         [BZ #16734]
22773         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22774         Cleanup read-only streams as well.
22775         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22777 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22779         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22780         <bits/libc-lockP.h>
22782 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22784         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22785         on [__KERNEL__].
22786         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22787         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22788         * soft-fp/op-common.h (_FP_DECL): Likewise.
22790 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22792         * elf/ifuncdep2.c (global): Replace
22793         __attribute__((visibility("protected"))) with
22794         asm (".protected global").
22795         * elf/ifuncmod1.c (global): Likewise.
22796         * elf/ifuncmod5.c (global): Likewise.
22798 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22800         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22801         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22803 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22805         * manual/install.texi (Configuring and compiling):
22806         Document test-wrapper-env-only.
22807         * INSTALL: Regenerated.
22809 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22811         [BZ #18043]
22812         * posix/wordexp.c (parse_param): Fix buffer overflow.
22813         * posix/wordexp-test.c (do_bz18043): Add test case.
22815 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22817         * time/tst-strptime2.c (do_test): Ensure failing tests are
22818         reported correctly.
22819         * time/tst-strptime3.c (do_test): Likewise.
22821 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22823         Fix aio_error thread-safety.
22824         * sysdeps/pthread/aio_error.c: New file
22825         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22826         synchronization.
22828 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22830         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22831         (group_number, vfprintf): Use it.
22832         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22833         (JUMP, REF): Use it.
22834         (WORK_BUFFER_SIZE): New enum constant.
22835         (process_arg, vfprintf): Use it.
22837 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22839         * manual/errno.texi (Error Messages): Complete example function
22840         by adding missing #define.
22841         (program_invocation_name): Add statement indicating GNU
22842         extension and reference which header file declares the variable.
22843         (program_invocation_short_name): Likewise.
22845 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22847         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22848         compatibility note.
22850 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22852         * Makeconfig (test-wrapper-env-only): New variable.
22853         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22854         then use that with $(test-wrapper-env-only) rather than using
22855         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22857 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22859         [BZ #18082]
22860         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22861         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22862         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22863         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22864         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22865         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22866         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22867         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22868         Likewise.
22869         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22870         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22871         Likewise.
22872         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22873         Likewise.
22874         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22875         Likewise.
22876         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22877         Likewise.
22878         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22879         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22880         Likewise.
22881         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22882         Likewise.
22883         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22884         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22886 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22888         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22889         (ETH_ALEN): New macro.
22890         (struct ether_addr): Use it for length of ether_addr_octet.
22892         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22893         (setdb): Don't call __nss_configure_lookup for "rpc".
22894         (do_test): Don't call test_rpc.
22895         (output_rpcent, test_rpc): Functions moved ...
22896         * sunrpc/test-rpcent.c: ... to this new file.
22897         * sunrpc/Makefile (tests): Add it.
22899         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22900         __xpg_sigpause.
22901         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22902         * nptl/tst-signal6.c: Likewise.
22903         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22904         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22906         * configure.ac (libc_cv_cxx_link_ok): New check.
22907         Reset CXX to empty if it fails to link.
22908         * configure: Regenerated.
22909         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22910         bug-atexit3-lib only if $(CXX) is nonempty.
22911         * nptl/Makefile (tests): Likewise for tst-cancel24.
22912         (tests, tests-static): Likewise for tst-cancel24-static.
22913         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22914         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22915         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22916         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22918 2015-03-04  Andreas Schwab  <schwab@suse.de>
22920         [BZ #17631]
22921         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22922         for non-GCC compilers.
22923         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22924         Likewise.
22926 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22928         [BZ #17776]
22929         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22930         integer before bitwise and assembly operations.
22931         (feclearexcept): Likewise.
22932         * math/test-fenvinline.c: New file.
22933         * math/Makefile: Add test-fenvinline test.
22935 2015-03-03  Alan Modra  <amodra@gmail.com>
22937         [BZ #16512]
22938         * scripts/localplt.awk: Strip off symbol version.
22939         * NEWS: Mention bug fix.
22941 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22943         * sysdeps/pthread/timer_routines.c
22944         (timer_free_list, thread_free_list, thread_active_list): Make static.
22946 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22948         [BZ #17779]
22949         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22950         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22951         Undefine.
22952         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22953         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22954         Likewise.
22955         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22956         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22957         Likewise.
22959 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22961         [BZ #18036]
22962         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22963         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22965 2015-03-02  Andreas Schwab  <schwab@suse.de>
22967         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22968         variable name.
22970 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22972         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22973         Return error status.
22975 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22977         [BZ #15969]
22978         * locale/findlocale.c (_nl_find_locale): Introduce const
22979         version of loc_name and drop unsafe type casts.
22981 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22983         * dlfcn/tststatic2.c (main): Converted to ...
22984         (do_test): ... this.
22985         (TEST_FUNCTION): New macro.
22986         Include test-skeleton.c.
22988 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22990         [BZ #17711]
22991         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22992         (tests-pie): Add vismain.
22993         (CFLAGS-vismain.c): New.
22994         * elf/vismain.c: Add comments for PIE requirement.
22996 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22998         [BZ #18046]
22999         [BZ #18047]
23000         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23001         0x1p-56L as threshold for just returning the argument.
23002         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23003         0x1p-32L as threshold for just returning the argument.
23004         * math/auto-libm-test-in: Add more tests of atanh.
23005         * math/auto-libm-test-out: Regenerated.
23006         * sysdeps/i386/fpu/libm-test-ulps: Update.
23007         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23009 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23011         * string/bcopy.c (bcopy): Call memmove for performance.
23013 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23015         * string/bzero.c (__bzero): Call memset for performance.
23017 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23019         [BZ #18068]
23020         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23021         to 00100000.
23023 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23025         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23027 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23029         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23030         (__kernel_standard): Use CSTR macro when setting exc.name.
23031         * sysdeps/ieee754/Makefile [$(subdir) = math]
23032         (CFLAGS-k_standard.c): Remove variable.
23034         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23035         setting p and q from "else if" to "else".
23036         (qzero): Likewise.
23037         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23038         (qone): Likewise.
23039         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23040         (qzerof): Likewise.
23041         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23042         (qonef): Likewise.
23043         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23044         (qzero): Likewise.
23045         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23046         (qone): Likewise.
23048         [BZ #18038]
23049         [BZ #18039]
23050         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23051         return pi/2 for arguments below 0x1p-113L.
23052         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23053         return pi/2 for arguments below 0x1p-106L.
23054         * math/auto-libm-test-in: Add more tests of acos.
23055         * math/auto-libm-test-out: Regenerated.
23057         [BZ #16351]
23058         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23059         (MO): New macro.
23060         (__ieee754_asin): Force underflow exception for results with small
23061         absolute value.
23062         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23063         (MO): New macro.
23064         (__ieee754_asinf): Force underflow exception for results with
23065         small absolute value.
23066         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23067         (__ieee754_asin): Force underflow exception for results with small
23068         absolute value.
23069         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23070         (__ieee754_asinf): Force underflow exception for results with
23071         small absolute value.
23072         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23073         (__ieee754_asinl): Force underflow exception for results with
23074         small absolute value.
23075         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23076         (__ieee754_asinl): Force underflow exception for results with
23077         small absolute value.
23078         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23079         (__ieee754_asinl): Force underflow exception for results with
23080         small absolute value.
23081         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23082         Include <math.h>.
23083         * math/auto-libm-test-in: Do not mark underflow exceptions as
23084         possibly missing for bug 16351.
23085         * math/auto-libm-test-out: Regenerated.
23087         [BZ #18030]
23088         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23089         of power of 2 down when low part has opposite sign.
23090         * math/libm-test.inc (logb_test_data): Add more tests.
23092 2015-02-26  Andreas Schwab  <schwab@suse.de>
23094         [BZ #18032]
23095         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23096         over collating symbol inside a bracket expression.  Minor cleanup.
23097         * posix/tst-fnmatch3.c (do_test): Add test case.
23099 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23101         [BZ #18029]
23102         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23103         Adjust exponent of power of 2 down when low part has opposite
23104         sign.
23105         * math/libm-test.inc (ilogb_test_data): Add more tests.
23107 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23109         [BZ #15969]
23110         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23111         the previous change.
23113         [BZ #15969]
23114         * locale/findlocale.c (_nl_find_locale): Retry archive search
23115         after alias expansion.
23117 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23119         * iconv/tst-iconv3.c (main): Converted to ...
23120         (do_test): ... this.
23121         (TEST_FUNCTION): New macro.
23122         Include test-skeleton.c.
23124         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23125         (convert): Make function static.
23126         (test_unalign): Likewise.  Add const to argument pointee types.
23127         (main): Replace with static function do_test.
23128         Print "Succeeded." only if RET is zero.
23129         (TEST_FUNCTION): New macro.
23130         Include test-skeleton.c.
23132         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23133         returns a null pointer.
23135 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23137         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23138         to __memcpy_ppc only for static builds.
23140 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23142         [BZ #18020]
23143         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23144         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23145         * math/auto-libm-test-in: Add more tests of asinh.
23146         * math/auto-libm-test-out: Regenerated.
23147         * sysdeps/i386/fpu/libm-test-ulps: Update.
23148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23150 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23152         [BZ #15850]
23153         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23154         and ip6_mtuinfo definitions here.
23155         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23156         in this define too.  Update comment.
23158 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23160         * elf/sprof.c (load_shobj): Tweak error message to match others.
23162 2015-02-24  Kevin Easton  <kevin@guarana.org>
23164         [BZ #16145] (partial fix)
23165         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23166         to reduce lock contention.
23168 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23170         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23171         (struct timex): Update time comment.
23172         (ADJ_SETOFFSET): Define.
23174 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23176         [BZ #18019]
23177         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23178         2**56 not 2**28 as threshold for log (2x) formula.
23179         * math/auto-libm-test-in: Add more tests of acosh.
23180         * math/auto-libm-test-out: Regenerated.
23181         * sysdeps/i386/fpu/libm-test-ulps: Update.
23182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23184 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23186         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23187         parenthesis around the buf assignment.
23188         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23190 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23192         [BZ #16783]
23193         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23194         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23195         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23196         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23197         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23198         * math/libm-test.inc (scalb_test_data): Add more tests.
23200 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23202         [BZ #17916]
23203         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23204         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23206 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23208         [BZ #17523]
23209         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23210         * io/bits/fcntl2.h (open): Use it.
23211         (openat): Likewise.
23212         * io/open.c (__libc_open): Likewise.
23213         * io/open64.c (__libc_open64): Likewise.
23214         * io/open64_2.c (__open64_2): Likewise.
23215         * io/open_2.c (__open_2): Likewise.
23216         * io/openat.c (__openat): Likewise.
23217         * io/openat64.c (__openat64): Likewise.
23218         * io/openat64_2.c (__openat64_2): Likewise.
23219         * io/openat_2.c (__openat_2): Likewise.
23220         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23221         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23222         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23223         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23224         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23225         (__open_nocancel): Likewise.
23226         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23227         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23228         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23230 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23232         [BZ #14841]
23233         * resolv/gethnamaddr.c (getanswer): Skip logging if
23234         RES_USE_DNSSEC is set.
23235         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23237 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23239         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23241 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23243         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23244         201304L, for Unicode 7.
23246 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23248         [BZ #17836]
23249         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23250         shared library.  Add gmon-start.os otherwise.
23251         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23252         $(objpfx)gmon-start.os if builing shared library.
23253         ($(objpfx)g$(static-start-installed-name)): Likewise.
23255 2015-02-23  Andreas Schwab  <schwab@suse.de>
23257         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23259 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23261         [BZ #17269]
23262         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23263         (enlarge_userbuf): Likewise.
23265 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23267         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23268         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23269         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23270         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23272 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23274         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23275         expression inside statement expression.
23277 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23279         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23280         <sysdeps/nptl/lowlevellock.h> and remove macros and
23281         functions that are now defined there.
23282         (SYS_futex): Remove.
23283         (lll_compare_and_swap): Remove.
23284         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23286 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23288         [BZ #17999]
23289         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23290         instead of scandirat.
23291         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23292         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23293         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23294         __scandirat.
23295         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23296         (__scandirat): Declare.  Use libc_hidden_proto.
23297         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23298         Remove variable.
23299         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23301 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23303         [BZ #15319]
23304         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23305         (MO): New macro.
23306         (__ieee754_atan2): For results with small absolute value, force
23307         underflow exception and remove excess range and precision from
23308         return value.
23309         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23310         (MO): New macro.
23311         (__ieee754_atan2f): For results with small absolute value, force
23312         underflow exception and remove excess range and precision from
23313         return value.
23314         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23315         (MO): New macro.
23316         (__atan): For results with small absolute value, force underflow
23317         exception and remove excess range and precision from return value.
23318         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23319         (MO): New macro.
23320         (__atanf): For results with small absolute value, force underflow
23321         exception and remove excess range and precision from return value.
23322         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23323         <math.h>.
23324         (__ieee754_atan2): Force underflow exception for results with
23325         small absolute value.
23326         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23327         <math_private.h>.
23328         (atan): Force underflow exception for results with small absolute
23329         value.
23330         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23331         (__atanf): Force underflow exception for results with small
23332         absolute value.
23333         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23334         <math.h>.
23335         (__atanl): Force underflow exception for results with small
23336         absolute value.
23337         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23338         (__atanl): Force underflow exception for results with small
23339         absolute value.
23340         * sysdeps/x86/fpu/bits/mathinline.h
23341         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23342         (__ieee754_atan2): Only define inline for long double.
23343         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23344         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23345         * math/auto-libm-test-in: Do not mark underflow exceptions as
23346         possibly missing for bug 15319.  Add more tests of atan2.
23347         * math/auto-libm-test-out: Regenerated.
23348         * math/libm-test.inc (casin_test_data): Do not mark underflow
23349         exceptions as possibly missing for bug 15319.
23350         (casinh_test_data): Likewise.
23351         * sysdeps/i386/fpu/libm-test-ulps: Update.
23353 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23355         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23356         * sysdeps/mips/bits/endian.h: Fix comments.
23358 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23360         [BZ #17996]
23361         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23362         (hdestroy_r): Likewise.
23363         (hsearch_r): Likewise.
23364         (__hcreate_r): Declare and use libc_hidden_proto.
23365         (__hdestroy_r): Likewise.
23366         (__hsearch_r): Likewise.
23367         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23368         (hcreate): Call __hcreate_r instead of hcreate_r.
23369         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23370         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23371         as weak alias of __hcreate_r.
23372         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23373         __hdestroy_r.
23374         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23375         __hsearch_r.
23376         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23377         Remove variable.
23378         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23379         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23380         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23381         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23383 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23385         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23386         arena_lock into a single arena_get.
23388 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23390         * dl-reloc.c: Inlucde libc-internal.h.
23391         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23392         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23393         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23394         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23395         (grow_heap): Likewise.
23396         * malloc/malloc.c: Include libc-internal.h.
23397         (do_check_malloc): Call powerof2.
23398         (sysmalloc): Use pagesize. Call ALIGN_UP.
23399         (systrim): Use pagesize.
23400         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23401         (__libc_valloc): Use pagesize.
23402         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23404 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23406         [BZ #17991]
23407         * include/sys/resource.h (__getrlimit64): Declare.  Use
23408         libc_hidden_proto.
23409         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23410         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23411         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23412         getrlimit64.
23413         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23414         __getrlimit64.
23415         [!getrlimit64] (getrlimit64): Define as weak alias of
23416         __getrlimit64.  Use libc_hidden_weak.
23417         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23418         using __getrlimit64 not __new_getrlimit64.
23419         (__GI_getrlimit64): Likewise.
23420         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23421         Likewise.
23422         (__GI_getrlimit64): Likewise.
23423         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23425         (getrlimit): Add __getrlimit64 alias.
23426         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23427         Likewise.
23428         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23429         Remove variable.
23430         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23431         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23433 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23435         * libio/fileops.c: Add missing sys/mman.h
23436         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23438 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23440         * manual/math.texi (Errors in Math Functions): Clarify goals
23441         regarding inexact and underflow exceptions.
23443 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23445         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23446         * sysdeps/mips/memset.S: Ditto.
23448 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23450         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23452 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23454         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23455         (__v1longjmp): Remove versioned symbol.
23456         (__v1siglongjmp): Remove alias and versioned symbol.
23457         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23458         (__v2siglongjmp): Likewise.
23460 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23462         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23464 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23466         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23468 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23470         [BZ #17987]
23471         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23472         zero result does not depend on the sign resulting from
23473         subtraction.
23474         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23475         Likewise.
23476         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23477         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23478         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23479         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23480         * math/libm-test.inc (remquo_test_data): Add more tests.
23482 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23484         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23485         Problem reported by J William Piggott.
23487 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23489         [BZ #17978]
23490         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23491         products 4 * y and 2 * y where those would overflow.
23492         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23493         Likewise.
23494         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23495         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23496         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23497         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23498         * math/libm-test.inc (remquo_test_data): Add more tests.
23500         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23502         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23503         [defined _COMPILING_NEWLIB].
23504         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23505         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23507         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23508         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23510 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23512         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23513         acquired.
23515 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23517         [BZ #17792]
23518         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23519         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23520         HOST_STACK_END_ADDR): Likewise.
23522 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23524         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23525         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23526         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23528 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23530         * sysdeps/generic/c++-types.data: New file.
23531         * sysdeps/generic/ld.abilist: New file.
23532         * sysdeps/generic/libBrokenLocale.abilist: New file.
23533         * sysdeps/generic/libanl.abilist: New file.
23534         * sysdeps/generic/libc.abilist: New file.
23535         * sysdeps/generic/libcrypt.abilist: New file.
23536         * sysdeps/generic/libdl.abilist: New file.
23537         * sysdeps/generic/libm.abilist: New file.
23538         * sysdeps/generic/libpthread.abilist: New file.
23539         * sysdeps/generic/libresolv.abilist: New file.
23540         * sysdeps/generic/librt.abilist: New file.
23542 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23544         [BZ #17569]
23545         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23546         Compute absolute value of x as modified by fmod, not original
23547         value of x.
23548         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23549         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23550         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23551         RUN_TEST_ffI_f1_mod8.
23552         (remquo_test_data): Add more tests.
23554 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23556         * sysdeps/init_array/pt-crti.S: New file.
23558 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23560         [BZ #17967]
23561         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23562         __builtin_fmaf instead of relying on contraction of a * b + c.
23564 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23566         [BZ #17969]
23567         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23568         node.
23570 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23572         [BZ #17964]
23573         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23574         __builtin_fma instead of relying on contraction of a * b + c.
23576 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23578         * Makeconfig (ASFLAGS): Add -Werror=undef.
23579         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23580         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23581         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23583         * Makeconfig (after-link): New variable.
23584         (+link-pie, +link-pie-tests): Use it.
23585         (+link-static, +link-static-tests): Likewise.
23586         (+link, +link-tests): Likewise.
23587         * Makerules (build-module, build-module-asneeded): Likewise.
23588         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23589         Likewise.
23590         * elf/Makefile ($(objpfx)ld.so): Likewise.
23592 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23594         [BZ #17965]
23595         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23596         both struct timeval and struct timespec.
23598 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23600         [BZ #16560]
23601         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23602         and redefine.
23603         (__ieee754_exp2l): Do not multiply small fractional parts by
23604         M_LN2l.
23605         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23606         small argument.
23607         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23608         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23609         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23610         * math/auto-libm-test-in: Add more tests of exp2.
23611         * math/auto-libm-test-out: Regenerated.
23613 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23615         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23616         unaligned path.
23618 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23620         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23621         little endian.
23623 2015-02-12  Andreas Schwab  <schwab@suse.de>
23625         [BZ #15790]
23626         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23627         Filter out elision flags from value returned in kind.
23628         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23629         * nptl/tst-pthread-mutexattr.c: New file.
23631 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23633         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23634         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23635         into gnu-gnu, and update comment to refer to abi-tags.
23637 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23639         [BZ #15467]
23640         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23641         (__sincos): Set errno to EDOM for infinite argument.
23642         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23643         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23644         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23645         (__sincosl): Set errno to EDOM for infinite argument.
23646         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23647         (__sincosl): Set errno to EDOM for infinite argument.
23648         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23649         (__sincosl): Set errno to EDOM for infinite argument.
23650         * math/libm-test.inc (sincos_test_data): Test errno setting.
23652 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23654         * string/strxfrm_l.c: Remove #define STRCMP.
23655         * string/strcoll_l.c: Remove #define STRLEN.
23656         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23657         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23659 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23661         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23662         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23663         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23664         * sysdeps/mips/mips64/Makefile: ... here.
23665         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23666         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23667         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23668         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23669         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23670         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23671         * sysdeps/mips/mips64/n64/Implies: Likewise.
23673 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23675         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23676         <sys/time.h>, <string.h>, and <errno.h>.
23677         (dest_offset, dest_address, value, zero): Remove unused variables.
23678         (ldouble): Remove typedef.
23679         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23680         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23681         1).  Fix code style.
23682         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23683         (check): Function removed.
23684         (CHECK): New macro.
23685         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23686         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23687         Don't call set_sigaction_FP and remove_sigaction_FP here.
23688         (ldouble_test): Just use 'long double' as macro argument, no need for
23689         the 'ldouble' typedef.
23690         (do_test): Set up SIGFPE handler at start, using plain signal rather
23691         than sigaction.  Fix code style.
23693 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23695         [BZ #17949]
23696         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23697         jump label.
23699 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23701         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23702         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23704         * sysdeps/powerpc/configure.ac: Remove file.
23705         * sysdeps/powerpc/configure: Likewise.
23707         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23708         [sysdep_routines]: Remove wordcopy-power6 object.
23709         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23710         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23711         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23712         (__memmove_ppc32): Likewise.
23713         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23714         file.
23715         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23716         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23717         Remove preprocessor.
23719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23720         [sysdep_routines]: Remove wide chars objects.
23721         [wcsmbs]: New rule for wide char objects.
23723         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23724         Remove wordcopy-power6 obejct.
23725         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23726         Use local call for wordcopy and memcpy symbols.
23727         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23728         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23729         implementation for loader.
23730         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23732         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23733         Remove wordcopy-power7 object.
23734         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23735         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23736         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23737         (_wordcopy_fwd_dest_aligned): Likewise.
23738         (_wordcopy_bwd_aligned): Likewise.
23739         (_wordcopy_bwd_dest_aligned): Likewise.
23741         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23742         Rewrite to call __memmove_ppc instead of include default
23743         implementation.
23745         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23746         Remove wide chars objects.
23747         [wcsmbs]: New rule for wide char objects.
23749 2015-02-09  Andreas Schwab  <schwab@suse.de>
23751         [BZ #17912]
23752         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23753         in terms of __O_DIRECTORY.
23755 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23757         * time/getdate.c: Include <stdbool.h>.
23758         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23759         call PTR_MANGLE.
23760         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23761         PTR_DEMANGLE.
23763 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23765         Add ersatz _Static_assert on older C hosts
23766         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23767         pre-C11 C platform that is not known to support _Static_assert.
23769 2015-02-07  Richard Braun  <rbraun@sceen.net>
23771         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23772         sigstate.
23773         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23775 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23777         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23778         priority against unexistent AIO_PRIO_DELTA_MAX.
23779         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23780         instead of int.
23781         * misc/fchflags.c (fchflags): Likewise.
23782         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23783         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23784         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23785         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23786         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23787         Declare macros.
23788         [__USE_MISC] (chflags, fchflags): Declare functions.
23789         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23790         EINVAL when nfds is greater than FD_SETSIZE.
23791         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23792         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23793         45.
23794         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23795         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23796         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23797         MACH_RCV_TIMED_OUT.
23798         * hurd/hurd/signal.h (_hurd_self_sigstate,
23799         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23800         Explicit casts from void *.
23801         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23802         * abi-tags: Rename gnu-gnu os into gnu.
23804         [BZ #4719]
23805         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23806         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23807         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23808         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23809         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23810         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23812         [BZ #17944]
23813         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23814         duplicates ADDR->sun_path with sockaddr LEN limitation.
23815         * sysdeps/mach/hurd/connect.c: Include <string.h>
23816         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23817         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23818         * sysdeps/mach/hurd/sendto.c: Likewise.
23819         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23820         implementing it by hand.
23822 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23824         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23825         Use sfi_breg on ldr.
23826         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23827         Likewise.
23829         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23830         it's defined.
23831         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23832         Test SIGSETXID only if it's defined.
23834         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23836         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23837         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23839         * nptl/tst-align2.c: Moved ...
23840         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23841         * nptl/Makefile (tests): Remove tst-align2.
23842         * sysdeps/unix/sysv/linux/Makefile
23843         [$(subdir) = nptl] (tests): Add tst-align-clone.
23844         * nptl/tst-getpid1.c: Moved ...
23845         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23846         * nptl/tst-getpid2.c: Moved ...
23847         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23848         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23849         * sysdeps/unix/sysv/linux/Makefile
23850         [$(subdir) = nptl] (tests): ... here.
23851         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23852         * sysdeps/unix/sysv/linux/Makefile
23853         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23855         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23856         Drop trailing \n from perror argument.  Use return rather than exit.
23858         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23859         on [SA_SIGINFO].
23860         * nptl/tst-cancel21.c (do_test): Likewise.
23861         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23862         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23863         [!SA_SIGINFO]: Make it a stub test.
23865         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23866         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23868         * posix/tst-getlogin.c: Move to ...
23869         * login/tst-getlogin.c: ... here.
23870         * posix/Makefile (tests): Move tst-getlogin to ...
23871         * login/Makefile (tests): ... here.
23873         * libio/tst-atime.c (do_test): Move local variables SV and E
23874         inside [ST_NOATIME] conditional.
23876         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23878         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23880         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23881         (wait_code): New function replaces macro.
23882         Call nanosleep rather than syscall.
23884         * nptl/pt-system.c: Rewritten.  Put everything under
23885         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23886         Use IFUNC to redirect when possible.
23888         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23889         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23890         Use IFUNC to redirect when possible.
23892         * nptl/pt-fork.c: Rewritten.  Put everything under
23893         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23894         Use IFUNC to redirect when possible.
23895         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23897         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23898         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23899         unconditionally nowadays.  This included the only reference to
23900         __vdso_clock_gettime that appears outside libc proper.
23901         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23902         Remove version set (containing only __vdso_clock_gettime).
23903         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23904         Add attribute_hidden.
23905         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23906         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23907         libc_hidden_data_def.
23908         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23909         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23911         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23912         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23913         setrpcent, and getrpcport to ...
23914         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23915         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23916         getrpcbynumber_r, and getrpcent_r to ...
23917         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23918         * inet/getrpcbyname.c: Moved ...
23919         * sunrpc/getrpcbyname.c: ... here.
23920         * inet/getrpcbyname_r.c: Moved ...
23921         * sunrpc/getrpcbyname_r.c: ... here.
23922         * inet/getrpcbynumber.c: Moved ...
23923         * sunrpc/getrpcbynumber.c: ... here.
23924         * inet/getrpcbynumber_r.c: Moved ...
23925         * sunrpc/getrpcbynumber_r.c: ... here.
23926         * inet/getrpcent.c: Moved ...
23927         * sunrpc/getrpcent.c: ... here.
23928         * inet/getrpcent_r.c: Moved ...
23929         * sunrpc/getrpcent_r.c: ... here.
23930         * inet/Makefile (routines): Move those to ...
23931         * sunrpc/Makefile (routines): ... here.
23932         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23933         the $(subdirs) list.
23934         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23935         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23936         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23937         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23939         * elf/Makefile (routines): Include $(all-dl-routines), not just
23940         $(dl-routines).
23941         (rtld-routines): Likewise.  Use = rather than :=.
23942         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23943         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23944         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23945         * sysdeps/arm/Makefile: Likewise.
23946         * sysdeps/i386/Makefile: Likewise.
23947         * sysdeps/x86_64/Makefile: Likewise.
23948         * sysdeps/hppa/Makefile [$(subdir) = elf]
23949         (sysdep_routines, sysdep-rtld-routines): Don't add
23950         $(sysdep-dl-routines) to these.
23951         * sysdeps/ia64/Makefile: Likewise.
23952         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23953         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23954         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23955         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23956         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23957         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23958         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23959         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23960         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23961         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23962         these; sysdep-dl-routines alone is enough.
23964 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23966         [BZ #17932]
23967         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23968         where multiplication results in zero and third argument is finite
23969         and nonzero.
23970         * math/auto-libm-test-in: Add more tests of fma.
23971         * math/auto-libm-test-out: Regenerated.
23973         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23974         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23975         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23976         (_FP_CMP_EQ): Likewise.
23977         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23979         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23980         extra argument CHECK_NAN.  Redefine as wrapper around
23981         _FP_EXTEND_CNAN.
23983 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23985         * version.h (RELEASE): Set to "stable".
23986         (VERSION): Set to "2.21"
23987         * include/features.h (__GLIBC_MINOR__): Set to 21.
23989         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23991 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23992             Paul Eggert  <eggert@cs.ucla.edu>
23994         [BZ #16618]
23995         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23996         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23997         size in bytes. Store needed elements in wpmax. Use needed size
23998         in bytes for extend_alloca.
24000 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24002         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24003         binutls 2.25, and texinfo 5.2.
24004         * INSTALL: Regenerate.
24005         * sysdeps/nios2/configure: Regenerate.
24006         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24007         * manual/contrib.texi: Update.
24008         * po/be.po: Update.
24009         * po/bg.po: Update.
24010         * po/ca.po: Update.
24011         * po/cs.po: Update.
24012         * po/da.po: Update.
24013         * po/de.po: Update.
24014         * po/el.po: Update.
24015         * po/eo.po: Update.
24016         * po/es.po: Update.
24017         * po/fi.po: Update.
24018         * po/fr.po: Update.
24019         * po/gl.po: Update.
24020         * po/hr.po: Update.
24021         * po/hu.po: Update.
24022         * po/ia.po: Update.
24023         * po/id.po: Update.
24024         * po/it.po: Update.
24025         * po/ja.po: Update.
24026         * po/ko.po: Update.
24027         * po/lt.po: Update.
24028         * po/nb.po: Update.
24029         * po/nl.po: Update.
24030         * po/pl.po: Update.
24031         * po/pt_BR.po: Update.
24032         * po/ru.po: Update.
24033         * po/rw.po: Update.
24034         * po/sk.po: Update.
24035         * po/sl.po: Update.
24036         * po/sv.po: Update.
24037         * po/tr.po: Update.
24038         * po/uk.po: Update.
24039         * po/vi.po: Update.
24040         * po/zh_CN.po: Update.
24041         * po/zh_TW.po: Update.
24043         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24044         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24045         * sysdeps/hppa/dl-irel.h: Remove #warning.
24046         * sysdeps/hppa/entry.h: Provide prototype for
24047         __canonicalize_funcptr_for_compare and cast argument.
24048         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24049         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24050         * sysdeps/hppa/sotruss-lib.c: New file.
24051         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24052         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24053         (atomic_compare_and_exchange_bool_acq): Likewise.
24054         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24055         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24057         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24058         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24059         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24061 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24063         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24064         called function in non-PIC case.
24066 2015-01-31  David S. Miller  <davem@davemloft.net>
24068         * sysdeps/sparc/sparc32/bits/atomic.h
24069         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24070         unlock not after it.
24071         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24072         volatile register usage warnings from the compiler.
24074         * sysdeps/sparc/nptl/sem_init.c: Delete.
24075         * sysdeps/sparc/nptl/sem_post.c: Delete.
24076         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24077         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24078         * sysdeps/sparc/sparc32/sem_init.c: New file.
24079         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24080         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24081         padding explicitly initialized.
24082         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24083         padding for in-semaphore spinlock.
24084         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24085         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24086         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24087         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24088         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24089         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24090         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24091         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24092         version.
24093         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24094         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24096 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24098         [BZ #17801]
24099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24100         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24101         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24102         New.
24103         (index_AVX_Fast_Unaligned_Load): Likewise.
24104         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24105         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24106         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24107         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24108         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24109         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24110         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24111         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24112         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24114 2015-01-29  Andreas Schwab  <schwab@suse.de>
24116         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24118 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24120         [BZ #17892]
24121         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24123 2015-01-28  Martin Sebor  <msebor@redhat.com>
24125         * math/README.libm-test: Clarify. Add "How to read the test output."
24127 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24129         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24130         Define to 0.
24132 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24134         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24135         (__HAVE_64B_ATOMICS): Define to 0.
24137 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24139         [BZ #17885]
24140         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24141         value to set as new flag.
24143         [BZ #16576]
24144         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24145         and use _ARCH_PPCSQ instead.
24146         (__ieee754_sqrt): Likewise.
24147         (__ieee754_sqrtf): Likewise.
24148         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24149         _ARCH_PPCSQ is defined.
24150         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24151         fsqrt instruction.
24152         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24153         _ARCH_PPCSQ is defined.
24154         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24155         fsqrts instruction.
24156         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24158 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24160         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24161         bug (GCC BZ #64739).
24163 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24165         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24166         Mark _retval as used.
24167         (lll_futex_wake_unlock): Likewise.
24168         (lll_futex_timed_wait_requeue_pi): Likewise.
24170         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24171         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24172         register variables.
24174         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24175         libm_hidden_def.
24177         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24178         (__bswap_64): Mark as __always_inline.
24180 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24182         [BZ #15378]
24183         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24184         when none of the search directories exist.
24186 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24188         [BZ #17869]
24189         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24190         power8 in .machine directive.
24192         [BZ #17868]
24193         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24194         set dependency from opd value.
24196 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24199         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24200         architecture.
24202 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24204         [BZ #17870]
24205         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24206         with uint64_t.
24207         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24208         (uint64_t) 1.
24209         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24210         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24211         Replace 1UL with (uint64_t) 1.
24212         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24213         int with uint64_t.
24215 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24217         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24218         (if_freenameindex): Likewise.
24220         * resource/getrlimit64.c: Add missing libc_hidden_def.
24222 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24224         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24225         __label__.
24226         (_FP_FMA): Likewise.
24227         (_FP_TO_INT_ROUND): Likewise.
24228         (_FP_FROM_INT): Likewise.
24230 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24232         [BZ #16418]
24233         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24234         Make code racy and cancel safe.
24236 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24238         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24239         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24240         attribution.
24242         * pwd/tst-getpw.c: Rewrite.
24244         [BZ #17702]
24245         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24246         (modules-names): Add moddummy1 and moddummy2.
24247         ($(objpfx)tst-rec-dlopen): Define.
24248         * dlfcn/moddummy1.c: New file.
24249         * dlfcn/moddummy2.c: New file.
24250         * dlfcn/tst-rec-dlopen.c: New file.
24251         * elf/dl-cache.c (_dl_load_cache_lookup):
24252         Return char*. Copy result with alloca/strcpy/strdup.
24253         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24254         returns char*. Free cached. If not saving realname
24255         free cached.
24256         * elf/dl-open.c (dl_open_worker): Do not assert that
24257         _r_debug->r_state is RT_CONSISTENT.
24258         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24259         returns char*.
24261 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24262             Carlos O'Donell  <carlos@redhat.com>
24264         [BZ #12674]
24265         * nptl/sem_waitcommon.c: New file.
24266         * nptl/sem_wait.c: Include sem_waitcommon.c.
24267         (__sem_wait_cleanup, do_futex_wait): Remove.
24268         (__new_sem_wait): Adapt.
24269         (__new_sem_trywait): New function.
24270         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24271         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24272         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24273         (sem_timedwait): Adapt.
24274         * nptl/sem_post.c (__new_sem_post): Adapt.
24275         (futex_wake): New function.
24276         (__old_sem_post): Add release MO fence.
24277         * nptl/sem_open.c (sem_open): Adapt.
24278         * nptl/sem_init.c (__new_sem_init): Adapt.
24279         (futex_private_if_supported): New function.
24280         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24281         (__old_sem_getvalue): Add using previous code.
24282         * sysdeps/nptl/internaltypes.h: Adapt.
24283         * nptl/tst-sem13.c (do_test): Adapt.
24284         * nptl/tst-sem11.c (main): Adapt.
24285         * nptl/sem_trywait.c: Remove.
24286         * nptl/DESIGN-sem.txt: Remove.
24287         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24288         (gen-as-const-headers): Remove structsem.sym.
24289         * nptl/structsem.sym: Remove.
24290         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24291         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24292         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24293         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24294         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24295         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24296         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24297         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24298         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24299         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24300         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24301         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24302         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24303         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24304         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24305         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24306         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24307         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24308         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24309         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24310         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24311         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24313 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24315         * INSTALL: Regenerated.
24317         * po/libc.pot: Regenerated.
24319 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24320             Sandra Loosemore  <sandra@codesourcery.com>
24321             Andrew Jenner  <andrew@codesourcery.com>
24322             Joseph Myers  <joseph@codesourcery.com>
24323             Nathan Sidwell  <nathan@codesourcery.com>
24325         * NEWS: Mention new Nios II port.
24326         * sysdeps/nios2/Implies: New file.
24327         * sysdeps/nios2/Makefile: New file.
24328         * sysdeps/nios2/Subdirs: New file.
24329         * sysdeps/nios2/Versions: New file.
24330         * sysdeps/nios2/__longjmp.S: New file.
24331         * sysdeps/nios2/abort-instr.h: New file.
24332         * sysdeps/nios2/backtrace.c: New file.
24333         * sysdeps/nios2/bits/endian.h: New file.
24334         * sysdeps/nios2/bits/fenv.h: New file.
24335         * sysdeps/nios2/bits/link.h: New file.
24336         * sysdeps/nios2/bits/setjmp.h: New file.
24337         * sysdeps/nios2/bsd-_setjmp.S: New file.
24338         * sysdeps/nios2/bsd-setjmp.S: New file.
24339         * sysdeps/nios2/configure: New generated file.
24340         * sysdeps/nios2/configure.ac: New file.
24341         * sysdeps/nios2/crti.S: New file.
24342         * sysdeps/nios2/crtn.S: New file.
24343         * sysdeps/nios2/dl-init.c: New file.
24344         * sysdeps/nios2/dl-machine.h: New file.
24345         * sysdeps/nios2/dl-sysdep.h: New file.
24346         * sysdeps/nios2/dl-tls.h: New file.
24347         * sysdeps/nios2/dl-trampoline.S: New file.
24348         * sysdeps/nios2/gccframe.h: New file.
24349         * sysdeps/nios2/gmp-mparam.h: New file.
24350         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24351         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24352         * sysdeps/nios2/ldsodefs.h: New file.
24353         * sysdeps/nios2/libc-tls.c: New file.
24354         * sysdeps/nios2/libm-test-ulps: New file.
24355         * sysdeps/nios2/machine-gmon.h: New file.
24356         * sysdeps/nios2/math-tests.h: New file.
24357         * sysdeps/nios2/math_private.h: New file.
24358         * sysdeps/nios2/memusage.h: New file.
24359         * sysdeps/nios2/nptl/Makefile: New file.
24360         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24361         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24362         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24363         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24364         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24365         * sysdeps/nios2/nptl/tls.h: New file.
24366         * sysdeps/nios2/preconfigure: New file.
24367         * sysdeps/nios2/s_fma.c: New file.
24368         * sysdeps/nios2/s_fmaf.c: New file.
24369         * sysdeps/nios2/setjmp.S: New file.
24370         * sysdeps/nios2/sfp-machine.h: New file.
24371         * sysdeps/nios2/sotruss-lib.c: New file.
24372         * sysdeps/nios2/stackguard-macros.h: New file.
24373         * sysdeps/nios2/stackinfo.h: New file.
24374         * sysdeps/nios2/start.S: New file.
24375         * sysdeps/nios2/sysdep.h: New file.
24376         * sysdeps/nios2/tls-macros.h: New file.
24377         * sysdeps/nios2/tst-audit.h: New file.
24378         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24379         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24380         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24381         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24382         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24383         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24384         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24385         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24386         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24387         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24388         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24389         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24390         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24391         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24392         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24393         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24394         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24395         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24396         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24397         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24398         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24399         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24400         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24401         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24402         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24403         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24404         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24405         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24406         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24407         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24408         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24409         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24410         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24411         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24412         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24413         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24414         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24415         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24416         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24417         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24418         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24419         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24420         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24421         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24423 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24425         [BZ #17844]
24426         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24427         (getutent): Use weak_alias in non SHARED case
24428         and default_symbol_version in SHARED case.
24429         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24430         (getutent_r, pututline): Likewise.
24431         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24432         (getutid): Likewise.
24433         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24434         (getutid_r): Likewise.
24435         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24436         (getutline): Likewise.
24437         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24438         (getutline_r): Likewise.
24439         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24440         (updwtmp): Likewise.
24442 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24444         [BZ #17848]
24445         * sysdeps/s390/s390-32/memcmp.S
24446         (memcmp_g5): Rename to __memcmp_g5.
24447         * sysdeps/s390/s390-32/memcpy.S
24448         (memcpy_g5): Rename to __memcpy_g5.
24449         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24450         (memcpy_mvcle) Rename to __memcpy_mvcle.
24451         * sysdeps/s390/s390-32/memset.S
24452         (memset_g5): Rename to __memset_g5.
24453         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24454         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24455         and use prefixed functions.
24456         * sysdeps/s390/s390-32/multiarch/memcmp.S
24457         (memcmp_z196): Rename to __memcmp_z196.
24458         (memcmp_z10): Rename to __memcmp_z10.
24459         (memcmp): Set alias to __memcmp_g5.
24460         (bcmp): Set alias to __memcmp_g5.
24461         * sysdeps/s390/s390-32/multiarch/memcpy.S
24462         (memcpy_z196): Rename to __memcpy_z196.
24463         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24464         (memcpy_z10): Rename to __memcpy_z10.
24465         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24466         (memcpy): Set alias to __memcpy_g5.
24467         * sysdeps/s390/s390-32/multiarch/memset.S
24468         (memset_z196): Rename to __memset_z196.
24469         Jump to __memset_mvcle instead of memset_mvcle.
24470         (memset_z10): Rename to __memset_z10.
24471         Jump to __memset_mvcle instead of memset_mvcle.
24472         (memset_mvcle) Rename to __memset_mvcle.
24473         (memset): Set alias to __memset_g5.
24474         * sysdeps/s390/s390-64/memcmp.S
24475         (memcmp_z900): Rename to __memcmp_z900.
24476         * sysdeps/s390/s390-64/memcpy.S
24477         (memcpy_z900): Rename to __memcpy_z900.
24478         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24479         (memcpy_mvcle) Rename to __memcpy_mvcle.
24480         * sysdeps/s390/s390-64/memset.S
24481         (memset_z900): Rename to __memset_z900.
24482         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24483         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24484         and use prefixed functions.
24485         * sysdeps/s390/s390-64/multiarch/memcmp.S
24486         (memcmp_z196): Rename to __memcmp_z196.
24487         (memcmp_z10): Rename to __memcmp_z10.
24488         (memcmp): Set alias to __memcmp_z900.
24489         (bcmp): Set alias to __memcmp_z900.
24490         * sysdeps/s390/s390-64/multiarch/memcpy.S
24491         (memcpy_z196): Rename to __memcpy_z196.
24492         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24493         (memcpy_z10): Rename to __memcpy_z10.
24494         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24495         (memcpy): Set alias to __memcpy_z900.
24496         * sysdeps/s390/s390-64/multiarch/memset.S
24497         (memset_z196): Rename to __memset_z196.
24498         Jump to __memset_mvcle instead of memset_mvcle.
24499         (memset_z10): Rename to __memset_z10.
24500         Jump to __memset_mvcle instead of memset_mvcle.
24501         (memset_mvcle) Rename to __memset_mvcle.
24502         (memset): Set alias to __memset_z900.
24504 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24506         [BZ #17748]
24507         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24508         __fesetenv instead of fesetenv.
24510 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24512         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24513         macro.
24515 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24517         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24518         regression on LE.
24520         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24521         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24522         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24523         strncmp-power8 object.
24524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24525         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24526         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24527         * NEWS: Update.
24529 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24530             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24532         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24533         trailing byte check.
24535 2015-01-13  David S. Miller  <davem@davemloft.net>
24537         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24539 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24541         * login/logout.c (logout): Use memset rather than bzero.
24542         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24543         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24544         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24545         (_gethtbyaddr): Likewise.
24546         * locale/programs/simple-hash.c (bcopy): Macro removed.
24548 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24550         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24551         Add strcmp-power8 object.
24552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24553         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24554         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24555         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24556         __strcmp_power8 implementation.
24557         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24558         * NEWS: Update.
24560         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24561         Add strncpy-power8 and stpncpy-power8 objects.
24562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24563         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24564         implementations.
24565         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24566         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24567         __stpncpy_power8 implementation.
24568         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24569         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24570         __strncpy_power8 implementation.
24571         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24572         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24573         * NEWS: Update.
24575         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24576         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24577         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24579         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24580         strncat-power8 object.
24581         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24582         __strcat_power8 implementation.
24583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24584         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24585         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24586         optimized strcat for power8.
24588         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24589         strcpy-power8 and stpcpy-power8 objects.
24590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24591         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24592         implementations.
24593         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24594         multiarch stpcpy implementation for POWER8.
24595         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24596         multiarch strcpy implementation for POWER8.
24597         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24598         __strcpy_power8 function.
24599         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24600         stpcpy for POWER8.
24601         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24602         strcpy for POWER8.
24603         * NEWS: Update.
24605 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24607         [BZ #16009]
24608         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24609         weights and rules. Use do_xfrm_cached if data fits in cache,
24610         do_xfrm otherwise.  Moved former main loop to...
24611         * (do_xfrm_cached): New function.
24612         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24613         find_idx, find_position and stack_push.
24614         * (find_idx): New function.
24615         * (find_position): Likewise.
24616         * localedata/sort-test.sh: Added test run for do_xfrm.
24617         * localedata/xfrm-test.c (main): Added command line option
24618         -nocache to run the test with strings that are too large for
24619         the STRXFRM cache.
24621 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24623         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24624         variable to lll_futex_wake call, not the value itself.
24626 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24628         [BZ #17803]
24629         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24630         twom64.  Adjust value to 0x1p-64L.
24631         (__scalblnl): Only return standard underflowing result for K <=
24632         -64 not K <= -63; adjust exponent for underflowing result by 64
24633         not 63.
24634         * math/libm-test.inc (scalbn_test_data): Add more tests.
24635         (scalbln_test_data): Likewise.
24637         [BZ #17834]
24638         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24639         0x1p63L.
24640         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24641         not HX.
24642         * math/libm-test.inc (scalbn_test_data): Add more tests.
24643         (scalbln_test_data): Likewise.
24645 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24646             Stefani Seibold  <stefani@seibold.net>
24648         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24649         (sysdep_routines): Add dl-vdso here, ...
24650         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24651         (sysdep_routines): ... not here.
24652         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24653         fallback when vDSO is not presented.
24654         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24655         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24656         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24657         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24658         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24659         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24660         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24661         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24662         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24663         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24664         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24665         fallback configurable symbol when vDSO is not available.
24666         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24667         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24668         be able to redefine fallback symbol when vDSO is not available.
24669         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24670         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24672 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24674         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24675         (TLS_INIT_TP): Add tm_capable initialization.
24676         (TLS_DEFINE_INIT_TP): Likewise.
24677         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24678         TCB.
24679         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24680         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24681         calculation.
24682         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24683         transactoion is lock elision is built and TCB tm_capable is set.
24684         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24686         (INTERNAL_SYSCALL_NCS): Likewise.
24687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24688         (INTERNAL_SYSCALL_NCS): Likewise.
24689         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24691         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24692         for powerpc.
24693         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24694         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24695         and remove it for 32 bits case.
24696         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24697         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24698         initialization.
24699         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24700         Disable lock elision with rdlocks if elision is not available.
24702         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24703         (sysdep_routines): Add lock elision objects.
24704         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24705         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24706         [pthread_mutex_t] (__elision): Add field.
24707         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24708         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24709         elision definitions for powerpc.
24710         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24711         implementation of lock elision for powerpc.
24712         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24713         implementation of timed lock elision for powerpc.
24714         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24715         implementation of trylock with lock elision for powerpc.
24716         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24717         implementaion of unlock for lock elision for powerpc.
24718         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24719         automatic enable lock elision for mutexes.
24720         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24721         transaction execution definitions for powerpc.
24722         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24723         definitions.
24724         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24725         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24726         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24727         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24728         * NEWS: Update.
24730 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24732         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24733         for #include of <shm-directory.h>.
24735 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24737         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24738         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24740 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24742         [BZ #17791]
24743         * NEWS: Mention bug fix.
24744         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24745         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24746         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24748 2015-01-09  Torvald Riegel <triegel@redhat.com>
24750         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24752 2015-01-09  Torvald Riegel <triegel@redhat.com>
24754         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24756 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24758         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24759         pointer and cast to uintptr_t.
24761 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24763         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24764         removed.
24765         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24767 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24769         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24770         of 0.
24772 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24774         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24775         <nptl/pthreadP.h> instead.
24776         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24778         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24779         already defined.
24780         [__SIGRTMIN] (init): Function removed.
24781         [__SIGRTMIN] (initialized): Variable removed.
24782         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24783         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24784         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24785         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24786         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24787         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24788         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24789         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24790         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24791         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24792         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24793         * sysdeps/nptl/allocrtsig.c: New file.
24794         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24795         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24796         * sysdeps/generic/testrtsig.h: File removed.
24798         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24799         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24801         * nptl/nptl-init.c (pthread_functions): Conditionalize
24802         .ptr__nptl_setxid initialization on [SIGSETXID].
24804         * sysdeps/nptl/sys/procfs.h: New file.
24805         * nptl_db/Makefile (headers): Add it.
24806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24808         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24809         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24810         * nptl/pthread_attr_setaffinity.c: Include it.
24811         * nptl/pthread_setattr_default_np.c: Likewise.
24812         * nptl/check-cpuset.h: New file.
24814 2015-01-08  Richard Henderson  <rth@redhat.com>
24816         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24817         (CFLAGS-tst-execstack-prog.c): Likewise.
24818         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24820 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24821             Sandra Loosemore  <sandra@codesourcery.com>
24822             Andrew Jenner  <andrew@codesourcery.com>
24823             Joseph Myers  <joseph@codesourcery.com>
24824             Nathan Sidwell  <nathan@codesourcery.com>
24826         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24827         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24828         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24829         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24830         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24831         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24832         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24833         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24834         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24835         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24836         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24837         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24838         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24839         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24840         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24841         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24842         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24844 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24846         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24847         timespec struct member in syscall macro.
24848         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24849         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24850         first timeval struct member in syscall macro.
24851         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24853 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24855         [BZ #17748]
24856         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24857         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24858         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24859         __feupdateenv and define as weak alias of __feupdateenv.  Use
24860         libm_hidden_weak.
24861         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24862         libm_hidden_def.
24863         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24864         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24865         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24866         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24867         libm_hidden_def.
24868         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24869         __feupdateenv and define as weak alias of __feupdateenv.  Use
24870         libm_hidden_weak.
24871         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24872         libm_hidden_def.
24873         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24874         __feupdateenv and define as weak alias of __feupdateenv.  Use
24875         libm_hidden_weak.
24876         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24877         libm_hidden_def.
24878         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24879         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24880         (__feupdateenv): Likewise.
24881         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24882         __feupdateenv and define as weak alias of __feupdateenv.  Use
24883         libm_hidden_weak.
24884         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24885         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24886         libm_hidden_def.
24887         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24888         function.
24889         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24890         libm_hidden_def.
24891         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24892         __feupdateenv instead of feupdateenv.
24893         (default_libc_feupdateenv_test): Likewise.
24894         (libc_feresetround_ctx): Likewise.
24896 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24898         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24899         prototype.
24901 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24903         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24904         COLL_SYM in a couple of places to avoid uninitialized variable
24905         wanings on tilegx gcc 4.8.2.
24907 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24909         * sysdeps/aarch64/strcpy.S: New file.
24910         * sysdeps/aarch64/stpcpy.S: New file.
24911         * NEWS: Updated.
24913 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24915         * sysdeps/aarch64/strrchr.S: New file.
24916         * NEWS: Updated.
24918 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24920         [BZ #17658]
24921         * stdlib/setenv.c: Fix memory leak when setting large,
24922         duplicate string.
24924 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24926         [BZ #17273]
24927         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24928         and tabs from buffer before parsing fstab entry.
24929         * misc/tst-mntent.c (main): Add test for mount entry with
24930         trailing spaces and tabs.
24932 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24934         [BZ #17748]
24935         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24936         * math/fesetround.c (fesetround): Rename to __fesetround and
24937         define as weak alias of __fesetround.  Use libm_hidden_weak.
24938         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24939         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24940         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24941         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24942         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24943         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24944         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24945         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24946         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24947         __fesetround_inline.
24948         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24949         __fesetround_inline instead of __fesetround.
24950         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24951         __fesetround and define as weak alias of __fesetround.  Use
24952         libm_hidden_weak.  Call __fesetround_inline instead of
24953         __fesetround.
24954         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24955         __fesetround and define as weak alias of __fesetround.  Use
24956         libm_hidden_weak.
24957         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24958         Likewise.
24959         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24960         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24961         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24962         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24963         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24964         __fesetround and define as weak alias of __fesetround.  Use
24965         libm_hidden_weak.
24966         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24967         __fesetround instead of fesetround.
24968         (default_libc_feholdexcept_setround): Likewise.
24969         (libc_feholdsetround_ctx): Likewise.
24970         (libc_feholdsetround_noex_ctx): Likewise.
24972         [BZ #17748]
24973         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24974         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24975         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24976         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24977         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24978         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24979         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24980         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24981         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24982         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24983         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24984         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24985         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24986         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24987         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24988         libm_hidden_def.
24989         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24990         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24991         Likewise.
24992         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24993         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24994         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24995         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24996         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24997         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24998         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24999         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25000         __fesetenv instead of fesetenv.
25001         (libc_feresetround_noex_ctx): Likewise.
25002         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25003         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25004         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25005         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25006         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25007         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25008         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25009         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25010         (__feupdateenv): Likewise.
25011         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25012         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25013         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25014         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25016 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25018         [BZ #17806]
25019         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25020         addresses have been freed.
25022 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25024         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25025         and nservall.
25027 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25029         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25030         Clean up check_pf allocation pattern. addresses
25032 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25034         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25035         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25036         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25037         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25038         * nptl/pthread_join.c (pthread_join): Likewise.
25039         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25040         * sysdeps/posix/waitid.c (__waitid): Likewise.
25041         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25042         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25043         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25044         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25045         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25046         Likewise.
25047         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25048         (__libc_pread64): Likewise.
25049         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25050         (__libc_pwrite): Likewise.
25051         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25052         (__libc_pwrite64): Likewsie.
25053         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25054         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25055         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25056         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25057         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25058         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25059         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25061         Likewise.
25062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25063         (__libc_pread64): Likewise.
25064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25065         Likewise.
25066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25067         (__libc_pwrite64): Likewise.
25068         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25069         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25070         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25071         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25072         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25073         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25074         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25075         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25076         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25077         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25078         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25079         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25080         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25081         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25082         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25083         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25084         Likewise.
25086 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25088         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25089         (CFLAGS-test-double.c): Likewise.
25090         (CFLAGS-test-ldouble.c): Likewise.
25091         (CPPFLAGS-test-ifloat.c): Likewise.
25092         (CPPFLAGS-test-idouble.c): Likewise.
25093         (CPPFLAGS-test-ildoubl.c): Likewise.
25094         (CFLAGS-test-test-fenv.c): Remove variable.
25095         (CFLAGS-test-misc.c): Likewise.
25097 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25099         [BZ #17797]
25100         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25101         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25102         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25103         CLOCKS_PER_SEC == 1000000.
25104         * time/clocktest.c (main): Replace %ld with %jd and cast to
25105         intmax_t.
25107 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25109         * sysdeps/generic/unwind-resume.h: New file.
25110         * sysdeps/gnu/unwind-resume.c: Include it.
25111         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25112         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25113         argument list.
25114         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25115         global rather than static.
25116         (_Unwind_Resume): Update user.
25117         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25118         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25119         rather than static.  Add __attribute__ ((cold)).
25120         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25121         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25122         * sysdeps/arm/arm-unwind-resume.S: New file.
25123         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25124         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25125         * sysdeps/arm/Makefile [$(subdir) = csu]
25126         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25127         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25128         Add rt-arm-unwind-resume.
25129         [$(subdir) = nptl]
25130         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25131         Add pt-arm-unwind-resume.
25132         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25133         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25135 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25137         [BZ #17748]
25138         * include/fenv.h (__feholdexcept): Declare.  Use
25139         libm_hidden_proto.
25140         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25141         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25142         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25143         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25144         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25145         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25146         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25147         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25148         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25149         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25150         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25151         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25152         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25153         (feholdexcept): Likewise.
25154         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25155         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25156         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25157         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25158         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25159         __feholdexcept instead of feholdexcept.
25160         (default_libc_feholdexcept_setround): Likewise.
25162 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25164         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25165         to avoid using stl/str to align destination.
25167 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25169         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25171 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25173         [BZ #17796]
25174         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25175         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25176         Define as weak alias not strong alias.
25178 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25180         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25181         bltzal with addiupc.
25182         (RTLD_START): Ditto.
25184 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25186         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25187         for __vdso_* functions in declarations.
25188         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25189         definitions.
25190         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25191         INTERNAL_VSYSCALL): Use struct return types to check for error.
25193         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25194         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25195         function with cast from llround().
25196         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25197         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25198         Define.
25200 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25202         [BZ #17793]
25203         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25204         Define as weak alias not strong alias.
25206         [BZ #17635]
25207         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25208         ...
25209         * ctype/ctype-extn.c: ... here.
25210         (__isblank_l): Move to ...
25211         * ctype/ctype-c99_l.c: ... here.  New file.
25212         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25213         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25214         Remove variable.
25215         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25216         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25217         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25218         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25219         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25221         [BZ #17777]
25222         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25223         (posix_fadvise64): Define as weak alias not strong alias.
25224         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25225         (posix_fallocate64): Likewise.
25226         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25227         Remove variable.
25228         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25229         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25230         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25231         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25232         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25234 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25236         [BZ #16191]
25237         * NEWS: Mention bug fix.
25238         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25239         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25240         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25241         (HOST_STACK_END_ADDR): Likewise.
25243 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25245         [BZ #17748]
25246         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25247         * math/fegetround.c (fegetround): Rename to __fegetround and
25248         define as weak alias of __fegetround.  Use libm_hidden_weak.
25249         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25250         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25251         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25252         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25253         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25254         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25255         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25256         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25257         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25258         Undefine after rather than before function definition; use
25259         parentheses around function name in definition.
25260         (__fegetround): Also undefine macro after function definition.
25261         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25262         __fegetround and define as weak alias of __fegetround.  Use
25263         libm_hidden_weak.  Do not undefine as macro.
25264         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25265         Likewise.
25266         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25267         __fegetround and define as weak alias of __fegetround.  Use
25268         libm_hidden_weak.
25269         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25270         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25271         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25272         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25273         __fegetround and define as weak alias of __fegetround.  Use
25274         libm_hidden_weak.
25275         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25276         __fegetround instead of fegetround.
25278         [BZ #17782]
25279         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25280         Condition macro definition on [__USE_MISC].
25282         [BZ #17781]
25283         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25284         (struct sigaction): Change type of sa_flags field to int.
25286         [BZ #17780]
25287         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25288         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25289         __glibc_reserved0.
25291         * nptl/version.c (banner): Use single year in copyright notice.
25293         * NEWS: Update copyright dates.
25294         * catgets/gencat.c (print_version): Likewise.
25295         * csu/version.c (banner): Likewise.
25296         * debug/catchsegv.sh: Likewise.
25297         * debug/pcprofiledump.c (print_version): Likewise.
25298         * debug/xtrace.sh (do_version): Likewise.
25299         * elf/ldconfig.c (print_version): Likewise.
25300         * elf/ldd.bash.in: Likewise.
25301         * elf/pldd.c (print_version): Likewise.
25302         * elf/sotruss.sh: Likewise.
25303         * elf/sprof.c (print_version): Likewise.
25304         * iconv/iconv_prog.c (print_version): Likewise.
25305         * iconv/iconvconfig.c (print_version): Likewise.
25306         * locale/programs/locale.c (print_version): Likewise.
25307         * locale/programs/localedef.c (print_version): Likewise.
25308         * login/programs/pt_chown.c (print_version): Likewise.
25309         * malloc/memusage.sh (do_version): Likewise.
25310         * malloc/memusagestat.c (print_version): Likewise.
25311         * malloc/mtrace.pl: Likewise.
25312         * manual/libc.texinfo: Likewise.
25313         * nptl/version.c (banner): Likewise.
25314         * nscd/nscd.c (print_version): Likewise.
25315         * nss/getent.c (print_version): Likewise.
25316         * nss/makedb.c (print_version): Likewise.
25317         * posix/getconf.c (main): Likewise.
25318         * scripts/test-installation.pl: Likewise.
25319         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25321 2015-01-02  Will Newton  <will.newton@linaro.org>
25323         * sysdeps/arm/armv7/configure: Removed.
25324         * sysdeps/arm/armv7/configure.ac: Likewise.
25326 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25328         * All files with FSF copyright notices: Update copyright dates
25329         using scripts/update-copyrights.
25330         * intl/plural.c: Regenerated.
25331         * locale/programs/charmap-kw.h: Likewise.
25332         * locale/programs/locfile-kw.h: Likewise.
25334 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25336         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25338 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25340         [BZ #17748]
25341         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25342         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25343         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25344         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25345         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25346         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25347         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25348         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25349         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25350         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25351         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25352         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25353         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25354         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25355         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25356         libm_hidden_def.
25357         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25358         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25359         Likewise.
25360         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25361         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25362         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25363         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25364         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25365         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25366         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25367         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25368         __fegetenv instead of fegetenv.
25369         (libc_feholdsetround_noex_ctx): Likewise.
25371 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25373         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25374         (Elf_MIPS_ABIFlags_v0): New structure.
25375         (EF_MIPS_FP64): Define.
25376         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25377         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25378         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25379         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25380         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25381         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25382         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25383         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25384         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25385         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25386         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25387         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25388         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25389         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25390         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25391         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25392         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25393         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25394         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25395         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25396         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25397         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25398         field.
25399         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25400         EF_MIPS_FP64.
25401         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25402         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25403         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25404         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25405         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25406         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25407         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25408         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25409         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25410         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25411         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25412         record the current FP ABI extension.
25413         (mips-mode-switch): Define to show if kernel headers support mode
25414         switching.
25415         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25416         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25417         supported SYSV ABI version to 3.
25418         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25419         feature.
25421 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25422             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25424         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25425         path.
25426         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25428 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25430         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25431         __fegetround and redefine to call __fegetround.  Remove condition
25432         on [!__NO_MATH_INLINES].
25433         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25434         function.
25435         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25436         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25437         Remove macro.
25438         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25439         instead of <fenv_libc.h>.
25440         (__llrintl): Call fegetround instead of __fegetround.
25441         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25442         instead of <fenv_libc.h>.
25443         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25444         (__lrintl): Call fegetround instead of __fegetround.
25445         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25446         instead of <fenv_libc.h>.
25447         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25448         (__rintl): Call fegetround instead of __fegetround.
25450 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25452         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25453         arrays.
25455 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25457         [BZ #17775]
25458         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25459         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25460         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25462 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25464         * sysdeps/i386/tls-macros.h: Include <features.h>.
25465         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25466         (TLS_IE): Likewise.
25467         (TLS_LD): Likewise.
25468         (TLS_GD): Likewise.
25469         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25470         define for GCC >= 5.0.
25472 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25474         * math/test-fenv.c (test_single_exception, set_single_exc,
25475         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25476         feexcp_mask_test, feenable_test, fe_single_test): Add
25477         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25478         case where they are not used.
25479         * math/libm-test.inc: Likewise.
25480         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25481         unused in the absence of FP rounding/exception support.
25482         * stdio-common/tst-printf-round.c: Likewise.
25483         * stdlib/tst-strtod-round.c: Likewise.
25484         * stdlib/tst-strtod-underflow.c: Likewise.
25486 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25488         [BZ #17723]
25489         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25490         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25491         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25492         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25493         libm_hidden_weak.
25494         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25495         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25496         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25497         libm_hidden_def.
25498         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25499         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25500         libm_hidden_weak.
25501         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25502         Likewise.
25503         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25504         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25505         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25506         libm_hidden_weak.
25507         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25508         libm_hidden_def.
25509         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25510         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25511         (__feraiseexcept): Likewise.
25512         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25513         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25514         libm_hidden_weak.
25515         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25516         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25517         libm_hidden_def.
25518         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25519         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25520         Use libm_hidden_def.
25521         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25522         libm_hidden_def.
25523         (feraiseexcept): Define as weak not strong alias.  Use
25524         libm_hidden_weak.
25525         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25526         New inline function.  Factored out of ...
25527         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25528         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25529         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25530         feraiseexcept.
25531         * math/w_acos.c (__acos): Likewise.
25532         * math/w_asin.c (__asin): Likewise.
25533         * math/w_ilogb.c (__ilogb): Likewise.
25534         * math/w_j0.c (y0): Likewise.
25535         * math/w_j1.c (y1): Likewise.
25536         * math/w_jn.c (yn): Likewise.
25537         * math/w_log.c (__log): Likewise.
25538         * math/w_log10.c (__log10): Likewise.
25539         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25540         * sysdeps/aarch64/fpu/math_private.h
25541         (libc_feupdateenv_test_aarch64): Likewise.
25542         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25543         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25544         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25545         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25546         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25547         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25548         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25549         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25550         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25551         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25553 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25555         [BZ #17732]
25556         * io/test-utime.c (main): Replace %ld with %jd and cast to
25557         intmax_t.
25558         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25559         * nptl/tst-mutex5.c: Include <stdint.h>.
25560         (do_test): Replace %ld with %jd and cast to intmax_t.
25561         * posix/tst-regex.c (run_test): Likewise.
25562         (run_test_backwards): Likewise.
25563         * rt/tst-clock.c: Include <stdint.h>.
25564         (clock_test): Replace %ld with %jd and cast to intmax_t.
25565         * rt/tst-cpuclock1.c: Include <stdint.h>.
25566         (do_test): Replace %lu with %ju and cast to uintmax_t.
25567         * rt/tst-cpuclock2.c: Include <stdint.h>.
25568         (do_test): Replace %lu with %ju and cast to uintmax_t.
25569         * rt/tst-mqueue1.c: Include <stdint.h>.
25570         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25571         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25572         intmax_t.
25573         * rt/tst-mqueue4.c (do_test): Likewise.
25574         * rt/tst-timer4.c: Include <stdint.h>.
25575         (check_ts): Replace %ld with %jd and cast to intmax_t.
25576         (do_test): Likewise.
25577         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25578         and cast to intmax_t.
25579         * sysdeps/pthread/tst-timer.c (main): Likewise.
25580         * time/clocktest.c (main): Likewise.
25581         * time/tst-posixtz.c (do_test): Likewise.
25582         * timezone/tst-timezone.c (main): Likewise.
25584 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25585             H.J. Lu  <hongjiu.lu@intel.com>
25587         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25588         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25589         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25590         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25591         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25592         version if bit_Fast_Unaligned_Load is set.
25593         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25594         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25595         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25596         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25597         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25598         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25600         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25601         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25602         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25603         to 4.
25604         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25605         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25606         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25607         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25609 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25611         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25612         instead of #if to avoid a Wundef warning.
25613         * stdlib/tst-limits.c (do_test): Likewise.
25615         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25616         parallel other exception macros.
25617         (fegetenv): Convert from macro to extern inline so that it applies
25618         retroactively to inline functions already seen by the compiler.
25619         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25621         * posix/Makefile (before-compile): Use $(objpfx) for
25622         posix-conf-vars-def.h.
25624 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25626         * posix/getconf.c (main): Use size_t for type of I.
25627         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25628         NSPEC.
25630         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25631         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25632         * posix/posix-envs.def: Likewise.
25633         * sysdeps/posix/sysconf.c: Likewise.
25634         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25635         (specs): Remove array.
25636         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25637         array.
25639         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25640         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25641         (__sysconf): Use CONF_IS_* macros.
25643         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25644         ($(objpfx)posix-conf-vars-def.h): New target.
25645         * posix/posix-conf-vars.list: New file.
25646         * posix/posix-conf-vars.h: New file.
25647         * posix/confstr.c: Include posix-conf-vars.h.
25648         (confstr): Use CONF_IS_* macros.
25649         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25650         CONF_IS_* macros.
25651         * scripts/gen-posix-conf-vars.awk: New file.
25653 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25655         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25656         fegetround): Add no-op macros to avoid linknamespace issues.
25658         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25659         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25661         * sysdeps/unix/sysv/linux/tile/sysdep.h
25662         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25663         assembly-specific section to avoid a redefinition warning.
25665         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25666         long before casting to pointer to avoid a cast warning.
25668 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25670         * sysdeps/tile/tilegx/Implies: New file.
25672 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25674         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25676 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25678         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25680 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25682         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25683         not define.
25684         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25685         <kernel-features.h>.
25686         (__utimes) [__NR_utimes]: Make code unconditional.
25687         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25688         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25689         (__ASSUME_UTIMES): Do not undefine.
25690         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25691         (__ASSUME_UTIMES): Likewise.
25692         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25693         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25694         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25695         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25697 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25699         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25701 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25703         [BZ #17747]
25704         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25705         alias to weak alias for j0l, y0l.
25706         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25707         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25709         [BZ #17746]
25710         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25711         conversion.
25713 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25715         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25716         to zero if not already defined.
25718 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25720         [BZ #17724]
25721         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25722         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25723         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25724         (char *) casts added.
25725         * sysdeps/ieee754/k_standardf.c: New file.
25726         * sysdeps/ieee754/k_standardl.c: Likewise.
25727         * math/Makefile (libm-support): Remove k_standard.
25728         (libm-calls): Add k_standard.
25730 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25732         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25733         Optimize to avoid an unnecessary FPCR read.
25735 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25737         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25738         Optimize to reduce FPCR/FPSR accesses.
25740 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25742         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25743         Call libc_fetestexcept_aarch64.
25745 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25747         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25748         Call libc_fesetround_aarch64.
25750 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25752         [BZ #17733]
25753         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25754         (__bind): Do not define as weak alias.
25755         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25756         define.
25757         (__getsockname): Do not define as weak alias.
25759 2014-12-22  Will Newton  <will.newton@linaro.org>
25761         * manual/install.texi: Document that we require bison 2.7
25762         or above.
25763         * INSTALL: Regenerate.
25764         * configure.ac: Use AC_CHECK_PROG_VER instead of
25765         AC_PATH_PROG when checking for bison and check for
25766         version 2.7 or above.
25767         * configure: Regenerate.
25769 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25771         [BZ #17745]
25772         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25773         * sysdeps/tile/ffsll.c (ffsll): To here.
25775         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25777 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25779         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25780         if not defined.
25781         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25782         definition.
25783         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25784         hidden ___tls_get_addr.
25785         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25786         hidden __tls_get_addr.
25787         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25788         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25789         Likewise.
25791 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25793         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25794         _dl_init call.
25796 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25798         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25799         from "call _dl_init@PLT".
25800         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25802 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25804         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25805         guarantees.
25807 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25809         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25811 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25813         [BZ #17744]
25814         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25815         strnlen.
25817 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25819         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25820         of multu on MIPSr6.
25821         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25822         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25823         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25824         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25825         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25827 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25829         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25830         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25831         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25832         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25833         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25834         mips32r6/mips64r6.
25835         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25837 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25839         * string/strncat.c (STRNCAT): Simplify implementation.
25841 2014-12-19  David S. Miller  <davem@davemloft.net>
25843         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25844         access the quad as both a long double and as a series of 4 words.
25846         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25847         link_map->l_info array access.
25849 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25851         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25853         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25854         * math/atest-exp2.c (TIMEOUT): Likewise.
25855         * math/atest-sincos.c (TIMEOUT): Likewise.
25857 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25859         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25860         -Wno-error with -fno-builtin-lround.
25862 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25864         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25865         Contains futex constants and functions moved over from ...
25866         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25867         <lowlevellock-futex.h>.
25868         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25869         (lll_timedwait_tid): Add comments and parentheses around macro
25870         arguments.
25872 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25874         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25875         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25876         (__lll_private_flag): Remove.
25877         (lll_futex_wait): Likewise.
25878         (lll_futex_timed_wait): Likewise.
25879         (lll_futex_wake): Likewise.
25880         (lll_futex_requeue): Likewise.
25881         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25882         (__lll_timedwait_tid): Spell out argument names.
25883         (lll_timedwait_tid): Add comments and parentheses around macro
25884         arguments.
25885         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25886         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25888 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25890         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25891         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25892         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25893         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25894         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25895         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25896         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25897         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25898         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25899         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25900         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25901         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25902         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25903         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25904         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25905         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25906         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25907         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25908         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25910 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25912         * sysdeps/x86_64/x32/Makefile: New file.
25914 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25916         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25917         1L with (mp_limb_t) 1.
25919 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25921         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25922         * nptl/libc_pthread_init.c: ... here.
25923         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25924         * nptl/register-atfork.c: ... here.
25926         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25927         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25928         Use assert_perror to check its return value.
25929         (__gai_create_helper_thread): Likewise.
25931         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25933         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25935 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25937         [BZ #17725]
25938         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25939         __profil_counter.
25940         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25941         Likewise.
25942         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25943         Likewise.
25944         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25945         Likewise.
25946         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25947         (profil_counter): Likewise.
25948         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25949         (profil_counter): Likewise.
25950         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25951         Likewise.
25952         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25953         Likewise.
25954         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25955         (profil_counter): Likewise.
25956         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25957         Likewise.
25958         [!__profil_counter] (profil_counter): Define as weak alias of
25959         __profil_counter.
25960         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25961         (profil_counter): Rename to __profil_counter.
25962         [!__profil_counter] (profil_counter): Define as weak alias of
25963         __profil_counter.
25964         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25965         (profil_counter): Rename to __profil_counter.
25966         [!__profil_counter] (profil_counter): Define as weak alias of
25967         __profil_counter.
25968         * sysdeps/posix/profil.c: Update comment referring to
25969         profil_counter.
25970         (__profil): Use __profil_counter instead of profil_counter.
25971         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25972         __profil_counter.  Use __profil_counter_ushort and
25973         __profil_counter_uint in definitions.
25974         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25975         instead of profil_counter_uint and profil_counter_ushort.
25977         [BZ #17722]
25978         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25979         define as weak alias of __inet_makeaddr.
25980         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25981         as weak alias of __inet_addr.
25982         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25983         as weak alias of __inet_pton.  Use libc_hidden_weak.
25984         * include/arpa/inet.h (__inet_pton): Declare.  Use
25985         libc_hidden_proto.
25986         (inet_makeaddr): Don't use libc_hidden_proto.
25987         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25988         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25989         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25990         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25991         Remove variable.
25992         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25993         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25995 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25997         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25999 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26001         * stdio-common/bug-vfprintf-nargs.c (do_test):
26002         Cast value to intptr_t to avoid format warning
26003         for usage with PRIdPTR printing macro.
26005 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26007         * libio/tst-widetext.c (do_test):
26008         Use format type %td instead of %Zd for ptrdiff_t
26009         in order to avoid format warning.
26011 2014-12-17  Andreas Schwab  <schwab@suse.de>
26013         * nscd/mem.c (gc): Add size_t cast to match printf format.
26015 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26017         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26018         (init): Apply PTR_MANGLE to pointers before storing them.
26019         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26020         before using them.
26022 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26024         [BZ #17719]
26025         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26026         define as weak alias of __memrchr.
26027         (__memrchr): Do not define as strong alias of memrchr.
26028         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26029         Remove variable.
26030         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26031         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26032         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26034         [BZ #17717]
26035         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26036         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26037         (if_indextoname): Rename to __if_indextoname and define as weak
26038         alias of __if_indextoname.  Use libc_hidden_weak.
26039         (if_freenameindex): Rename to __if_freenameindex and define as
26040         weak alias of __if_freenameindex.
26041         (if_nameindex): Rename to __if_nameindex and define as weak alias
26042         of __if_nameindex.
26043         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26044         __if_nametoindex and define as weak alias of __if_nametoindex.
26045         Use libc_hidden_weak.
26046         (if_freenameindex): Rename to __if_freenameindex and define as
26047         weak alias of __if_freenameindex.
26048         (if_nameindex): Rename to __if_nameindex and define as weak alias
26049         of __if_nameindex.
26050         (if_indextoname): Rename to __if_indextoname and define as weak
26051         alias of __if_indextoname.  Use libc_hidden_weak.
26052         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26053         __if_nametoindex and define as weak alias of __if_nametoindex.
26054         Use libc_hidden_weak.
26055         (if_freenameindex): Rename to __if_freenameindex and define as
26056         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26057         (if_nameindex_netlink): Use __if_freenameindex instead of
26058         if_freenameindex.
26059         (if_nameindex): Rename to __if_nameindex and define as weak alias
26060         of __if_nameindex.  Use libc_hidden_weak.
26061         (if_indextoname): Rename to __if_indextoname and define as weak
26062         alias of __if_indextoname.  Use libc_hidden_weak.
26063         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26064         libc_hidden_proto.
26065         [!_ISOMAC] (__if_freenameindex): Likewise.
26066         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26067         if_nametoindex.
26068         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26069         variable.
26070         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26071         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26072         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26073         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26074         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26075         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26076         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26078         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26079         Remove variable.
26080         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26081         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26083 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26085         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26086         subscript above bounds'
26088         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26089         bounds.
26091 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26093         * libio/tst-fopenloc.c: Use test-skeleton.c.
26095         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26096         (entry): Rename to ITEM.
26097         (do_test, comp): Adjust.
26099         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26101 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26103         * string/tester.c: Include <libc-internal.h>.
26104         (test_memset): Ignore -Wmemset-transposed-args.
26106 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26108         * misc/tst-mntent2.c (do_test): Fix warning.
26110 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26112         * elf/tst-unique4lib.cc(a): Mark as used.
26114 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26116         [BZ #17630]
26117         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26118         names.
26120 2014-12-16  Allan McRae  <allan@archlinux.org>
26122         * stdio-common/Makefile (tests): Re-add bug26.
26124 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26126         [BZ #17657]
26127         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26128         static array.
26130 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26132         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26133         (__lll_lock_wait): Likewise.
26134         (__lll_timedlock_wait): Likewise.
26135         (__lll_timedwait_tid): Likewise.
26136         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26137         (__lll_robust_timedlock_wait): Likewise.
26138         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26139         (lll_cond_trylock): Likewise.
26140         (__lll_lock): Likewise.
26141         (__lll_robust_lock): Likewise.
26142         (__lll_cond_lock): Likewise.
26143         (lll_robust_cond_lock): Likewise.
26144         (__lll_timedlock): Likewise.
26145         (__lll_robust_timedlock): Likewise.
26146         (__lll_unlock): Likewise.
26147         (__lll_robust_unlock): Likewise.
26148         (lll_wait_tid): Likewise.
26149         (lll_timedwait_tid): Likewise.
26151 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26153         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26155 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26157         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26159 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26161         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26162         * stdio-common/tst-sprintf.c: Likewise.
26164 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26166         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26168 2014-12-15  Jeff Law  <law@redhat.com>
26170         [BZ #16617]
26171         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26172         on the heap.  (CVE-2012-3406)
26173         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26174         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26175         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26177 2014-12-15  Will Newton  <will.newton@linaro.org>
26179         * manual/install.texi: Bump required version of texinfo
26180         to 4.7 from 4.5.
26181         * INSTALL: Regenerated.
26182         * configure.ac: Check for makeinfo version 4.7 and above.
26183         * configure: Regenerated.
26185 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26187         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26188         PREFIX, string constant to insert between directory and name.
26189         * sysdeps/posix/shm_open.c: Update caller.
26190         * sysdeps/posix/shm_unlink.c: Likewise.
26191         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26192         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26193         (SEM_SHM_PREFIX): New macro.
26194         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26195         [$(have-thread-library) = no].
26196         * nptl/Makefile (libpthread-routines): Add shm-directory.
26197         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26198         * sysdeps/nptl/shm-directory.h: New file.
26199         * sysdeps/posix/shm-directory.c
26200         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26201         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26202         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26203         INTERNAL_SYSCALL.
26204         (__where_is_shmfs): Function removed.
26205         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26206         Variables removed.
26207         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26208         Use SHM_GET_NAME.
26209         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26211         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26212         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26213         unconditional for use inside libpthread.
26214         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26216 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26218         * nptl/pthread_getaffinity.c: New file.
26219         * nptl/pthread_setaffinity.c: New file.
26220         * nptl/pthread_getname.c: New file.
26221         * nptl/pthread_setname.c: New file.
26223         * nptl/pthread_create.c (START_THREAD_DEFN)
26224         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26226 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26227             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26229         * resolv/res_send.c (send_vc): Disable warning resplen may
26230         be used uninitialized.
26232 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26234         * nptl/tst-mutex6.c
26235         (ATTR_NULL): New define checks ATTR against NULL.
26236         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26237         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26239 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26241         [BZ #17581]
26242         * malloc/hooks.c
26243         (mem2mem_check): Revert my previous change.
26244         (malloc_check_get_size): Revert my previous change.
26245         (mem2chunk_check): Revert my previous change.
26247 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26249         * sysdeps/posix/shm-directory.c: New file.
26250         * sysdeps/posix/shm-directory.h: New file.
26251         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26252         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26253         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26254         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26255         Transmute EPERM to EACCES.
26256         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26257         from ...
26258         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26259         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26261 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26263         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26264         pointer and cast to uintptr_t.
26265         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26266         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26267         Add cast to avoid warning.
26268         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26270 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26272         * nptl/semaphore.h: Move to ...
26273         * sysdeps/pthread/semaphore.h: ... here.
26274         * Makefile (installed-headers): Change nptl/semaphore.h to
26275         sysdeps/pthread/semaphore.h.
26277 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26279         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26280         generated error format strings.
26282         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26283         -Wformat-extra-args warnings for scanf formats.
26284         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26285         test of zero-length format (duh).
26286         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26287         corner-case scanf format test.
26288         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26289         generated fprintf format string.
26290         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26291         corner-case sprintf format tests.
26292         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26293         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26294         -Wformat-extra-args warnings throughout.
26295         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26296         (CFLAGS-scanf4.c): Likewise.
26297         (CFLAGS-scanf7.c): Likewise.
26298         (CFLAGS-tst-sprintf.c): Likewise.
26299         (CFLAGS-tst-printf.c): Likewise.
26300         (CFLAGS-tst-printfsz.c): Likewise.
26302 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26304         * include/cpio.h: New file.
26305         * include/fmtmsg.h: Likewise.
26307         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26308         corresponding format argument to size_t.
26309         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26310         arguments.
26311         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26312         corresponding format argument to size_t.
26313         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26314         arguments.
26315         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26316         corresponding format argument to size_t.
26317         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26318         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26319         (CFLAGS-tst-mbswcs2.c): Likewise.
26320         (CFLAGS-tst-mbswcs3.c): Likewise.
26321         (CFLAGS-tst-mbswcs4.c): Likewise.
26322         (CFLAGS-tst-mbswcs5.c): Likewise.
26323         (CFLAGS-tst-trans.c): Likewise.
26325 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26327         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26328         rather than assuming they won't contain any '%'s.
26330 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26332         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26333         inhibit_loop_to_libcall to avoid recursive calls.
26334         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26335         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26337 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26339         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26340         prototype.
26342 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26344         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26345         integer value instead of boolean.
26347 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26349         * malloc/malloc.c: Fix powerof2 check.
26351 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26353         * locale/programs/locfile.h (maybe_swap_uint32):
26354         Remove inline and add unused attribute.
26356 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26358         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26359         Truncating assembler expression to a .long expression.
26361 2014-12-11  Andreas Schwab  <schwab@suse.de>
26363         * elf/rtld.c (struct map_args): Constify str member.
26364         (do_preload): Constify fname argument.
26366 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26368         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26369         constants definition.
26371 2014-12-11  Andreas Schwab  <schwab@suse.de>
26373         [BZ #16657]
26374         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26375         FORCE_ELISION instead of DO_ELISION.
26376         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26377         Remove.
26378         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26379         Likewise.
26381         * iconvdata/gconv-modules: Remove duplicate entry.
26383 2014-12-11  Will Newton  <will.newton@linaro.org>
26385         Merge gettext 0.19.3 into intl/.
26387         This involves a number of cosmetic changes to comments
26388         and ANSI function definitions and prototypes throughout
26389         all the files. The gettext copyright header is used but
26390         with the date ranges taken from the glibc copy.
26392         * NEWS: Add gettext merge to 2.21.
26393         * intl/bindtextdom.c: Switch to gettext copyright.
26394         Use ANSI definitions and prototypes.
26395         Use gl_* locking primitives rather than __libc_* ones.
26396         Use __builtin_expect rather than __glibc_likely/unlikely.
26397         * intl/dcgettext.c: Switch to gettext copyright.
26398         Use ANSI definitions and prototypes.
26399         * intl/dcigettext.c: Switch to gettext copyright.
26400         Use ANSI definitions and prototypes.
26401         (INTDIV0_RAISES_SIGFPE): New define.
26402         Use gl_* locking primitives rather than __libc_* ones.
26403         Include eval-plural.h instead of plural-eval.c.
26404         Use __builtin_expect rather than __glibc_likely/unlikely.
26405         * intl/dcngettext.c: Switch to gettext copyright.
26406         Use ANSI definitions and prototypes.
26407         * intl/dgettext.c: Likewise.
26408         * intl/dngettext.c: Likewise.
26409         * intl/plural-eval.c: Renamed to...
26410         * intl/eval-plural.h: ...this.
26411         * intl/explodename.c: Switch to gettext copyright.
26412         Use ANSI definitions and prototypes.
26413         (_nl_explode_name): Use strchr instead of __rawmemchr.
26414         * intl/finddomain.c: Switch to gettext copyright.
26415         Use ANSI definitions and prototypes.
26416         Use gl_* locking primitives rather than __libc_* ones.
26417         (_nl_find_domain): Use malloc rather than alloca for
26418         allocation of temporary locale name.
26419         * intl/gettext.c: Switch to gettext copyright.
26420         Use ANSI definitions and prototypes.
26421         * intl/gettextP.h: Switch to gettext copyright.
26422         Use ANSI definitions and prototypes.
26423         Use gl_* locking primitives rather than __libc_* ones.
26424         * intl/gmo.h: Switch to gettext copyright.
26425         (struct sysdep_string): Move struct segment_pair outside of
26426         struct definition.
26427         * intl/hash-string.c: Use ANSI definitions and prototypes.
26428         * intl/hash-string.h: Switch to gettext copyright.
26429         Use ANSI definitions and prototypes.
26430         * intl/l10nflist.c: Switch to gettext copyright.
26431         Use ANSI definitions and prototypes.
26432         (_nl_normalize_codeset): Avoid integer overflow.
26433         * intl/loadinfo.h: Switch to gettext copyright.
26434         Use ANSI definitions and prototypes.
26435         (LIBINTL_DLL_EXPORTED): New define.
26436         (PATH_SEPARATOR): New define.
26437         * intl/loadmsgcat.c: Switch to gettext copyright.
26438         * intl/localealias.c: Switch to gettext copyright.
26439         Use ANSI definitions and prototypes.
26440         (_nl_expand_alias): Use PATH_SEPARATOR.
26441         * intl/ngettext.c: Switch to gettext copyright.
26442         Use ANSI definitions and prototypes.
26443         * intl/plural-exp.c: Likewise.
26444         * intl/plural-exp.h: Switch to gettext copyright.
26445         Use ANSI definitions and prototypes.
26446         (struct expression): Move definition of enum operator outside
26447         of struct definition.
26448         * intl/plural.c: Regenerate.
26449         * intl/plural.y: Switch to gettext copyright.
26450         Use ANSI definitions and prototypes.
26451         Port to bison 3.0.
26452         * intl/textdomain.c: Switch to gettext copyright.
26453         Use ANSI definitions and prototypes.
26454         Use gl_* locking primitives rather than __libc_* ones.
26456 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26458         * debug/warning-nop.c: Add used atrribute.
26460 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26462         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26464         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26465         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26466         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26468 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26469             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26471         [BZ #17634]
26472         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26473         Undefine after defining function.  Define as weak alias of
26474         __wcschr.  Use libc_hidden_weak.
26475         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26476         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26477         (libc_hidden_def): Also define __GI___wcschr alias.
26478         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26479         __wcschr and define as weak alias of __wcschr.
26480         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26481         __wcschr.
26482         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26483         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26484         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26485         libc_hidden_weak.  Do not use libc_hidden_def.
26486         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26487         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26488         __GI___wcschr alias.
26489         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26490         [IS_IN (libc)] (wcschr): Define as macro expanding to
26491         __redirect_wcschr.
26492         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26493         [IS_IN (libc)] (__wcschr_power6): Likewise.
26494         [IS_IN (libc)] (__wcschr_power7): Likewise.
26495         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26496         instead of wcschr.
26497         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26498         __libc_wcschr.
26499         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26500         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26501         __wcschr and define as weak alias of __wcschr.  Use
26502         libc_hidden_builtin_def.
26503         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26504         as weak alias of __wcschr.  Use libc_hidden_weak.
26505         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26506         wcschr.
26507         * time/era.c (_nl_init_era_entries): Likewise.
26508         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26509         variable.
26510         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26511         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26513 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26515         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26516         format for long int variable.
26518 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26520         [BZ #10672]
26521         * manual/search.texi: (Array Sort Function): Remove claim how to make
26522         qsort stable.
26524 2014-12-10  Andreas Schwab  <schwab@suse.de>
26526         [BZ #12847]
26527         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26528         user-controlled locks.
26530 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26532         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26533         register.
26535 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26537         * configure.ac (--disable-werror): New configure option.
26538         (enable_werror): New AC_SUBST.
26539         * configure: Regenerated.
26540         * config.make.in (enable-werror): New variable.
26541         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26542         -Wno-error=undef.
26543         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26544         * manual/install.texi (Configuring and compiling): Document
26545         --disable-werror.
26546         * INSTALL: Regenerated.
26547         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26548         (CFLAGS-tst-chk2.c): Likewise.
26549         (CFLAGS-tst-chk3.c): Likewise.
26550         (CFLAGS-tst-chk4.cc): Likewise.
26551         (CFLAGS-tst-chk5.cc): Likewise.
26552         (CFLAGS-tst-chk6.cc): Likewise.
26553         (CFLAGS-tst-lfschk1.c): Likewise.
26554         (CFLAGS-tst-lfschk2.c): Likewise.
26555         (CFLAGS-tst-lfschk3.c): Likewise.
26556         (CFLAGS-tst-lfschk4.cc): Likewise.
26557         (CFLAGS-tst-lfschk5.cc): Likewise.
26558         (CFLAGS-tst-lfschk6.cc): Likewise.
26560         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26561         (main): Disable -Wdeprecated-declarations around calls to
26562         register_printf_function.
26564         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26565         (do_test): Disable -Wdiv-by-zero around some calls to
26566         fwrite_unlocked and fread_unlocked.
26568         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26569         (DIAG_POP_NEEDS_COMMENT): Likewise.
26570         (_DIAG_STR1): Likewise.
26571         (_DIAG_STR): Likewise.
26572         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26573         * stdio-common/bug21.c: Include <libc-internal.h>.
26574         (do_test): Disable -Wformat around call to sscanf.
26575         * stdio-common/scanf14.c: Include <libc-internal.h>.
26576         (main): Disable -Wformat around some calls to scanf functions.
26578 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26580         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26582 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26584         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26585         stack variable alignment.
26587 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26589         [BZ #17682]
26590         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26591         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26592         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26593         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26594         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26595         __getrlimit instead of getrlimit.
26596         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26597         __gettimeofday instead of gettimeofday.
26598         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26599         Likewise.
26600         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26601         Likewise.
26602         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26603         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26604         Remove variable.
26605         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26606         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26608 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26610         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26611         for wide-character tests.
26613 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26615         * io/openat64.c: #include <libc-internal.h>
26616         (__openat64): Prototypify.  Use ignore_value on MODE.
26617         * io/openat.c: Likewise.
26618         * misc/reboot.c: #include <libc-internal.h>
26619         (reboot): Prototypify.  Use ignore_value on HOWTO.
26620         * misc/ptrace.c: #include <libc-internal.h>
26621         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26623 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26625         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26626         XPG4, UNIX98 and XOPEN2K.
26627         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26628         Remove variable.
26629         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26631 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26633         * libio/fileops.c: Use ISO C style for function definitions.
26634         * libio/iofopen.c: Likewise.
26635         * libio/wfileops.c: Likewise.
26637         [BZ #17653]
26638         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26639         offset on EOF.
26640         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26641         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26642         (fgets_func): Function pointer to fgets and fgetws.
26643         (do_ftell_test): Add test to verify ftell value after read
26644         EOF.
26645         (do_test): Set fgets_func.
26647         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26648         O_TRUNC flag for w and w+ modes.
26649         (do_rewind_test): Likewise.
26650         (do_ftell_test): Likewise.
26651         (do_write_test): Likewise.
26653         [BZ #17647]
26654         * libio/fileops.c (do_ftell): Seek only when there are
26655         unflushed writes.
26656         * libio/wfileops.c (do_ftell_wide): Likewise.
26657         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26658         test case.
26659         (do_one_test): Call it.
26661 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26663         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26664         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26665         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26666         Remove variable.
26667         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26668         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26669         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26671 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26673         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26674         Remove variable.
26675         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26677         [BZ #17668]
26678         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26679         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26680         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26681         __freeifaddrs.  Use libc_hidden_weak.
26682         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26683         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26684         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26685         __freeifaddrs.  Use libc_hidden_weak.
26686         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26687         __getifaddrs and define as weak alias of __getifaddrs.  Use
26688         libc_hidden_weak.
26689         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26690         __freeifaddrs.  Use libc_hidden_weak.
26691         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26692         Remove variable.
26693         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26694         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26696 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26698         [BZ #17601]
26699         * sysdeps/mips/start.S (__start): Use indirect jump to call
26700         __libc_start_main.
26702 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26704         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26706         * nptl/tst-mutex1.c: Include <stdbool.h>.
26707         [!ATTR] (ATTR_NULL): New macro.
26708         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26709         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26710         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26712         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26713         to char *.
26715         [BZ #17665]
26716         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26717         Change conditional to [__USE_MISC].
26719         [BZ #17664]
26720         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26721         fgets_unlocked.
26722         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26723         __fgets_unlocked.
26724         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26725         fgets_unlocked.
26726         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26727         Remove variable.
26728         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26729         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26730         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26731         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26732         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26733         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26734         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26735         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26736         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26738         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26740 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26742         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26743         Remove strpbrk objects.
26744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26745         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26746         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26747         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26748         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26749         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26751         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26752         Remove strcspn objects.
26753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26754         (__libc_ifunc_impl_list): Remove strcspn implementation.
26755         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26756         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26757         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26758         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26760         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26761         Remove strspn objetcs.
26762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26763         (__libc_ifunc_impl_list): Remove strspn implementation.
26764         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26765         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26766         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26767         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26769 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26771         [BZ #17581]
26772         * malloc/hooks.c
26773         (mem2mem_check): Add a terminator to the chain of checking blocks.
26774         (malloc_check_get_size): Use it here.
26775         (mem2chunk_check): Ditto.
26777 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26779         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26780         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26782 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26784         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26786         * nptl/nptl-init.c: Include libc-internal.h.
26787         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26789         * elf/ldconfig.c (search_dir): Expand comment.
26791 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26793         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26794         variable.
26795         (linknamespace-symlist-stdlibs-tests): Likewise.
26796         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26797         instead of $(objpfx)symlist-stdlibs.
26798         (linknamespace-libs-isoc): New variable.
26799         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26800         (linknamespace-libs-ISO): New variable.
26801         (linknamespace-libs-ISO99): Likewise.
26802         (linknamespace-libs-ISO11): Likewise.
26803         (linknamespace-libs-XPG3): Likewise.
26804         (linknamespace-libs-XPG4): Likewise.
26805         (linknamespace-libs-POSIX): Likewise.
26806         (linknamespace-libs-UNIX98): Likewise.
26807         (linknamespace-libs-XOPEN2K): Likewise.
26808         (linknamespace-libs-POSIX2008): Likewise.
26809         (linknamespace-libs-XOPEN2K8): Likewise.
26810         ($(objpfx)symlist-stdlibs): Replace by
26811         $(linknamespace-symlist-stdlibs-tests).  Use
26812         $(linknamespace-libs-$*) as set of libraries.
26813         ($(linknamespace-header-tests)): Update dependencies.  Use
26814         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26815         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26816         * conform/linknamespace.pl: Remove comment about considering
26817         definitions of symbols from irrelevant libraries.
26819 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26821         [BZ #13862]
26822         * elf/dl-tls.c: Include <atomic.h>.
26823         (oom): Remove #ifdef SHARED/#endif.
26824         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26825         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26826         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26827         big enough.
26828         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26829         * nptl/Makefile (tests): Add tst-stack4.
26830         (modules-names): Add tst-stack4mod.
26831         ($(objpfx)tst-stack4): New.
26832         (tst-stack4mod.sos): Likewise.
26833         ($(objpfx)tst-stack4.out): Likewise.
26834         ($(tst-stack4mod.sos)): Likewise.
26835         (clean): Likewise.
26836         * nptl/tst-stack4.c: New file.
26837         * nptl/tst-stack4mod.c: Likewise.
26839 2014-11-27  J. Brown  <jb999@gmx.de>
26841         * sysdeps/x86/bits/string.h: Add recent CPUs.
26843 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26845         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26846         sigblock.
26848         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26849         feof.
26851         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26852         variable.
26854 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26856         * nscd/connections.c: Include libc-internal.h because of macro
26857         usage ignore_value.
26859 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26861         * string/bits/string3.h (__warn_memset_zero_len): Don't
26862         declare for gcc newer than 5.0.
26863         (memset): Don't test for zero-length __LEN for gcc newer than
26864         5.0.
26866 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26868         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26869         size_t for %zu format.
26871         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26872         difference, not %ju.
26874 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26876         * include/libc-internal.h (ignore_value): New macro.
26877         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26878         with ignore_value.
26880         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26881         definition.
26883         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26884         pthread_cleanup_push to void *.
26886         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26887         Undefine.
26889         [BZ #16619]
26890         [BZ #16740]
26891         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26892         instead of 1L << 52.
26894         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26895         * libio/bug-rewind2.c (do_test): Likewise.
26897         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26898         * debug/test-strcpy_chk-ifunc.c: Likewise.
26899         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26900         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26901         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26902         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26903         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26904         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26905         * Rules [$(multi-arch) = no] (tests): Do not filter out
26906         $(tests-ifunc).
26907         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26908         * debug/Makefile (tests-ifunc): Remove variable.
26909         (tests): Do not add $(tests-ifunc).
26910         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26911         (tests): Do not add $(tests-ifunc).
26912         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26913         [TEST_IFUNC]: Remove conditionals.
26914         * string/test-string.h (TEST_IFUNC): Remove macro.
26915         [TEST_IFUNC]: Remove conditionals.
26917         * string/test-strchr.c [!WIDE] (L): New macro.
26918         [WIDE] (L): Likewise.
26919         (check1): Use CHAR instead of char.  Use L on string and character
26920         constants.
26922 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26924         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26925         tests.
26926         * sysdeps/powerpc/bits/atomic.h
26927         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26928         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26929         (atomic_exchange_and_add_acq): Likewise.
26930         (atomic_exchange_and_add_rel): Likewise.
26931         * sysdeps/powerpc/powerpc32/bits/atomic.h
26932         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26933         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26934         * sysdeps/powerpc/powerpc64/bits/atomic.h
26935         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26936         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26938 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26940         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26941         Change synchronization of __sched_fifo_min_prio and
26942         __sched_fifo_max_prio.
26943         * nptl/pthread_mutexattr_getprioceiling.c
26944         (pthread_mutexattr_getprioceiling): Likewise.
26945         * nptl/pthread_mutexattr_setprioceiling.c
26946         (pthread_mutexattr_setprioceiling): Likewise.
26947         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26948         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26949         Likewise.
26951 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26953         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26954         void.
26956 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26958         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26959         third argument const.
26961 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26963         fnmatch: work around GCC compiler warning bug with uninit var
26964         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26965         This works around a bug with x86-64 GCC 4.9.2 and earlier
26966         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26967         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26968         used uninitialized in this function [-Wmaybe-uninitialized]".
26970 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26972         * posix/bug-regex31.c (main): Return RES not 0.
26974 2014-11-25  Anton Blanchard <anton@samba.org>
26976         * sysdeps/powerpc/bits/atomic.h
26977         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26979 2014-11-24  Sterling Augustine  <saugustine@google.com>
26981         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26983 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26985         [BZ #17608]
26986         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26988 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26990         [BZ #17633]
26991         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26992         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26993         variable.
26994         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26995         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26997 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26999         * string/strncpy.c (strncpy): Improve performance by using memset.
27001 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27003         * string/strcpy.c (strcpy):
27004         Improve performance by using strlen and memcpy.
27006 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27008         * string/strcoll_l.c (get_next_seq): __always_inline.
27009         * string/strcoll_l.c (do_compare): __always_inline.
27011 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27013         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27014         defined.
27015         * include/mqueue.h: Likewise.
27016         * include/stdlib.h: Likewise.
27018         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27019         (get_null_defines): Adjust.
27020         * sunrpc/Makefile: Adjust comment.
27021         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27022         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27023         (CFLAGS-interp.c): Likewise.
27024         (CFLAGS-ldconfig.c): Likewise.
27025         (CPPFLAGS-.os): Likewise.
27026         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27027         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27028         * extra-modules.mk (extra-modules.mk): Likewise.
27029         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27030         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27031         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27032         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27033         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27034         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27035         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27036         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27037         * iconvdata/Makefile (CPPFLAGS): Likewise.
27038         (cpp-srcs-left): Add libof for all iconvdata routines.
27039         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27040         * include/assert.h: Likewise.
27041         * include/ctype.h: Likewise.
27042         * include/errno.h: Likewise.
27043         * include/libc-symbols.h: Likewise.
27044         * include/math.h: Likewise.
27045         * include/netdb.h: Likewise.
27046         * include/resolv.h: Likewise.
27047         * include/stdio.h: Likewise.
27048         * include/stdlib.h: Likewise.
27049         * include/string.h: Likewise.
27050         * include/sys/stat.h: Likewise.
27051         * include/wctype.h: Likewise.
27052         * intl/l10nflist.c: Likewise.
27053         * libidn/idn-stub.c: Likewise.
27054         * libio/libioP.h: Likewise.
27055         * nptl/libc_multiple_threads.c: Likewise.
27056         * nptl/pthreadP.h: Likewise.
27057         * posix/regex_internal.h: Likewise.
27058         * resolv/res_hconf.c: Likewise.
27059         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27060         * sysdeps/arm/memmove.S: Likewise.
27061         * sysdeps/arm/sysdep.h: Likewise.
27062         * sysdeps/generic/_itoa.h: Likewise.
27063         * sysdeps/generic/symbol-hacks.h: Likewise.
27064         * sysdeps/gnu/errlist.awk: Likewise.
27065         * sysdeps/gnu/errlist.c: Likewise.
27066         * sysdeps/i386/i586/memcpy.S: Likewise.
27067         * sysdeps/i386/i586/memset.S: Likewise.
27068         * sysdeps/i386/i686/memcpy.S: Likewise.
27069         * sysdeps/i386/i686/memmove.S: Likewise.
27070         * sysdeps/i386/i686/mempcpy.S: Likewise.
27071         * sysdeps/i386/i686/memset.S: Likewise.
27072         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27073         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27074         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27075         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27076         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27077         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27078         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27079         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27080         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27081         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27082         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27083         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27084         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27085         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27086         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27087         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27088         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27089         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27090         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27091         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27092         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27093         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27094         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27095         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27096         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27097         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27098         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27099         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27100         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27101         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27102         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27103         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27104         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27105         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27106         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27107         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27108         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27109         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27110         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27111         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27112         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27113         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27114         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27115         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27116         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27117         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27118         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27119         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27120         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27121         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27122         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27123         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27124         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27125         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27126         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27127         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27128         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27129         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27130         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27131         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27132         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27133         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27134         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27135         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27136         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27137         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27138         * sysdeps/posix/closedir.c: Likewise.
27139         * sysdeps/posix/opendir.c: Likewise.
27140         * sysdeps/posix/readdir.c: Likewise.
27141         * sysdeps/posix/rewinddir.c: Likewise.
27142         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27143         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27144         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27145         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27146         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27147         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27148         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27149         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27150         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27151         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27152         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27153         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27154         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27155         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27156         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27157         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27158         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27159         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27160         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27161         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27162         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27163         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27164         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27165         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27166         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27167         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27168         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27169         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27170         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27174         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27176         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27177         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27178         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27179         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27180         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27181         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27182         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27183         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27184         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27185         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27186         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27187         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27188         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27189         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27190         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27191         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27192         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27193         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27194         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27195         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27196         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27197         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27198         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27199         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27200         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27201         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27202         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27203         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27204         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27205         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27206         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27207         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27208         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27209         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27210         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27211         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27212         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27213         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27214         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27215         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27216         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27217         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27218         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27219         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27220         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27221         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27222         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27223         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27224         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27225         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27226         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27227         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27228         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27229         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27230         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27231         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27232         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27233         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27234         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27235         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27236         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27237         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27238         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27239         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27240         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27241         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27242         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27243         * sysdeps/unix/alpha/sysdep.S: Likewise.
27244         * sysdeps/unix/alpha/sysdep.h: Likewise.
27245         * sysdeps/unix/make-syscalls.sh: Likewise.
27246         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27247         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27248         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27249         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27250         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27251         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27252         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27253         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27254         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27255         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27256         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27257         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27258         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27259         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27260         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27261         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27262         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27263         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27264         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27265         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27266         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27267         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27268         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27269         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27270         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27271         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27272         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27275         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27276         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27277         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27278         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27279         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27280         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27281         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27282         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27283         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27284         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27285         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27286         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27287         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27288         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27289         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27290         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27291         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27292         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27293         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27294         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27295         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27296         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27297         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27298         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27299         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27300         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27301         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27302         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27303         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27304         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27305         * sysdeps/x86_64/memcpy.S: Likewise.
27306         * sysdeps/x86_64/memmove.c: Likewise.
27307         * sysdeps/x86_64/memset.S: Likewise.
27308         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27309         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27310         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27311         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27312         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27313         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27314         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27315         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27316         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27317         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27318         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27319         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27320         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27321         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27322         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27323         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27324         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27325         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27326         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27327         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27328         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27329         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27330         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27331         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27332         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27333         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27334         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27335         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27336         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27337         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27338         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27339         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27340         * sysdeps/x86_64/strcmp.S: Likewise.
27342         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27344         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27345         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27346         * elf/rtld-Rules: Likewise.
27347         * elf/setup-vdso.h: Likewise.
27348         * include/assert.h: Likewise.
27349         * include/bits/stdlib-float.h: Likewise.
27350         * include/errno.h: Likewise.
27351         * include/sys/stat.h: Likewise.
27352         * include/unistd.h: Likewise.
27353         * sysdeps/aarch64/setjmp.S: Likewise.
27354         * sysdeps/alpha/setjmp.S: Likewise.
27355         * sysdeps/arm/__longjmp.S: Likewise.
27356         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27357         * sysdeps/arm/setjmp.S: Likewise.
27358         * sysdeps/arm/sysdep.h: Likewise.
27359         * sysdeps/generic/_itoa.h: Likewise.
27360         * sysdeps/generic/dl-sysdep.h: Likewise.
27361         * sysdeps/generic/ldsodefs.h: Likewise.
27362         * sysdeps/i386/dl-tls.h: Likewise.
27363         * sysdeps/i386/setjmp.S: Likewise.
27364         * sysdeps/m68k/setjmp.c: Likewise.
27365         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27366         * sysdeps/mach/hurd/opendir.c: Likewise.
27367         * sysdeps/posix/getcwd.c: Likewise.
27368         * sysdeps/posix/opendir.c: Likewise.
27369         * sysdeps/posix/profil.c: Likewise.
27370         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27371         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27372         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27373         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27374         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27375         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27376         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27377         * sysdeps/s390/dl-tls.h: Likewise.
27378         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27379         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27380         * sysdeps/sh/sh3/setjmp.S: Likewise.
27381         * sysdeps/sh/sh4/setjmp.S: Likewise.
27382         * sysdeps/unix/alpha/sysdep.h: Likewise.
27383         * sysdeps/unix/arm/sysdep.S: Likewise.
27384         * sysdeps/unix/i386/sysdep.S: Likewise.
27385         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27386         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27387         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27388         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27389         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27390         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27391         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27392         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27393         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27394         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27395         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27396         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27397         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27400         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27401         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27402         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27403         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27404         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27405         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27406         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27407         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27408         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27409         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27410         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27411         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27412         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27413         * sysdeps/x86_64/setjmp.S: Likewise.
27415         * include/math.h: Use IS_IN instead of IS_IN_libm.
27416         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27417         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27418         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27419         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27420         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27421         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27422         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27423         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27424         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27425         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27426         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27427         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27428         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27429         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27430         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27431         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27432         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27433         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27434         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27435         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27436         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27437         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27438         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27439         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27440         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27441         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27442         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27443         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27444         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27445         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27446         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27447         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27448         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27450         Likewise.
27451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27452         Likewise.
27453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27454         Likewise.
27455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27456         Likewise.
27457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27458         Likewise.
27459         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27460         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27461         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27462         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27463         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27464         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27470         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27471         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27472         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27473         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27474         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27475         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27476         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27477         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27478         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27479         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27480         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27481         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27482         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27483         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27485         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27487         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27488         * nptl/pthreadP.h: Likewise.
27489         * nptl_db/structs.def: Likewise.
27490         * sysdeps/arm/sysdep.h: Likewise.
27491         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27492         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27493         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27494         * sysdeps/unix/alpha/sysdep.h: Likewise.
27495         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27496         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27497         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27498         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27499         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27500         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27501         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27502         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27503         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27504         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27505         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27506         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27507         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27508         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27511         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27513         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27514         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27515         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27516         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27517         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27518         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27519         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27520         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27522         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27523         * nptl/pthreadP.h: Likewise.
27524         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27525         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27526         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27527         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27528         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27529         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27530         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27531         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27532         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27533         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27534         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27535         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27537         Likewise.
27538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27539         Likewise.
27540         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27541         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27542         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27543         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27544         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27545         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27546         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27547         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27549         * dlfcn/dladdr.c: Use IS_IN.
27550         * dlfcn/dladdr1.c: Likewise.
27551         * dlfcn/dlclose.c: Likewise.
27552         * dlfcn/dlerror.c: Likewise.
27553         * dlfcn/dlinfo.c: Likewise.
27554         * dlfcn/dlmopen.c: Likewise.
27555         * dlfcn/dlopen.c: Likewise.
27556         * dlfcn/dlsym.c: Likewise.
27557         * dlfcn/dlvsym.c: Likewise.
27559         * include/ifaddrs.h: Use IS_IN.
27560         * inet/check_pf.c: Likewise.
27561         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27562         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27564         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27565         IS_IN_ldconfig.
27566         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27567         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27569         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27570         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27571         IS_IN (libc).
27573         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27575         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27576         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27577         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27578         * include/libc-symbols.h (IS_IN_LIB): New macro.
27579         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27580         * include/netdb.h: Likewise.
27581         * include/stap-probe.h: Remove all uses of IN_LIB.
27583         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27584         instead of IN_MODULE.
27585         * include/libc-symbols.h (IN_MODULE): Define using
27586         MODULE_NAME.
27587         (PASTE_NAME, PASTE_NAME1): New macros.
27588         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27589         of IN_LIB.
27590         (STAP_PROBE_ASM): Likewise.
27592 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27594         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27595         __mach_init in dlopened libc.
27597 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27599         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27600         * sysdeps/arm/preconfigure: Regenerate.
27602 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27604         * nptl/pthread_create.c (__pthread_create_2_1): Set
27605         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27606         when copying values from IATTR into PD.
27608 2014-11-21  Will Newton  <will.newton@linaro.org>
27609             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27611         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27612         Refactor inline-asm.  Also add comment.
27614         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27615         ElfW macro instead of hardcoded Elf64 types.
27616         (la_aarch64_gnu_pltenter): Likewise.
27617         * sysdeps/aarch64/dl-machine.h
27618         (elf_machine_runtime_setup): Use ElfW(Addr).
27620         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27621         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27622         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27623         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27624         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27625         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27626         (R_AARCH64_TLS_DTPMOD): This.
27627         (R_AARCH64_TLS_DTPREL64): Rename to ...
27628         (R_AARCH64_TLS_DTPREL): This.
27629         (R_AARCH64_TLS_TPREL64): Rename to ...
27630         (R_AARCH64_TLS_TPREL): This.
27631         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27632         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27633         R_AARCH64_TLS_TPREL64.
27634         (elf_machine_rela): Likewise.
27636 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27638         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27639         by setting it to 0.  64b atomics are not supported currently.
27641 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27643         [BZ #16469]
27644         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27645         search domain names.
27647 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27649         [BZ #16469]
27650         * NEWS: Update.
27651         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27652         trailing dot.
27653         * posix/tst-getaddrinfo5.c: New.
27654         * posix/Makefile (tests): Add it.
27656 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27658         [BZ #14498]
27659         * NEWS: Fixed.
27660         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27661         after parsing line but before break_if_match.
27662         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27663         if there is a protocol mismatch.
27665 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27667         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27668         because the potential race is on the user-supplied stream.
27670 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27672         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27673         string literal if not passed a buffer.
27674         * manual/job.texi (ctermid): Update reasoning, note deviation
27675         from posix, suggest mtasurace when not passed a buffer, for
27676         future non-preliminary safety notes.
27678 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27680         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27681         of not passing it a buffer.
27682         Reported by Peng Haitao.
27684 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27686         * manual/Makefile ($(objpfx)stamp-summary): Require
27687         check-safety.sh to pass.
27688         * manual/check-safety.sh: Wish for verification that every
27689         @deftypefn and @deftypefun is followed by a @safety remark.
27691 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27693         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27695         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27696         PTHREAD_CANCEL_ASYNCHRONOUS.
27697         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27698         send SIGCANCEL.
27700         * nptl/default-sched.h: New file.
27701         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27702         * nptl/pthread_create.c: Include it.
27703         (__pthread_create_2_1): Use collect_default_sched instead of making
27704         Linux syscalls here directly.
27706 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27708         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27709         __pthread_once): Use C11 atomics.
27711 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27713         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27715 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27717         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27718         atomic_thread_fence_acquire, atomic_thread_fence_release,
27719         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27720         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27721         atomic_compare_exchange_weak_relaxed,
27722         atomic_compare_exchange_weak_acquire,
27723         atomic_compare_exchange_weak_release,
27724         atomic_exchange_acquire, atomic_exchange_release,
27725         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27726         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27727         atomic_fetch_and_acquire,
27728         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27730 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27732         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27733         USE_ATOMIC_COMPILER_BUILTINS): Define.
27734         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27736         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27738         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27740         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27742         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27744         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27746         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27748         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27750         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27751         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27752         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27754         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27756         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27757         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27758         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27760         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27762         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27764         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27765         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27766         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27768         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27769         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27770         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27771         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27772         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27773         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27775 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27777         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27778         the sched_priority value here.  It was already checked when the user
27779         called pthread_attr_setschedparam.
27781         * nptl/tst-bad-schedattr.c: New file.
27782         * nptl/Makefile (tests): Add it.
27784 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27785             Florian Weimer  <fweimer@redhat.com>
27786             Joseph Myers  <joseph@codesourcery.com>
27787             Adam Conrad  <adconrad@0c3.net>
27788             Andreas Schwab  <schwab@suse.de>
27789             Brooks  <bmoses@google.com>
27791         [BZ #17625]
27792         * wordexp-test.c (__dso_handle): Add prototype.
27793         (__register_atfork): Likewise.
27794         (__app_register_atfork): New function.
27795         (registered_forks): New global.
27796         (register_fork): New function.
27797         (test_case): Add 3 new tests for WRDE_CMDSUB.
27798         (main): Call __app_register_atfork.
27799         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27800         fork count is non-zero fail the test.
27801         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27802         is set.
27803         (parse_dollars): Remove check for WRDE_NOCMD.
27804         (parse_dquote): Likewise.
27806 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27808         * Makeconfig (built-modules): List non-library modules to be
27809         built.
27810         (module-cppflags): Include libc-modules.h for
27811         everything except shlib-versions.v.i.
27812         (CPPFLAGS): Use it.
27813         (before-compile): Add libc-modules.h.
27814         ($(common-objpfx)libc-modules.h,
27815         $(common-objpfx)libc-modules.stmp): New targets.
27816         (common-generated): Add libc-modules.h and libc-modules.stmp.
27817         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27818         * include/libc-symbols.h: Don't include libc-modules.h.
27819         * include/libc-modules.h: Remove file.
27820         * scripts/gen-libc-modules.awk: New script to generate
27821         libc-modules.h.
27822         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27823         Depend on libc-modules.stmp.
27825         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27827         * Makeconfig (in-module): Get value of libof set for the
27828         translation unit.
27829         (CPPFLAGS): Use $(in-module).
27830         * Makerules: Don't suffix routine names for nonlib.
27831         * include/libc-modules.h: New file.
27832         * include/libc-symbols.h: Include libc-modules.h
27833         (IS_IN): New macro to replace IS_IN_* macros.
27834         * elf/Makefile: Set libof-* for each routine.
27835         * elf/rtld-Rules: Likewise.
27836         * extra-modules.mk: Likewise.
27837         * iconv/Makefile: Likewise.
27838         * iconvdata/Makefile: Likewise.
27839         * locale/Makefile: Likewise.
27840         * malloc/Makefile: Likewise.
27841         * nss/Makefile: Likewise.
27842         * sysdeps/gnu/Makefile: Likewise.
27843         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27844         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27845         * sysdeps/s390/s390-64/Makefile: Likewise.
27846         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27847         CPPFLAGS for nscd instead of nonlib.
27849 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27851         * nptl/createthread.c: New file.
27853         * nptl/createthread.c: Moved ...
27854         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27856         * nptl/createthread.c: Add proper top-line comment.
27857         (do_clone): Folded into ...
27858         (create_thread): ... here.  Take new arguments STOPPED_START and
27859         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27860         increment __nptl_threads, do event-reporting logic, do
27861         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27862         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27863         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27864         just send SIGCANCEL.
27865         * nptl/pthread_create.c: Forward-declare create_thread before
27866         including createthread.c.
27867         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27868         declaration, and new macro START_THREAD_SELF to replace argument.
27869         Remove return statement.
27870         (report_thread_creation): New function.
27871         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27872         synchronization logic, and __nptl_nthreads increment here, around
27873         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27874         PD->parent_cancelhandling here, before create_thread.  When
27875         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27876         __deallocate_stack, and ENOMEM translation here.
27878 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27880         [BZ #17616]
27881         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27882         (mptwo): Rename to __mptwo.
27883         (__inv): Use __mptwo instead of mptwo.
27884         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27885         (mptwo): Rename to __mptwo.
27886         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27887         of mpone and __mptwo instead of mptwo.
27888         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27889         instead of mpone.
27890         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27891         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27892         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27893         of mpone and __mptwo instead of mptwo.
27894         (__mpranred): Use __mpone instead of mpone.
27895         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27896         variable.
27897         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27898         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27899         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27900         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27901         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27902         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27903         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27904         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27905         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27906         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27907         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27908         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27909         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27910         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27911         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27912         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27913         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27914         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27915         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27917 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27919         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27920         replace BSD Handler xref with BSD Signal Handling.
27922 2014-11-17  Richard Henderson  <rth@redhat.com>
27924         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27925         (_FP_PACK_RAW_2): Remove.
27926         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27927         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27928         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27929         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27930         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27931         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27932         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27933         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27934         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27935         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27936         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27937         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27938         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27939         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27940         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27941         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27943 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27945         * signal/signal.h [__USE_MISC]
27946         (struct sigvec): Remove type.
27947         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27948         (sigvec): Remove declaration.
27949         * sysdeps/posix/sigvec.c: Moved ...
27950         * signal/sigvec.c: ... here, replacing old file.
27951         (struct sigvec): New type, copied from old signal.h definition.
27952         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27953         (__sigvec): Convert definition to prototype.
27954         (sigvec): Replace weak_alias with compat_symbol.
27955         * signal/Versions (libc: GLIBC_2.21): New version set.
27956         * include/signal.h: Remove __sigvec declaration.
27957         * sysdeps/unix/bsd/sigvec.c: Remove file.
27958         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27959         * manual/signal.texi (BSD Handler): Remove subsection.
27960         Move siginterrupt up to ...
27961         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27962         (Blocking in BSD): Fold subsection into its parent.
27963         * NEWS: Mention sigvec removal.
27965 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27967         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27968         (DLA_FMS): Make definition conditional only on [__FMA4__].
27969         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27970         definition.
27972         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27973         Make definition conditional only on [PROF].
27974         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27975         definition.
27976         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27977         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27979         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27980         !__GNUC__].
27981         * include/signal.h (__sigpause): Move declaration above call to
27982         libc_hidden_proto.
27983         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27984         variable.
27985         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27986         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27988 2014-11-14  David S. Miller  <davem@davemloft.net>
27990         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27991         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27993 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27995         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27996         * configure: Regenerated.
27997         * manual/install.texi (Tools for Compilation): Document a
27998         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27999         compiler verified to work.
28000         * INSTALL: Regenerated.
28002         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28003         redeclare with asm name.
28004         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28005         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28006         including <string.h>.
28007         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28008         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28009         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28010         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28011         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28012         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28013         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28015 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28017         * stdlib/strtol.c (__strtol): Use prototype definition.
28019         [BZ #17594]
28020         * stdlib/strtol.c (SYM__): New macro.
28021         (SYM__1): Likewise.
28022         (__strtol): Likewise.
28023         (strtol): Rename to __strtol and define as weak alias of
28024         __strtol.  Use libc_hidden_weak.
28026 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28028         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28029         Use numbered labels in inline assembly.
28031 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28033         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28034         Add setjmp LIBC_PROBE.
28035         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28036         Likewise.
28037         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28038         Add longjmp, longjmp_target LIBC_PROBE.
28039         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28040         Likewise.
28042 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28044         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28045         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28046         to get rid of unused variable warning.
28048 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28050         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28051         Check for unwind_backtrace ==  NULL only in SHARED case.
28052         (__backchain_backtrace): Compile only in SHARED case.
28053         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28054         Likewise.
28055         (__backchain_backtrace): Declare as static.
28057 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28059         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28060         (__libc_multiple_threads_ptr): Variable moved ...
28061         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28063 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28065         * conform/GlibcConform.pm: New file.
28066         * conform/conformtest.pl: Use GlibcConform module.
28067         * conform/linknamespace.pl: New file.
28068         * conform/list-header-symbols.pl: Likewise.
28069         * conform/Makefile (linknamespace-symlists-base): New variable.
28070         (linknamespace-symlists-tests): Likewise.
28071         (linknamespace-header-base): Likewise.
28072         (linknamespace-header-tests): Likewise.
28073         (tests-special): Add new tests.
28074         ($(linknamespace-symlists-tests)): New rule.
28075         (linknamespace-libs): New variable.
28076         ($(objpfx)symlist-stdlibs): New rule.
28077         ($(linknamespace-header-tests)): Likewise.
28078         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28079         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28080         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28081         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28082         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28083         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28084         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28085         (test-xfail-ISO/math.h/linknamespace): Likewise.
28086         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28087         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28088         (test-xfail-ISO/time.h/linknamespace): Likewise.
28089         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28090         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28091         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28092         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28093         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28094         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28095         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28096         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28097         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28098         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28099         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28100         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28101         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28102         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28103         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28104         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28105         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28106         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28107         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28108         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28109         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28110         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28111         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28112         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28113         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28114         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28115         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28116         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28117         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28118         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28119         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28120         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28121         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28122         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28123         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28124         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28125         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28126         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28127         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28128         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28129         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28130         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28131         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28132         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28133         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28134         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28135         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28136         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28137         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28138         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28139         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28140         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28141         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28142         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28143         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28144         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28145         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28146         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28147         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28148         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28149         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28150         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28151         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28152         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28153         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28154         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28155         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28156         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28157         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28158         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28159         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28160         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28161         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28162         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28163         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28164         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28165         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28166         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28167         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28168         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28169         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28170         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28171         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28172         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28173         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28174         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28175         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28176         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28177         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28178         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28179         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28180         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28181         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28182         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28183         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28184         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28185         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28186         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28187         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28188         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28189         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28190         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28191         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28192         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28193         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28194         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28195         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28196         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28197         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28198         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28199         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28200         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28201         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28202         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28203         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28204         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28205         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28206         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28207         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28208         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28209         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28210         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28211         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28212         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28213         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28214         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28215         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28216         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28217         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28218         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28219         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28220         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28221         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28222         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28223         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28224         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28225         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28226         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28227         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28228         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28229         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28230         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28231         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28232         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28233         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28234         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28235         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28236         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28237         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28238         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28240         [BZ #17589]
28241         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28242         of fgets_unlocked.
28244         [BZ #17585]
28245         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28246         (memmem): Rename to __memmem and define as weak alias of
28247         __memmem.  Use libc_hidden_weak.
28248         (__memmem): Use libc_hidden_def.
28249         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28250         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28251         memmem.
28253         [BZ #17582]
28254         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28255         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28256         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28257         and define as weak alias of __fgets_unlocked.  Use
28258         libc_hidden_weak.
28259         (__fgets_unlocked): Use libc_hidden_def.
28260         * include/stdio.h (__fgets_unlocked): Declare.  Use
28261         libc_hidden_proto.
28262         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28263         __fgets_unlocked instead of fgets_unlocked.
28264         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28265         (GET_NPROCS_CONF_PARSER): Likewise.
28266         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28267         (GET_NPROCS_CONF_PARSER): Likewise.
28269         [BZ #17574]
28270         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28271         weak alias of __wmemset.  Use libc_hidden_weak.
28272         (__wmemset): Use libc_hidden_def.
28273         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28274         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28275         of wmemset.
28277         [BZ #17573]
28278         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28279         with asm name __mempcpy.
28280         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28282         [BZ #17572]
28283         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28284         and define as weak alias of __rawmemchr.
28285         (__rawmemchr): Do not define as strong alias of rawmemchr.
28287         [BZ #17571]
28288         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28289         alias of __qsort_r.
28290         (qsort): Call __qsort_r instead of qsort_r.
28291         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28292         (__qsort_r): Declare.  Call libc_hidden_proto.
28293         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28294         instead of qsort_r.
28295         * nscd/gai.c (__qsort_r): Define to qsort_r.
28296         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28297         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28298         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28300         [BZ #17570]
28301         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28302         define as weak alias of __malloc_info.
28304         [BZ #17584]
28305         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28306         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28307         (__rewinddir): Use libc_hidden_def.
28308         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28309         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28310         (__rewinddir): Use libc_hidden_def.
28311         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28312         weak alias of __rewinddir.  Don't use libc_hidden_def.
28313         (__rewinddir): Use libc_hidden_def.
28314         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28315         (__rewinddir): Use libc_hidden_proto.
28316         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28317         rewinddir.
28318         (__getcwd): Use __rewinddir instead of rewinddir.
28320         [BZ #17583]
28321         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28322         alias of __fileno.  Use libc_hidden_weak.
28323         (__fileno): Use libc_hidden_def.
28324         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28325         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28326         alias of __ftello.
28327         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28328         __ftello.
28329         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28330         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28331         libc_hidden_def.
28332         (fread_unlocked): Don't use libc_hidden_ver.
28333         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28334         and define as weak alias of __fread_unlocked.  Don't use
28335         libc_hidden_def.
28336         (__fread_unlocked): Use libc_hidden_def.
28337         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28338         (ftello): Don't use libc_hidden_proto.
28339         (__ftello): Declare.  Use libc_hidden_proto.
28340         (fread_unlocked): Don't use libc_hidden_proto.
28341         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28342         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28343         and __ftello instead of fileno, fread_unlocked and ftello.
28345 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28347         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28348         GOT12.
28349         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28350         Likewise.
28351         (_dl_start_user): Likewise.
28352         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28354 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28355             Siddhesh Poyarekar  <siddhesh@redhat.com>
28357         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28358         Move argv and envp down instead of moving argc up.
28359         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28361 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28363         [BZ #17506]
28364         * test-skeleton.c (main): Return successful if one of
28365         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28366         * string/tst-strcoll-overflow.c: Define expected status.
28368 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28370         [BZ #17475]
28371         * locale/iso-639.def: Define Bhili and Tulu language codes.
28373 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28375         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28377 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28379         [BZ #17555]
28380         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28382 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28384         * configure.ac: Updated check of minimal required version to
28385         2.22.
28386         * manual/install.texi (Tools for Compilation): Updated version
28387         number.
28388         * configure: Regenerated.
28389         * INSTALL: Likewise.
28391 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28393         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28394         __tls_get_addr.
28396 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28398         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28399         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28400         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28401         libc_hidden_weak.
28402         (waitpid): Define as alias of __waitpid.
28403         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28404         __waitpid.
28405         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28406         libc_hidden_weak.
28407         (waitpid): Define as alias of __waitpid.
28408         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28409         __libc_waitpid alias.
28410         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28411         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28412         Likewise.
28413         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28414         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28415         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28416         alias.
28417         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28418         __waitpid.
28419         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28420         libc_hidden_weak.
28421         (waitpid): Define as alias of __waitpid.
28423 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28425         * manual/llio.texi: Add comment that write safety has been
28426         fixed in Linux.
28428         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28429         (localplt-build-dso): Add elf/ld.so.
28430         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28431         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28432         and free for ld.so.
28433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28434         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28436         Likewise.
28437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28438         Likewise.
28439         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28440         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28441         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28442         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28443         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28444         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28445         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28446         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28447         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28448         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28449         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28451 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28453         [BZ #14132]
28454         * include/libc-symbols.h (INTUSE): Remove macro.
28455         (INTDEF): Likewise.
28456         (INTVARDEF): Likewise.
28457         (_INTVARDEF): Likewise.
28458         (INTDEF2): Likewise.
28459         (INTVARDEF2): Likewise.
28460         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28461         rtld_hidden_def instead of INTVARDEF.
28462         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28463         (_dl_starting_up_internal): Remove declaration.
28464         (_dl_starting_up): Use rtld_hidden_proto.
28465         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28466         declaration.
28467         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28468         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28469         _dl_starting_up.
28470         * elf/dl-writev.h (_dl_writev): Likewise.
28471         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28472         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28473         _dl_starting_up_internal.
28475 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28477         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28478         test-skeleton.c.
28480 2014-11-05  Will Newton  <will.newton@linaro.org>
28482         * benchtests/Makefile: (bench-malloc): Add malloc thread
28483         scalability benchmark.
28484         * benchtests/bench-malloc-threads.c: New file.
28486 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28488         * sysdeps/aarch64/strchrnul.S: New file.
28490 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28492         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28493         definition.
28494         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28495         Likwise.
28496         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28497         Likewise.
28498         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28499         Likewise.
28500         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28501         Likewise.
28502         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28503         Likewise.
28505 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28507         * catgets/test-gencat.c: Use test-skeleton.c.
28508         * catgets/tst-catgets.c: Likewise.
28509         * csu/tst-empty.c: Likewise.
28510         * elf/tst-audit2.c: Likewise.
28511         * elf/tst-global1.c: Likewise.
28512         * elf/tst-pathopt.c: Likewise.
28513         * elf/tst-piemod1.c: Likewise.
28514         * elf/tst-tls10.c: Likewise.
28515         * elf/tst-tls11.c: Likewise.
28516         * elf/tst-tls12.c: Likewise.
28517         * gnulib/tst-gcc.c: Likewise.
28518         * iconvdata/tst-e2big.c: Likewise.
28519         * iconvdata/tst-loading.c: Likewise.
28520         * iconv/tst-iconv1.c: Likewise.
28521         * iconv/tst-iconv2.c: Likewise.
28522         * inet/test-inet6_opt.c: Likewise.
28523         * inet/tst-gethnm.c: Likewise.
28524         * inet/tst-network.c: Likewise.
28525         * inet/tst-ntoa.c: Likewise.
28526         * intl/tst-codeset.c: Likewise.
28527         * intl/tst-gettext2.c: Likewise.
28528         * intl/tst-gettext3.c: Likewise.
28529         * intl/tst-ngettext.c: Likewise.
28530         * intl/tst-translit.c: Likewise.
28531         * io/test-stat.c: Likewise.
28532         * libio/test-fmemopen.c: Likewise.
28533         * libio/tst-freopen.c: Likewise.
28534         * libio/tst-sscanf.c: Likewise.
28535         * libio/tst-ungetwc1.c: Likewise.
28536         * libio/tst-ungetwc2.c: Likewise.
28537         * libio/tst-widetext.c: Likewise.
28538         * localedata/tst-ctype.c: Likewise.
28539         * localedata/tst-digits.c: Likewise.
28540         * localedata/tst-leaks.c: Likewise.
28541         * localedata/tst-mbswcs1.c: Likewise.
28542         * localedata/tst-mbswcs2.c: Likewise.
28543         * localedata/tst-mbswcs3.c: Likewise.
28544         * localedata/tst-mbswcs4.c: Likewise.
28545         * localedata/tst-mbswcs5.c: Likewise.
28546         * localedata/tst-setlocale.c: Likewise.
28547         * localedata/tst-trans.c: Likewise.
28548         * localedata/tst-wctype.c: Likewise.
28549         * localedata/tst-xlocale1.c: Likewise.
28550         * login/tst-grantpt.c: Likewise.
28551         * malloc/tst-calloc.c: Likewise.
28552         * malloc/tst-malloc.c: Likewise.
28553         * malloc/tst-mallocstate.c: Likewise.
28554         * malloc/tst-mcheck.c: Likewise.
28555         * malloc/tst-mtrace.c: Likewise.
28556         * malloc/tst-obstack.c: Likewise.
28557         * math/atest-exp2.c: Likewise.
28558         * math/atest-exp.c: Likewise.
28559         * math/atest-sincos.c: Likewise.
28560         * math/test-matherr.c: Likewise.
28561         * math/test-misc.c: Likewise.
28562         * math/test-powl.c: Likewise.
28563         * math/tst-definitions.c: Likewise.
28564         * misc/tst-dirname.c: Likewise.
28565         * misc/tst-efgcvt.c: Likewise.
28566         * misc/tst-fdset.c: Likewise.
28567         * misc/tst-hsearch.c: Likewise.
28568         * misc/tst-mntent2.c: Likewise.
28569         * nptl/tst-sem7.c: Likewise.
28570         * nptl/tst-sem8.c: Likewise.
28571         * nptl/tst-sem9.c: Likewise.
28572         * nss/test-netdb.c: Likewise.
28573         * posix/tst-fnmatch.c: Likewise.
28574         * posix/tst-getlogin.c: Likewise.
28575         * posix/tst-gnuglob.c: Likewise.
28576         * posix/tst-mmap.c: Likewise.
28577         * pwd/tst-getpw.c: Likewise.
28578         * resolv/tst-inet_ntop.c: Likewise.
28579         * rt/tst-timer.c: Likewise.
28580         * stdio-common/test-fseek.c: Likewise.
28581         * stdio-common/test-popen.c: Likewise.
28582         * stdio-common/test-vfprintf.c: Likewise.
28583         * stdio-common/tst-cookie.c: Likewise.
28584         * stdio-common/tst-fileno.c: Likewise.
28585         * stdio-common/tst-gets.c: Likewise.
28586         * stdio-common/tst-obprintf.c: Likewise.
28587         * stdio-common/tst-perror.c: Likewise.
28588         * stdio-common/tst-sprintf2.c: Likewise.
28589         * stdio-common/tst-sprintf3.c: Likewise.
28590         * stdio-common/tst-sprintf.c: Likewise.
28591         * stdio-common/tst-swprintf.c: Likewise.
28592         * stdio-common/tst-tmpnam.c: Likewise.
28593         * stdio-common/tst-unbputc.c: Likewise.
28594         * stdio-common/tst-wc-printf.c: Likewise.
28595         * stdlib/tst-environ.c: Likewise.
28596         * stdlib/tst-fmtmsg.c: Likewise.
28597         * stdlib/tst-limits.c: Likewise.
28598         * stdlib/tst-rand48-2.c: Likewise.
28599         * stdlib/tst-rand48.c: Likewise.
28600         * stdlib/tst-random2.c: Likewise.
28601         * stdlib/tst-random.c: Likewise.
28602         * stdlib/tst-strtol.c: Likewise.
28603         * stdlib/tst-strtoll.c: Likewise.
28604         * stdlib/tst-tls-atexit.c: Likewise.
28605         * stdlib/tst-xpg-basename.c: Likewise.
28606         * string/test-ffs.c: Likewise.
28607         * string/tst-bswap.c: Likewise.
28608         * string/tst-inlcall.c: Likewise.
28609         * string/tst-strtok.c: Likewise.
28610         * string/tst-strxfrm.c: Likewise.
28611         * sysdeps/x86_64/tst-audit10.c: Likewise.
28612         * sysdeps/x86_64/tst-audit3.c: Likewise.
28613         * sysdeps/x86_64/tst-audit4.c: Likewise.
28614         * sysdeps/x86_64/tst-audit5.c: Likewise.
28615         * time/tst-ftime_l.c: Likewise.
28616         * time/tst-getdate.c: Likewise.
28617         * time/tst-mktime3.c: Likewise.
28618         * time/tst-mktime.c: Likewise.
28619         * time/tst-posixtz.c: Likewise.
28620         * time/tst-strptime2.c: Likewise.
28621         * time/tst-strptime3.c: Likewise.
28622         * wcsmbs/tst-btowc.c: Likewise.
28623         * wcsmbs/tst-mbrtowc.c: Likewise.
28624         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28625         * wcsmbs/tst-wchar-h.c: Likewise.
28626         * wcsmbs/tst-wcpncpy.c: Likewise.
28627         * wcsmbs/tst-wcrtomb.c: Likewise.
28628         * wcsmbs/tst-wcsnlen.c: Likewise.
28629         * wcsmbs/tst-wcstof.c: Likewise.
28631 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28633         [BZ #14132]
28634         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28635         INTDEF.
28636         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28637         declaration.
28638         (_dl_mcount): Use rtld_hidden_proto.
28639         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28640         _dl_mcount.
28641         * elf/rtld.c (_rtld_global_ro): Likewise.
28643         [BZ #14132]
28644         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28645         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28646         of _dl_init_internal.
28647         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28648         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28649         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28650         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28651         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28652         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28653         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28654         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28655         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28656         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28657         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28658         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28659         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28660         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28661         * sysdeps/tile/dl-start.S (_start): Likewise.
28662         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28663         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28665         [BZ #14132]
28666         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28667         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28668         (rtld_progname): Make macro definition unconditional.
28669         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28670         INTDEF.
28671         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28672         (dl_main): Likewise.
28673         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28674         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28675         instead of _dl_argv_internal.
28676         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28677         __GI__dl_argv instead of INTUSE(_dl_argv).
28678         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28679         __GI__dl_argv instead of _dl_argv_internal.
28681         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28682         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28683         macro.
28684         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28685         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28686         New macro.
28687         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28688         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28689         macro.
28690         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28691         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28693 2014-11-04  Andreas Schwab  <schwab@suse.de>
28695         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28697 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28699         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28700         mtvsrd instruction in binary form.
28702 2014-11-03  Andreas Schwab  <schwab@suse.de>
28704         [BZ #17522]
28705         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28706         for less than MB_LEN_MAX use a local buffer of that size.
28707         * libio/tst-fputws.c: New file.
28708         * libio/Makefile (tests): Add tst-fputws.
28710 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28712         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28713         the size of the fpu_fr.fpu_dregs[] array.
28715 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28717         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28718         (__nanosleep): Do not define as alias.
28719         (nanosleep): Define as alias of __nanosleep.
28720         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28721         __libc_nanosleep name.
28723 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28725         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28726         install.texi in comment.
28728 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28730         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28731         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28732         ... add here and use lwsync or sync ...
28733         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28734         ... and add here using lwsync.
28736 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28738         * elf/dl-machine-reject-phdr.h: New file.
28739         * elf/dl-load.c: #include that.
28740         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28741         if that returned true.
28743 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28745         [BZ #17496]
28746         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28747         gen-as-const-headers chunk.  Add a big scare comment after the last
28748         safe place to touch before-compile.
28750 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28752         * manual/install.texi (Tools for Compilation): Update autoconf
28753         version requirements.
28754         * INSTALL: Regenerated.
28756         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28757         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28758         (__libc_pselect): Likewise.
28760         [BZ #14138]
28761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28766 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28768         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28769         correct barrier instruction.
28770         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28771         Likewise.
28772         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28773         Likewise.
28775 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28777         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28778         after defining inlines.  Instead, just use parens to defeat macro
28779         expansion of __isctype in its declaration.
28781 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28783         * include/sys/uio.h (__libc_readv): Remove declaration.
28784         (__libc_writev): Likewise.
28785         * misc/readv.c (__libc_readv): Rename to __readv.
28786         (__readv): Do not define as alias.
28787         (readv): Define as alias of __readv.
28788         * misc/writev.c (__libc_writev): Rename to __writev.
28789         (__writev): Do not define as alias.
28790         (writev): Define as alias of __writev.
28791         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28792         (__readv): Do not define as alias.
28793         (readv): Define unconditionally as alias of __readv.
28794         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28795         (__writev): Do not define as alias.
28796         (writev): Define unconditionally as alias of __writev.
28797         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28798         name.
28799         (writev): Do not define __libc_writev name.
28801 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28803         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28804         (convert_charseq): New function, broken out of ...
28805         (use_from_charmap): ... here.  Call it.
28806         (use_to_charmap): Use convert_charseq and free instead of duplicating
28807         its code with a variable-length stack struct.
28809 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28811         * include/fcntl.h (__libc_creat): Remove declaration.
28812         * io/creat.c (__libc_creat): Rename to creat.
28813         (creat): Do not define as alias.
28814         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28815         of creat instead of __libc_creat.
28816         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28817         to creat.
28818         (creat): Do not define as alias.
28819         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28820         __libc_creat.
28821         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28822         __libc_creat name.
28823         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28824         Likewise.
28826 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28828         * manual/llio.texi: Add comments discussing why write() may be
28829         considered MT-unsafe on Linux.
28831 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28833         * dl-load.c (local_strdup): Remove.
28834         (expand_dynamic_string_token): Use __strdup.
28835         (decompose_rpath): Likewise.
28836         (_dl_map_object): Likewise.
28838 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28840         [BZ #14132]
28841         * sysdeps/generic/unwind-dw2-fde.c
28842         (__register_frame_info_bases_internal): Do not declare.
28843         (__register_frame_info_table_bases_internal): Likewise.
28844         (__deregister_frame_info_bases_internal): Likewise.
28845         (__register_frame_info_bases): Declare and use hidden_proto before
28846         definition.  Use hidden_def instead of INTDEF.
28847         (__register_frame_info_table_bases): Likewise.
28848         (__deregister_frame_info_bases): Likewise.
28849         (__register_frame_info): Do not use INTUSE.
28850         (__register_frame): Likewise.
28851         (__register_frame_info_table): Likewise.
28852         (__register_frame_table): Likewise.
28853         (__deregister_frame_info): Likewise.
28854         (__deregister_frame): Likewise.
28856 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28858         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28859         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28860         not undefine.
28861         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28862         Likewise.
28863         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28864         Likewise.
28866 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28868         [BZ #14138]
28869         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28870         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28871         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28872         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28873         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28874         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28875         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28876         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28877         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28878         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28879         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28880         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28881         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28882         syscall.
28883         (setfsuid): Likewise.
28884         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28885         (setfsuid): Likewise.
28886         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28887         (setfsuid): Likewise.
28888         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28889         Likewise.
28890         (setfsuid): Likewise.
28891         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28892         (setfsuid): Likewise.
28893         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28894         Likewise.
28895         (setfsuid): Likewise.
28897 2014-10-27  Andreas Schwab  <schwab@suse.de>
28899         [BZ #17501]
28900         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28901         check for Slow_SSE4_2 feature bit.
28902         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28903         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28904         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28905         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28907 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28909         * configure.ac: Validate compiler version with a empirical test of
28910         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28911         $CC -v output.
28912         * configure: Regenerated.
28914         * inet/htons.c (htons): Prototypify.
28915         * inet/htonl.c (htonl): Likewise.
28917 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28919         * string/strncat.c (strncat): Improve performance by using strlen.
28921 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28923         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28925 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28927         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28928         Call libc_fetestexcept_aarch64.
28930 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28932         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28933         Call libc_feholdexcept_aarch64.
28935 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28937         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28938         Call get_rounding_mode.
28940 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28942         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28943         Simplify logic.
28945 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28947         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28948         Simplify logic.
28950 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28952         [BZ #14138]
28953         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28954         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28955         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28956         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28957         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28958         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28959         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28960         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28961         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28962         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28963         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28964         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28965         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28966         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28967         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28968         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28969         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28970         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28971         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28972         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28973         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28974         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28975         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28976         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28977         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28978         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28979         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28980         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28981         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28982         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28983         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28984         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28985         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28986         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28987         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28988         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28989         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28990         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28991         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28992         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28993         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28994         syscall.
28995         (geteuid): Likewise.
28996         (getgid): Likewise.
28997         (getuid): Likewise.
28998         (getresgid): Likewise.
28999         (getresuid): Likewise.
29000         (getgroups): Likewise.
29001         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29002         (geteuid): Likewise.
29003         (getgid): Likewise.
29004         (getuid): Likewise.
29005         (getresgid): Likewise.
29006         (getresuid): Likewise.
29007         (getgroups): Likewise.
29008         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29009         (geteuid): Likewise.
29010         (getgid): Likewise.
29011         (getuid): Likewise.
29012         (getresgid): Likewise.
29013         (getresuid): Likewise.
29014         (getgroups): Likewise.
29015         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29016         Likewise.
29017         (geteuid): Likewise.
29018         (getgid): Likewise.
29019         (getuid): Likewise.
29020         (getresgid): Likewise.
29021         (getresuid): Likewise.
29022         (getgroups): Likewise.
29023         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29024         (geteuid): Likewise.
29025         (getgid): Likewise.
29026         (getuid): Likewise.
29027         (getresgid): Likewise.
29028         (getresuid): Likewise.
29029         (getgroups): Likewise.
29030         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29031         Likewise.
29032         (geteuid): Likewise.
29033         (getgid): Likewise.
29034         (getuid): Likewise.
29035         (getgroups): Likewise.
29037         [BZ #14138]
29038         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29039         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29040         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29041         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29042         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29043         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29044         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29045         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29046         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29047         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29048         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29049         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29050         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29051         __chown.
29052         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29053         (lchown): Likewise.
29054         (fchown): Likewise.
29055         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29056         Likewise.
29057         (lchown): Likewise.
29058         (fchown): Likewise.
29059         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29060         (lchown): Likewise.
29061         (fchown): Likewise.
29062         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29063         Likewise.
29064         (lchown): Likewise.
29065         (fchown): Likewise.
29067 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29069         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29070         Simplify logic.
29072 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29074         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29075         Cleanup logic.
29077 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29079         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29080         Remove unused include.
29082 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29084         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29085         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29086         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29087         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29089 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29090             Helge Deller <deller@gmx.de>
29092         [BZ #17508]
29093         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29094         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29095         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29097 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29099         [BZ #14132]
29100         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29101         Remove macro definition.
29102         (__ashrdi3_v_glibc20): Likewise.
29103         (__lshrdi3_v_glibc20): Likewise.
29104         (__cmpdi2_v_glibc20): Likewise.
29105         (__ucmpdi2_v_glibc20): Likewise.
29106         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29107         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29108         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29109         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29110         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29111         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29113 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29115         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29116         old GNU extension [0] syntax.
29117         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29118         alloca rather than an array member with variable length.
29119         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29120         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29121         (parse_opt): ... here.  Likewise use alloca there.
29122         Validate the -i argument before checking for rootness.
29123         (send_shutdown): New function, broken out of ...
29124         (parse_opt): ... here.
29126 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29128         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29129         macro to get at the _rt_local_ro field.
29130         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29131         ([PIC] case) or _dl_hwcap ([!PIC] case).
29132         * sysdeps/arm/setjmp.S: Likewise.
29134         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29135         * sysdeps/arm/configure.ac: New check to define it.
29136         * sysdeps/arm/configure: Regenerated.
29137         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29138         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29139         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29140         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29141         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29142         Use move/movt pair instead of a load.
29143         (LDST_GLOBAL): Macro removed.
29144         (LDR_GLOBAL): New macro replaces it.
29145         (LDR_HIDDEN): New macro.
29146         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29147         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29149         * setjmp/tst-setjmp-static.c: New file.
29150         * setjmp/Makefile (tests): Add it.
29151         (tests-static): New variable.
29153 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29155         [BZ #17485]
29156         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29158 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29160         [BZ #14132]
29161         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29163 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29165         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29167 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29169         * io/fts.c (dirent_not_directory): New function.
29170         (fts_build): Call it.
29172 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29174         * nptl/version.c (__nptl_main): Use normal __write rather than
29175         INTERNAL_SYSCALL.
29176         (banner): Update copyright years.
29178         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29179         gettimeofday.
29180         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29181         * nptl/pthread_cond_timedwait.c: Likewise.
29182         * nptl/pthread_mutex_timedlock.c: Likewise.
29183         * nptl/sem_timedwait.c: Likewise.
29185         * sysdeps/nptl/bits/libc-lock.h
29186         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29187         (__libc_lock_init_recursive): Return void, not 0.
29188         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29189         (__libc_rwlock_init): Likewise.
29190         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29192 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29194         [BZ #15215]
29195         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29196         (__pthread_once_slow): ... here.
29197         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29198         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29200 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29202         [BZ #15215]
29203         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29204         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29205         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29206         * nptl/pthread_once.c (__pthread_once): Likewise.
29207         Update comments.
29209 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29211         [BZ #14138]
29212         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29213         name.
29214         (writev): Use __libc_writev as strong name.
29215         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29216         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29218 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29220         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29222         * sysdeps/i386/nptl/tls.h
29223         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29224         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29225         New macros.
29226         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29227         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29228         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29229         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29230         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29231         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29233         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29234         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29235         on [__NR_futex].
29236         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29237         broken out of ...
29238         (__pthread_mutex_init): ... here.  Call it.
29239         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29240         Conditionalize PI cases on [__NR_futex].
29241         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29242         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29243         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29245         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29246         conditional on [SIGSETXID].
29247         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29248         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29249         is defined.  Likewise for SIGSETXID.
29250         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29251         Conditionalize definitions on [SIGSETXID].
29252         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29253         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29254         unblocking on [SIGCANCEL].
29256         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29257         [__NR_set_robust_list].
29259 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29261         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29262         (do_compare): Likewise.
29264 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29266         [BZ #15884]
29267         * string/strcoll_l.c: Don't include stdio.h.
29268         (coll_seq): Remove members idxarr and rulearr.
29269         (get_next_seq_cached): Remove function.
29270         (get_next_seq): Likewise.
29271         (get_next_seq_nocache): Rename to get_next_seq.
29272         (do_compare): Remove function.
29273         (do_compare_nocache): Rename to do_compare.
29274         (STRCOLL): Remove weight and rules cache.
29276 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29278         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29279         * sysdeps/arm/sfp-machine.h: ... to here.
29280         * sysdeps/arm/Implies: Remove arm/soft-fp.
29282 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29284         * conform/data/sys/utsname.h-data (*_t): Allow.
29285         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29286         [POSIX] (WEXITED): Do not expect constant.
29287         [POSIX] (WSTOPPED): Likewise.
29288         [POSIX] (WNOHANG): Likewise.
29289         [POSIX] (WNOWAIT): Likewise.
29290         [POSIX] (siginfo_t): Do not expect type or elements.
29291         [POSIX] (pid_t): Do not expect type.
29292         [POSIX] (signal.h): Do not allow header.
29293         [POSIX] (sys/resource.h): Likewise.
29294         [POSIX] (si_*): Do not allow pattern.
29295         [POSIX] (W*): Likewise.
29296         [POSIX] (P_*): Likewise.
29297         [POSIX] (BUS_*): Likewise.
29298         [POSIX] (CLD_*): Likewise.
29299         [POSIX] (FPE_*): Likewise.
29300         [POSIX] (ILL_*): Likewise.
29301         [POSIX] (POLL_*): Likewise.
29302         [POSIX] (SEGV_*): Likewise.
29303         [POSIX] (SI_*): Likewise.
29304         [POSIX] (TRAP_*): Likewise.
29305         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29306         variable.
29308 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29310         [BZ #12926]
29311         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29312         infinite loop when __recvmsg returns 0.
29314 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29316         * CANCEL-FCT-WAIVE: Remove file.
29317         * CANCEL-FILE-WAIVE: Likewise.
29319         [BZ #14132]
29320         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29321         instead of INTVARDEF.
29322         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29323         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29324         rtld_hidden_data_def instead of INTVARDEF.
29325         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29326         * elf/dl-deps.c (expand_dst): Likewise.
29327         * elf/dl-load.c (_dl_dst_count): Likewise.
29328         (_dl_dst_substitute): Likewise.
29329         (decompose_rpath): Likewise.
29330         (_dl_init_paths): Likewise.
29331         (open_path): Likewise.
29332         (_dl_map_object): Likewise.
29333         * elf/rtld.c (dl_main): Likewise.
29334         (process_dl_audit): Likewise.
29335         (process_envvars): Likewise.
29336         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29337         Remove declaration.
29338         (__libc_enable_secure): Use rtld_hidden_proto.
29340 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29342         * elf/dl-load.c
29343         (add_path): New function broken out of _dl_rtld_di_serinfo.
29344         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29346 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29348         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29349         parentheses around macro arguments.
29350         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29351         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29352         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29353         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29354         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29357         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29358         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29361         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29362         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29363         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29365         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29366         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29367         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29369         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29370         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29372         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29373         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29376         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29377         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29378         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29379         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29380         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29381         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29382         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29383         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29384         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29385         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29386         Likewise.
29387         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29388         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29389         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29390         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29391         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29392         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29393         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29394         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29395         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29396         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29397         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29398         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29399         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29400         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29401         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29402         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29403         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29404         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29405         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29406         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29407         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29408         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29409         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29410         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29411         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29412         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29413         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29414         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29415         (_FP_FRAC_SRS_1): Likewise.
29416         (_FP_FRAC_CLZ_1): Likewise.
29417         (_FP_MUL_MEAT_1_imm): Likewise.
29418         (_FP_MUL_MEAT_1_wide): Likewise.
29419         (_FP_MUL_MEAT_1_hard): Likewise.
29420         (_FP_SQRT_MEAT_1): Likewise.
29421         (_FP_FRAC_ASSEMBLE_1): Likewise.
29422         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29423         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29424         (__FP_CLZ_2): Likewise.
29425         (_FP_MUL_MEAT_2_wide): Likewise.
29426         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29427         (_FP_MUL_MEAT_2_gmp): Likewise.
29428         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29429         (_FP_SQRT_MEAT_2): Likewise.
29430         (_FP_FRAC_ASSEMBLE_2): Likewise.
29431         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29432         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29433         (_FP_FRAC_CLZ_4): Likewise.
29434         (_FP_MUL_MEAT_4_wide): Likewise.
29435         (_FP_MUL_MEAT_4_gmp): Likewise.
29436         (_FP_SQRT_MEAT_4): Likewise.
29437         (_FP_FRAC_ASSEMBLE_4): Likewise.
29438         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29439         * soft-fp/op-common.h (_FP_CMP): Likewise.
29440         (_FP_CMP_EQ): Likewise.
29441         (_FP_CMP_UNORD): Likewise.
29442         (_FP_TO_INT): Likewise.
29443         (_FP_FROM_INT): Likewise.
29444         [!__FP_CLZ] (__FP_CLZ): Likewise.
29445         (_FP_DIV_HELP_imm): Likewise.
29446         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29447         Likewise.
29448         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29449         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29450         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29451         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29452         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29453         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29454         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29455         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29456         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29458         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29459         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29460         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29461         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29462         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29463         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29464         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29465         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29466         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29467         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29468         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29469         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29470         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29471         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29473         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29474         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29476         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29477         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29478         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29479         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29480         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29481         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29482         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29483         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29484         (FP_UNPACK_RAW_SP): Likewise.
29485         (FP_PACK_RAW_S): Likewise.
29486         (FP_PACK_RAW_SP): Likewise.
29487         (FP_UNPACK_S): Likewise.
29488         (FP_UNPACK_SP): Likewise.
29489         (FP_UNPACK_SEMIRAW_S): Likewise.
29490         (FP_UNPACK_SEMIRAW_SP): Likewise.
29491         (FP_PACK_S): Likewise.
29492         (FP_PACK_SP): Likewise.
29493         (FP_PACK_SEMIRAW_S): Likewise.
29494         (FP_PACK_SEMIRAW_SP): Likewise.
29495         (_FP_SQRT_MEAT_S): Likewise.
29496         (FP_CMP_S): Likewise.
29497         (FP_CMP_EQ_S): Likewise.
29498         (FP_CMP_UNORD_S): Likewise.
29499         (FP_TO_INT_S): Likewise.
29500         (FP_FROM_INT_S): Likewise.
29502         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29504         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29505         (FP_EX_INVALID_IMZ): Likewise.
29506         (FP_EX_INVALID_IMZ_FMA): Likewise.
29507         (FP_EX_INVALID_ISI): Likewise.
29508         (FP_EX_INVALID_ZDZ): Likewise.
29509         (FP_EX_INVALID_IDI): Likewise.
29510         (FP_EX_INVALID_SQRT): Likewise.
29511         (FP_EX_INVALID_CVI): Likewise.
29512         (FP_EX_INVALID_VC): Likewise.
29513         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29514         "invalid" exceptions.
29515         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29516         (_FP_ADD_INTERNAL): Likewise.
29517         (_FP_MUL): Likewise.
29518         (_FP_FMA): Likewise.
29519         (_FP_DIV): Likewise.
29520         (_FP_CMP_CHECK_NAN): Likewise.
29521         (_FP_SQRT): Likewise.
29522         (_FP_TO_INT): Likewise.
29523         (FP_EXTEND): Likewise.
29525 2014-10-09  Allan McRae  <allan@archlinux.org>
29527         * po/fr.po: Update French translation from translation project.
29529 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29531         [BZ #14132]
29532         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29533         of INTDEF.
29534         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29535         (__cxa_atexit): Use libc_hidden_proto.
29536         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29538         [BZ #14132]
29539         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29540         declaration.
29541         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29542         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29543         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29544         [!_ISOMAC] (__iswctype_internal): Likewise.
29545         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29546         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29547         alias.
29548         (fcntl): Remove __fcntl_internal alias.
29549         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29550         __connect_internal alias.
29551         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29552         Likewise.
29554         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29555         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29556         FP_DENORM_ZERO.
29557         (_FP_CHECK_FLUSH_ZERO): New macro.
29558         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29559         (_FP_CMP): Likewise.
29560         (_FP_CMP_EQ): Likewise.
29561         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29562         FP_DENORM_ZERO.
29563         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29564         (FP_TRUNC): Likewise.
29566         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29567         treated as invalid conversion, not as normal exponent.
29569         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29570         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29571         (_FP_CMP_EQ): Likewise.
29572         (_FP_CMP_UNORD): Likewise.
29573         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29574         (FP_CMP_EQ_D): Likewise.
29575         (FP_CMP_UNORD_D): Likewise.
29576         * soft-fp/extended.h (FP_CMP_E): Likewise.
29577         (FP_CMP_EQ_E): Likewise.
29578         (FP_CMP_UNORD_E): Likewise.
29579         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29580         (FP_CMP_EQ_Q): Likewise.
29581         (FP_CMP_UNORD_Q): Likewise.
29582         * soft-fp/single.h (FP_CMP_S): Likewise.
29583         (FP_CMP_EQ_S): Likewise.
29584         (FP_CMP_UNORD_S): Likewise.
29585         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29586         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29587         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29588         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29589         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29590         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29591         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29592         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29593         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29594         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29595         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29596         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29597         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29598         to FP_CMP_Q.
29599         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29600         FP_CMP_Q.
29601         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29602         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29603         FP_CMP_EQ_Q.
29604         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29605         FP_CMP_Q.
29606         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29607         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29608         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29609         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29610         FP_CMP_EQ_Q.
29611         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29612         FP_CMP_Q.
29613         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29614         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29615         FP_CMP_EQ_Q.
29616         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29617         FP_CMP_Q.
29618         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29619         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29620         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29621         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29622         FP_CMP_EQ_Q.
29624         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29625         a subnormal result, set the underflow exception if trapping on
29626         underflow is enabled.
29627         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29628         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29629         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29630         redefine to 0.
29631         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29632         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29633         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29634         * soft-fp/extendxftf2.c (__extendxftf2): Use
29635         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29637         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29638         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29639         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29640         FP_HANDLE_EXCEPTIONS.
29641         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29642         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29643         FP_HANDLE_EXCEPTIONS.
29644         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29645         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29646         FP_HANDLE_EXCEPTIONS.
29647         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29648         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29649         FP_HANDLE_EXCEPTIONS.
29651 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29653         [BZ #14132]
29654         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29655         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29656         use INTUSE.
29657         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29658         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29659         Remove alias.
29660         (__adjtimex): Define using libc_hidden_ver.
29661         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29662         Remove declaration.
29663         (ntp_gettime): Call __adjtimex directly.
29664         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29665         Remove declaration.
29666         (ntp_gettimex): Call __adjtimex directly.
29667         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29668         __adjtimex_internal alias.
29670 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29672         [BZ #17460]
29673         * nscd/nscd.c (more_help): Rewrite list of tables collection
29674         using xstrdup and asprintf.
29676         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29678 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29679             Roland McGrath  <roland@hack.frob.com>
29681         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29682         (do_lookup_unique): ... local function 'enter' here; update callers.
29684 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29686         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29687         compat_symbol calls on [SHARED].
29688         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29689         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29690         Remove.
29691         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29692         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29693         (oldsetrlimit): Remove.
29694         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29696         (lchown): New syscall entry.
29697         (oldsetrlimit): Remove.
29698         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29699         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29700         (oldsetrlimit): Remove.
29701         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29703         [BZ #14138]
29704         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29705         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29706         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29707         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29708         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29709         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29710         (fchown): Likewise.
29711         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29712         (fchown): Likewise.
29713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29714         Likewise.
29716 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29718         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29719         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29720         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29721         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29722         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29723         Likewise.
29724         (__old_sem_post): Likewise.
29726 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29728         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29729         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29730         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29731         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29732         Use INLINE_VSYSCALL macro.
29733         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29734         __vdso_clock_gettime.
29735         * sysdeps/unix/sysv/linux/tile/init-first.c
29736         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29737         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29738         __vdso_clock_gettime.
29740         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29741         to set up frame more cleanly.
29743         * sysdeps/tile/memcmp.c: New file.
29745         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29747         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29748         * sysdeps/tile/tilegx/strcasestr.c: New file.
29749         * sysdeps/tile/tilegx/strnlen.c: New file.
29750         * sysdeps/tile/tilegx/strstr.c: New file.
29752         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29754 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29756         * nptl/tst-setuid3.c: Write errors to stdout.
29758 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29760         * elf/dl-deps.c
29761         (preload): New functions broken out of _dl_map_object_deps.
29762         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29764 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29766         [BZ #14138]
29767         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29768         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29770 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29772         * sysdeps/mips/strcmp.S: New.
29774 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29776         [BZ #14138]
29777         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29778         (linkat): Likewise.
29779         (mkdirat): Likewise.
29780         (readlinkat): Likewise.
29781         (renameat): Likewise.
29782         (symlinkat): Likewise.
29783         (unlinkat): Likewise.
29784         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29785         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29786         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29787         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29788         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29789         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29790         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29792 2014-09-30  Will Newton  <will.newton@linaro.org>
29794         * math/math.h: Define long double math functions if
29795         _LIBC_TEST is defined.
29796         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29798         * localedata/Makefile: Move assignment to tests-special
29799         into an ifdef testing run-built-tests.
29800         * timezone/Makefile: Likewise.
29802 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29804         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29805         with $(BASH) not $(SHELL).
29807 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29808             Matthew LeGendre  <legendre1@llnl.gov>
29810         [BZ #17411]
29811         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29812         l_reloc_result.
29814 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29816         * stdio-common/printf_fp.c
29817         (hack_digit): New function, broken out of ...
29818         (__printf_fp): ... local function here.  Update call sites.
29819         hack_digit now takes an additional parameter that is a pointer
29820         to a struct of the referenced locals.  Those locals moved inside
29821         the struct and references updated.
29823 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29825         * aclocal.m4: Require autoconf 2.69.
29826         * configure: Regenerated.
29827         * sysdeps/aarch64/configure: Likewise.
29828         * sysdeps/alpha/configure: Likewise.
29829         * sysdeps/arm/armv7/configure: Likewise.
29830         * sysdeps/arm/configure: Likewise.
29831         * sysdeps/ia64/configure: Likewise.
29832         * sysdeps/mach/configure: Likewise.
29833         * sysdeps/mips/configure: Likewise.
29834         * sysdeps/s390/configure: Likewise.
29835         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29838         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29839         file.
29840         * sysdeps/ia64/configure.ac: Likewise.
29842 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29845         specify symbol version for ld.so.  Do not include entry for
29846         libpthread.
29847         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29848         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29849         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29851         [BZ #14171]
29852         * Makeconfig [$(build-shared) = yes]
29853         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29854         makefiles.
29855         [$(build-shared) = yes && $(soversions.mk-done) = t]
29856         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29857         [$(build-shared) = yes && $(soversions.mk-done) = t]
29858         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29859         to Makerules.
29860         [$(build-shared) = yes && $(soversions.mk-done) = t]
29861         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29862         here.
29863         [$(build-shared) = yes && $(soversions.mk-done) = t]
29864         (common-generated): Don't append gnu/lib-names.h and
29865         gnu/lib-names.stmp here.
29866         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29867         (lib-names-h-abi): New variable.
29868         [$(build-shared) = yes && $(soversions.mk-done) = t]
29869         (lib-names-stmp-abi): Likewise.
29870         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29871         abi-variants] (before-compile): Append
29872         $(common-objpfx)$(lib-names-h-abi).
29873         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29874         abi-variants] (common-generated): Append gnu/lib-names.h.
29875         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29876         abi-variants] (install-others-nosubdir): Depend on
29877         $(inst_includedir)/$(lib-names-h-abi).
29878         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29879         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29880         [$(build-shared) = yes && $(soversions.mk-done) = t]
29881         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29882         [$(build-shared) = yes && $(soversions.mk-done) = t]
29883         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29884         [$(build-shared) = yes && $(soversions.mk-done) = t]
29885         (common-generated): Append $(lib-names-h-abi) and
29886         $(lib-names-stmp-abi).
29887         * scripts/lib-names.awk: Do not handle multi being set.
29888         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29889         Remove variable.
29890         (abi-lp64_be-ld-soname): Likewise.
29891         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29892         Likewise.
29893         (abi-hard-ld-soname): Likewise.
29894         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29895         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29896         Remove variable.
29897         (abi-o32_hard-ld-soname): Likewise.
29898         (abi-o32_soft_2008-ld-soname): Likewise.
29899         (abi-o32_hard_2008-ld-soname): Likewise.
29900         (abi-n32_soft-ld-soname): Likewise.
29901         (abi-n32_hard-ld-soname): Likewise.
29902         (abi-n32_soft_2008-ld-soname): Likewise.
29903         (abi-n32_hard_2008-ld-soname): Likewise.
29904         (abi-n64_soft-ld-soname): Likewise.
29905         (abi-n64_hard-ld-soname): Likewise.
29906         (abi-n64_soft_2008-ld-soname): Likewise.
29907         (abi-n64_hard_2008-ld-soname): Likewise.
29908         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29909         Likewise.
29910         (abi-64-v2-ld-soname): Likewise.
29911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29912         ld.so entries.
29913         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29914         variable.
29915         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29916         entry.
29917         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29918         variable.
29919         (abi-64-ld-soname): Likewise.
29920         (abi-x32-ld-soname): Likewise.
29921         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29922         entry.
29923         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29925 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29927         [BZ #14138]
29928         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29929         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29930         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29931         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29932         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29933         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29934         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29935         syscall entry for GLIBC_2.2 symbol version.
29936         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29937         Likewise.
29938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29939         (setrlimit): Likewise.
29940         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29941         Likewise.
29943 2014-09-23  Will Newton  <will.newton@linaro.org>
29945         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29946         _LINUX_ARM_SYSDEP_H include guard too.
29947         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29948         define.
29950 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29952         * sysdeps/unix/sysv/linux/eventfd.c:
29953         Make first argument unsigned.
29954         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29955         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29957 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29959         [BZ #16852]
29960         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29961         * socket/sys/socket.h: Likewise.
29962         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29964 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29966         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29968 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29970         * time/tst-ftime.c: New test.
29971         * time/Makefile (tests): Add tst-ftime.
29973 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29975         * soft-fp/extended.h: Fix comment formatting.
29976         * soft-fp/op-1.h: Likewise.
29977         * soft-fp/op-2.h: Likewise.
29978         * soft-fp/op-4.h: Likewise.
29979         * soft-fp/op-8.h: Likewise.
29980         * soft-fp/op-common.h: Likewise.
29981         * soft-fp/soft-fp.h: Likewise.
29983         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29985 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29987         [BZ #6652]
29988         * Makeconfig (soversions-default-setname): Remove variable.
29989         ($(common-objpfx)soversions.i): Don't pass default_setname to
29990         soversions.awk.
29991         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29992         oldest_abi to abi-versions.awk.
29993         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29994         * config.make.in (oldest-abi): Remove variable.
29995         * configure.ac (--enable-oldest-abi): Remove configure option.
29996         * configure: Regenerated.
29997         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29998         text.
29999         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30000         * scripts/soversions.awk: Do not handle default_setname variable.
30001         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30002         variable.
30003         * sysdeps/mach/hurd/configure: Regenerated.
30004         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30005         variable.
30006         * sysdeps/unix/sysv/linux/configure: Regenerated.
30008 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30010         * elf/Makefile (CFLAGS-interp.c): Remove.
30011         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30012         path string.
30013         * elf/interp.c: Include generated runtime-linker.h
30015         * Makerules (lib%.so): Don't include $(+interp) in
30016         prerequisites.
30017         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30018         * dlfcn/eval.c: Remove file.
30020         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30021         macros.
30023         [BZ #17266]
30024         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30025         4.2 and newer.
30027         [BZ #17370]
30028         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30030 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30031             Jakub Jelinek  <jakub@redhat.com>
30033         [BZ #17266]
30034         * libio/stdio.h: Check definition of __fortify_function
30035         instead of __extern_always_inline to include bits/stdio2.h.
30036         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30037         check if __extern_always_inline is defined.
30038         [__USE_MISC || __USE_XOPEN]: Likewise.
30039         [__USE_ISOC99] Likewise.
30040         * misc/sys/cdefs.h (__fortify_function): Define only if
30041         __extern_always_inline is defined.
30042         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30043         __extern_always_inline and __extern_inline only for g++-4.3
30044         and newer or a compatible gcc.
30046 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30048         [BZ #17371]
30049         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30050         last change to handle zero prefix length.
30052 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30054         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30055         _SC_REGEX_VERSION.
30057         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30058         _POSIX_RAW_SOCKETS.
30060 2014-09-13  Allan McRae  <allan@archlinux.org>
30062         * po/ru.po: Update Russian translation from translation project.
30064 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30066         * locale/programs/locale.c (show_locale_vars): Inline local function
30067         into its sole call site.  Clean up some style nits.
30068         (print_item): New function, broken out of ...
30069         (show_info): ... local function here.  Clean up style nits.
30071         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30072         out of ...
30073         (set_class_defaults): ... local function set_default here.
30074         Define set_default as a macro locally to pass constant parameters.
30075         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30076         rather than a shared local.
30078         * stdlib/rpmatch.c (try): New function, broken out of ...
30079         (rpmatch): ... local function here.  Also, prototypify definition.
30081 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30083         * scripts/soversions.awk: Do not handle configuration names.
30084         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30085         vendor and os variables to soversions.awk.
30086         * configure.ac: Do not modify gnu-* host_os.
30087         * configure: Regenerated
30088         * shlib-versions: Remove first column with configuration names.
30089         * nptl/shlib-versions: Likewise.
30090         * nptl_db/shlib-versions: Likewise.
30091         * sysdeps/hppa/shlib-versions: Likewise.
30092         * sysdeps/m68k/shlib-versions: Likewise.
30093         * sysdeps/mach/hurd/shlib-versions: Likewise.
30094         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30095         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30096         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30097         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30098         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30099         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30100         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30101         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30103         Likewise.
30104         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30105         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30106         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30107         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30108         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30109         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30110         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30111         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30114         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30116         Regenerated.
30117         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30119         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30121         * shlib-versions: Remove OS-specific entries.  Moved to files in
30122         sysdeps.
30123         * sysdeps/mach/hurd/shlib-versions: New file.
30124         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30126         * nptl/shlib-versions: Remove architecture-specific entries.
30127         Moved to files in sysdeps.
30128         * shlib-versions: Likewise.
30129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30130         file.
30131         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30132         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30133         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30134         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30136         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30137         (UDP_NO_CHECK6_RX): Likewise.
30139 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30141         * sysdeps/posix/sysconf.c (__sysconf): Spell
30142         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30144 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30146         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30147         loading.
30148         * iconv/Versions (__gconv_transliterate): Export for use from
30149         gconv modules.
30150         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30151         (struct __gconv_trans_data, __gconv_trans_fct,
30152         __gconv_trans_context_fct, __gconv_trans_query_fct,
30153         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30154         definitions.
30155         (struct __gconv_step_data): Remove __trans member.
30156         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30157         longer hidden.  Remove unused trans_data argument.
30158         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30159         (__gconv_translit_find): Remove declaration.
30160         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30161         prototype.
30162         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30163         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30164         trans_data argument.  Add hidden definition.
30165         (__gconv_translit_find): Remove.
30166         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30167         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30168         * iconv/skeleton.c: Remove transliteration initialization.
30169         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30170         __gconv_step_data initialization.
30171         * libio/iofwide.c (__libio_translit_): Remove.
30172         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30173         * wcsmbs/btowc.c (__btowc): Likewise.
30174         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30175         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30176         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30177         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30178         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30179         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30180         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30181         * wcsmbs/wctob.c (wctob): Likewise.
30183 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30185         [BZ #16194]
30186         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30187         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30188         register usage.
30189         * sysdeps/x86/Makefile: Adjust.
30191 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30192             Roland McGrath  <roland@hack.frob.com>
30194         * locale/weight.h: Add include guard.
30195         (findidx): Make static rather than auto; take new parameters
30196         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30197         * locale/weightwc.h: Likewise.
30198         * posix/fnmatch_loop.c
30199         (FCT): Change type of EXTRA from int32_t to wint_t.
30200         Don't include either header inside the function.
30201         Call FINDIDX rather than findidx, and pass new arguments.
30202         #undef FINDIDX at the end of the file.
30203         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30204         FINDIDX before including fnmatch_loop.c for the non-wide version.
30205         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30206         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30207         for the wide version.
30208         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30209         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30210         Pass new arguments to findidx.
30211         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30212         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30213         Don't #include it inside the function.  Pass new arguments to findidx.
30214         * posix/regex_internal.h
30215         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30216         (re_string_elem_size_at): Don't #include it inside the function.
30217         Pass new arguments to findidx.
30218         * string/strcoll_l.c: #include WEIGHT_H at top level.
30219         (get_next_seq): Don't #include it inside the function.
30220         Pass new arguments to findidx.
30221         (get_next_seq_nocache): Likewise.
30222         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30223         (STRXFRM): Don't #include it inside the function.
30224         Pass new arguments to findidx.
30226 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30228         [BZ #17344]
30229         * malloc/malloc.c (unlink): Turn asserts into a call to
30230         malloc_printerr.
30232 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30234         [BZ #17370]
30235         * libio/wfileops (do_ftell_wide): Free OUT.
30237 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30239         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30241 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30243         [BZ #17363]
30244         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30245         group if the current group is empty.
30247 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30249         * benchtests/bench-memset.c (test_main): Add more test from size
30250         from 32 to 512 bytes.
30251         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30252         Add POWER8 memset object.
30253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30254         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30255         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30256         implementation.
30257         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30258         Likewise.
30259         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30260         multiarch POWER8 memset optimization.
30261         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30262         POWER8 memset optimization.
30264         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30265         Remove bzero multiarch objects.
30266         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30267         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30268         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30269         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30270         Remove define.
30271         [__bzero]: Redefine to specific name.
30272         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30273         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30274         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30275         define.
30276         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30277         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30279 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30281         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30282         warnings into errors.
30284         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30285         __cxa_thread_atexit_impl prototype.
30287 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30289         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30290         Fix capitalization of error message.
30292 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30294         * sysdeps/mips/preconfigure: Modify ABI tests.
30296 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30298         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30300 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30301             Carlos O'Donell  <carlos@systemhalted.org>
30303         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30304         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30305         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30306         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30307         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30308         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30309         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30310         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30311         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30312         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30313         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30314         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30315         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30316         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30317         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30318         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30319         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30320         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30321         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30322         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30323         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30324         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30325         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30326         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30327         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30328         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30329         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30330         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30331         Deconditionalize the code that was previously under [RESET_PID].
30332         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30333         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30334         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30335         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30336         include sysdep.h.
30338 2014-09-08  Allan McRae  <allan@archlinux.org>
30340         * version.h (RELEASE): Set to "development".
30341         (VERSION): Set to "2.20.90"
30343 2014-09-07  Allan McRae  <allan@archlinux.org
30345         * version.h (RELEASE): Set to "stable".
30346         (VERSION): Set to "2.20"
30347         * include/features.h (__GLIBC_MINOR__): Set to 20.
30349         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30350         Liebler.
30352         * po/ko.po: Update Korean translation from translation project.
30354 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30356         [BZ #17354]
30357         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30358         macro for handling signed relocations.
30360 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30362         [BZ #17325]
30363         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30364         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30365         assert.
30366         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30367         * iconvdata/ibm935.c (BODY): Likewise.
30368         * iconvdata/ibm937.c (BODY): Likewise.
30369         * iconvdata/ibm939.c (BODY): Likewise.
30370         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30371         assert.
30372         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30373         script.
30374         * iconvdata/run-iconv-test.sh: New test loop for checking for
30375         decoder crashers.
30377 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30379         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30380         libm_hidden_ver.
30382 2014-09-01  Allan McRae  <allan@archlinux.org>
30384         * po/eo.po: Update Esperanto translation from translation project.
30386         * po/ca.po: Update Catalan translation from translation project.
30388 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30390         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30391         __proc_dostop call.
30393 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30395         [BZ #17319]
30396         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30397         to call set_thread_area instead of hand written asm.
30398         (__NR_set_thread_area): Removed define.
30399         (TLS_FLAG_WRITABLE): Likewise.
30400         (__ASSUME_SET_THREAD_AREA): Remove check.
30401         (TLS_EBX_ARG): Remove define.
30402         (TLS_LOAD_EBX): Likewise.
30404 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30406         Simplify atomicity of socket creation in bind.
30408         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30409         looking up the name after linking the file.
30411 2014-08-27  Allan McRae  <allan@archlinux.org>
30413         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30415 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30417         [BZ #17187]
30418         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30419         trans_compare, open_translit, __gconv_translit_find):
30420         Remove module loading code.
30422 2014-08-26  Allan McRae  <allan@archlinux.org>
30424         * po/vi.po: Update Vietnamese translation from translation project.
30426         * po/uk.po: Update Ukrainian translation from translation project.
30428         * po/fr.po: Update French translation from translation project.
30430         * po/ru.po: Update Russian translation from translation project.
30432         * po/pl.po: Update Polish translation from translation project.
30434         * po/cs.po: Update Czech translation from translation project.
30436         * po/de.po: Update German translation from translation project.
30438         * po/bg.po: Update Bulgarian translation from translation project.
30440         * po/sv.po: Update Sweedish translation from translation project.
30442         * po/nl.po: Update Dutch translation from translation project.
30444         * po/es.po: Update Spanish translation from translation project.
30446 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30448         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30450         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30451         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30452         (CPPFLAGS-iconvconfig): Likewise.
30453         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30455         * include/libc-symbols.h: Remove unnecessary check for
30456         NOT_IN_libc.
30457         * nptl/pthreadP.h: Likewise.
30458         * sysdeps/aarch64/setjmp.S: Likewise.
30459         * sysdeps/alpha/setjmp.S: Likewise.
30460         * sysdeps/arm/sysdep.h: Likewise.
30461         * sysdeps/i386/setjmp.S: Likewise.
30462         * sysdeps/m68k/setjmp.c: Likewise.
30463         * sysdeps/posix/getcwd.c: Likewise.
30464         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30465         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30466         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30467         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30468         * sysdeps/sh/sh3/setjmp.S: Likewise.
30469         * sysdeps/sh/sh4/setjmp.S: Likewise.
30470         * sysdeps/unix/alpha/sysdep.h: Likewise.
30471         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30472         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30473         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30474         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30477         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30478         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30479         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30480         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30481         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30482         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30483         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30484         * sysdeps/x86_64/setjmp.S: Likewise.
30486 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30488         [BZ #17263]
30489         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30490         <stdint.h>.
30491         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30492         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30494 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30496         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30498         [BZ #17262]
30499         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30500         and __x86_64__ when disabling x87 inline functions.
30502 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30504         [BZ #17259]
30505         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30506         asm statement with __cpuid_count.
30508 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30510         * configure.ac: Change __ehdr_start code to dereference the struct.
30511         Run readelf on the output to look for relocations.
30512         * configure: Regenerated.
30514 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30516         [BZ #17261]
30517         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30518         value to 0.
30519         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30521 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30523         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30525 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30527         [BZ #16892]
30528         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30529         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30531 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30533         * malloc/malloc.c: Fix typo in comment.
30535 2014-08-09  Allan McRae  <allan@archlinux.org>
30537         * Regenerate libc.po.
30539 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30541         * intl/tst-gettext2.sh: Check every lang file for creation.
30543 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30545         * sysdeps/aarch64/fpu/math_private.h
30546         (libc_feholdsetround_noex_aarch64_ctx): New function.
30548 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30550         * sysdeps/arm/armv6/strcpy.S (strcpy):
30551         Fix performance issue in misaligned cases.
30553 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30555         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30556         Move definition from termios.h.
30557         (struct termio): Likewise.
30558         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30559         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30560         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30561         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30562         Likewise.
30563         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30564         Move definition to ioctl-types.h
30565         (struct termio): Likewise.
30566         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30567         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30568         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30569         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30570         Likewise.
30572 2014-08-05  Richard Henderson  <rth@redhat.com>
30574         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30575         exceptions.
30576         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30577         Add fraiseexcpt.
30578         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30579         Use __feraiseexcept.
30580         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30581         Protect libm symbols with IS_IN_libm.
30583         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30585 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30587         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30589 2014-08-04  Will Newton  <will.newton@linaro.org>
30591         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30592         file.
30594 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30596         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30597         variants for each function.
30599 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30601         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30602         appended ...
30603         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30604         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30605         appended ...
30606         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30607         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30608         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30609         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30610         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30611         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30612         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30613         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30614         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30615         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30616         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30617         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30618         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30619         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30620         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30621         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30622         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30623         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30624         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30625         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30626         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30627         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30628         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30629         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30630         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30631         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30632         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30633         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30634         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30635         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30636         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30637         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30638         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30639         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30640         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30641         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30642         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30643         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30644         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30645         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30646         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30647         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30648         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30649         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30650         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30651         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30652         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30653         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30654         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30655         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30656         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30657         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30658         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30659         Update #include.
30660         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30661         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30663 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30665         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30666         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30667         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30668         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30669         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30670         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30672 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30674         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30675         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30676         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30677         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30679 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30681         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30682         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30683         (__libc_vfork): Define function under this name.
30684         (__vfork): Define as an alias.
30685         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30686         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30688 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30690         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30691         that was previously under [RESET_PID].
30692         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30694 2014-08-04  Andreas Schwab  <schwab@suse.de>
30696         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30698 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30700         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30701         (main): Likewise.
30703 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30705         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30707 2014-08-01  Richard Henderon  <rth@redhat.com>
30709         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30710         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30711         typo in exact zero test.
30712         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30713         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30714         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30716 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30718         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30719         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30720         * sysdeps/arm/sysdep.h: ... here.
30721         [!__ASSEMBLER__]: Include <stdint.h>.
30723 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30725         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30726         (HAVE_WCTYPE_H): Likewise.
30727         (HAVE_ISWCTYPE): Likewise.
30728         (ENABLE_NLS): Likewise.
30729         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30730         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30732         * posix/regex_internal.c: Check if DEBUG is defined and is
30733         set.
30735         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30736         (HAVE_MBSRTOWCS): Likewise.
30737         * posix/fnmatch.c: Include string.h unconditionally.
30739 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30741         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30742         reversal.
30744 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30746         * sysdeps/generic/safe-fatal.h: New file.
30747         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30748         * nptl/forward.c: Include it.
30749         (__pthread_unwind): Use __safe_fatal as default action, rather
30750         than a bogus use of INTERNAL_SYSCALL that could never work.
30752         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30753         * configure.ac (libc_cv_builtin_trap): New test.
30754         * configure: Regenerated.
30755         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30756         (ABORT_INSTRUCTION): Define using __builtin_trap.
30758         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30759         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30760         * sysdeps/nptl/nptl-signals.h: New file.
30761         * nptl/pthreadP.h: Include <nptl-signals.h>.
30763 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30765         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30766         (ONE_DIRECTION): Define.
30767         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30768         (ONE_DIRECTION): Define.
30769         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30770         (ONE_DIRECTION): Define.
30772 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30774         * sysdeps/s390/Makefile: Delete file.
30775         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30776         * sysdeps/s390/__longjmp.c: Delete file.
30777         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30778         Remove fields __flags and __reserved.
30779         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30780         and add versioning.
30781         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30782         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30783         * sysdeps/s390/rtld-setjmp.S: Likewise.
30784         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30785         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30786         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30787         * sysdeps/s390/s390-32/setjmp.S: ... here.
30788         Add versioning.
30789         (__sigsetjmp): Remove setting __flags field.
30790         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30791         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30792         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30793         * sysdeps/s390/s390-64/setjmp.S: ... here.
30794         Add versioning.
30795         (__sigsetjmp): Remove setting __flags field.
30796         * sysdeps/s390/setjmp.S: Delete file.
30797         * sysdeps/s390/sigjmp.c: Likewise.
30798         * sysdeps/s390/v1-longjmp.c: Likewise.
30799         * sysdeps/s390/v1-setjmp.h: Likewise.
30800         * sysdeps/s390/v1-sigjmp.c: Likewise.
30801         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30802         Remove v1-longjmp_chk.
30803         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30804         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30805         Include debug/longjmp_chk.c and add versioning.
30806         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30807         Include nptl/pt-longjmp.c and add versioning.
30808         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30809         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30810         Include __longjmp.c.
30811         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30812         Move to ...
30813         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30814         (__getcontext): Remove setting __flags field.
30815         Add versioning.
30816         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30817         Don't restore upper high grps.
30818         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30819         Likewise.
30820         (__swapcontext): Remove setting uc_flags field.
30821         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30822         Delete file.
30823         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30824         Include __longjmp.c.
30825         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30826         Move to ...
30827         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30828         (__getcontext): Remove setting __flags field.
30829         Add versioning.
30830         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30831         (__swapcontext): Remove setting uc_flags field.
30832         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30833         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30834         Remove fields uc_high_gprs and __reserved.
30835         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30836         New file with reverted content.
30837         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30838         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30839         Regenerated.
30840         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30841         Regenerated.
30843 2014-07-31  Andreas Schwab  <schwab@suse.de>
30845         * config.h.in (HAVE_IFUNC): Define to 0.
30846         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30847         definedness.
30849 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30851         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30852         memmove-avx-unaligned, memcpy-avx-unaligned and
30853         mempcpy-avx-unaligned.
30854         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30855         Add tests for AVX memcpy functions.
30856         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30857         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30858         memcpy_chk.
30859         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30860         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30861         memmove_chk.
30862         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30863         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30864         mempcpy_chk.
30865         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30866         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30867         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30869 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30871         [BZ #17213]
30872         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30873         powerpc64le.
30875 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30877         [BZ #16839]
30878         * manual/llio.texi: Add section about open file description locks.
30879         * manual/examples/ofdlocks.c: Example of open file description
30880         lock usage.
30881         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30882         F_OFD_SETLK, and F_OFD_SETLKW.
30884 2014-07-23  Allan McRae  <allan@archlinux.org>
30886         * po/es.po: Update Spanish translation from translation project.
30888 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30890         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30892 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30894         [BZ #17078]
30895         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30896         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30897         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30899 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30901         [BZ #17088]
30902         * math/fesetenv.c (__fesetenv)
30903         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30904         * math/feupdateenv.c (__feupdateenv)
30905         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30907         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30908         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30909         (__ASSUME_SOCKETCALL): Do not define.
30911         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30912         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30913         (__ASSUME_SOCKETCALL): Do not define.
30914         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30915         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30916         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30917         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30918         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30919         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30920         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30921         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30923         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30924         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30925         (__ASSUME_SOCKETCALL): Do not define.
30926         (__ASSUME_IPC64): Define unconditionally.
30927         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30928         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30929         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30930         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30931         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30932         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30933         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30934         Likewise.
30936         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30937         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30938         (__ASSUME_SOCKETCALL): Do not define.
30939         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30940         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30941         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30942         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30943         (__ASSUME_REQUEUE_PI): Define unconditionally.
30944         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30945         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30946         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30947         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30948         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30949         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30951         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30952         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30953         (__ASSUME_SOCKETCALL): Do not define.
30954         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30955         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30956         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30957         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30958         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30959         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30961         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30962         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30963         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30964         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30965         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30966         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30967         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30968         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30969         (__ASSUME_GETCPU_SYSCALL): Likewise.
30971         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30972         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30973         cases for individual architectures.
30974         * sysdeps/gnu/configure: Regenerated.
30975         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30976         LIBC_SLIBDIR_RTLDDIR.
30977         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30978         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30979         LIBC_SLIBDIR_RTLDDIR.
30980         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30982         LIBC_SLIBDIR_RTLDDIR.
30983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30984         Regenerated.
30985         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30986         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30987         file.
30988         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30989         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30990         file.
30991         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30992         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30993         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30994         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30996         * sysdeps/aarch64/shlib-versions: Move to ...
30997         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30998         * sysdeps/alpha/shlib-versions: Move to ...
30999         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31000         * sysdeps/arm/shlib-versions: Move to ...
31001         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31002         * sysdeps/hppa/shlib-versions: Move all contents except for
31003         libgcc_s entry to ...
31004         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31005         entry from ...
31006         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31007         * sysdeps/ia64/shlib-versions: Move to ...
31008         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31009         entry from ...
31010         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31011         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31012         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31013         * sysdeps/microblaze/shlib-versions: Move to ...
31014         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31015         * sysdeps/mips/shlib-versions: Move to ...
31016         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31017         entry from ...
31018         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31019         * sysdeps/tile/shlib-versions: Move to ...
31020         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31021         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31022         from ...
31023         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31024         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31025         entry from ...
31026         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31028 2014-07-17  Will Newton  <will.newton@linaro.org>
31030         * sysdeps/arm/bits/atomic.h
31031         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31032         (__arch_compare_and_exchange_bool_16_int): Likewise.
31033         (__arch_compare_and_exchange_bool_64_int): Likewise.
31035         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31036         into an #else block.
31038 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31040         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31041         just Linux configurations.  Test empirically that the compiler sets
31042         __ARM_EABI__, rather than using the tuple to decide.
31043         * sysdeps/arm/preconfigure: Regenerated.
31044         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31045         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31046         contents appended ...
31047         * sysdeps/arm/configure.ac: ... here.
31048         * sysdeps/arm/configure: Regenerated.
31050 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31052         * nptl/pthread_kill.c: New file.
31053         * nptl/pthread_sigmask.c: New file.
31054         * nptl/pthread_sigqueue.c: New file.
31056         * sysdeps/nptl/lowlevellock.h: New file.
31057         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31058         * sysdeps/nptl/lowlevellock-futex.h: New file.
31060         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31061         Remove dead declarations.
31063 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31065         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31066         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31067         config-cflags-avx2.
31068         * sysdeps/x86_64/configure.ac: Likewise.
31069         * sysdeps/i386/configure: Regenerated.
31070         * sysdeps/x86_64/configure: Likewise.
31071         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31072         memset-avx2 only if config-cflags-avx2 is yes.
31073         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31074         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31075         defined.
31076         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31077         only if HAVE_AVX2_SUPPORT is defined.
31078         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31080 2014-07-14  Alan Modra  <amodra@gmail.com>
31082         [BZ #17153]
31083         * elf/elf.h (DT_PPC64_NUM): Correct value.
31084         * NEWS: Add to fixed bug list.
31086 2014-07-13  Jim Meyering  <meyering@fb.com>
31088         [BZ 17150]
31089         regex: don't deref NULL upon heap allocation failure
31090         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31091         failure in one more place.
31092         To trigger the segfault, configure grep -with-included-regex,
31093         build it, and run these commands:
31094         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31096 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31098         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31100 2014-07-11  Richard Henderson  <rth@redhat.com>
31102         * sysdeps/aarch64/libm-test-ulps: Update.
31104 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31106         [BZ #17135]
31107         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31108         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31109         (__nptl_setxid): Initialize error member.  Call
31110         __nptl_setxid_error.
31111         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31112         * nptl/descr.h (struct xid_command): Add error member.
31113         * nptl/tst-setuid3.c: New file.
31114         * nptl/Makefile (tests): Add it.
31116 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31118         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31119         New define.
31120         (__lll_trylock): Use __lll_base_trylock.
31121         (__lll_cond_trylock): Likewise.
31123 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31125         * nptl/pthread_create.c (start_thread): Use atomic_or and
31126         lll_futex_wake directly rather than lll_robust_dead.
31127         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31128         (lll_robust_dead): Macro removed.
31129         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31130         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31131         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31132         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31133         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31134         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31135         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31136         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31137         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31138         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31139         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31140         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31141         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31142         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31143         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31145         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31146         Use atomic_compare_and_exchange_val_acq directly rather than
31147         lll_robust_trylock.
31148         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31149         (__lll_robust_trylock, lll_robust_trylock): Removed.
31150         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31151         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31152         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31153         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31154         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31155         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31156         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31157         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31158         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31159         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31160         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31161         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31162         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31163         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31165 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31167         * manual/locale.texi (Locale Names): New section documenting
31168         locale name syntax.  Adjust menu and node chaining accordingly.
31169         (Choosing Locale): Reference Locale Names, Locale Categories.
31170         Mention setting LC_ALL=C.  Reflect that name syntax is now
31171         documented.
31172         (Locale Categories): New section title.  Reference Locale Names.
31173         LC_ALL is an environment variable, but not a category.
31174         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31175         description, now in Locale Name.  Reference that section.  Locale
31176         name syntax is now documented.
31178 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31180         [BZ #17137]
31181         * locale/findlocale.c (name_present, valid_locale_name): New
31182         functions.
31183         (_nl_find_locale): Use the loc_name variable to store name
31184         candidates.  Call name_present and valid_locale_name to check and
31185         validate locale names.  Return an error if the locale is invalid.
31187 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31189         * locale/setlocale.c (setlocale): Use strdup for allocating
31190         composite name copy.
31192 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31194         Sync up with gnulib.
31195         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31196         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31197         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31198         and _GL_ARG_NONNULL.
31199         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31200         [!_LIBC]: Include code for Windows and Cygwin.
31201         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31202         Include prototype for int strerror_r.
31203         [!_LIBC] (is_open): New function.
31204         (flush_stdout): New function.
31205         (print_errno_message): Use it.
31206         (error): Likewise.
31207         (error_at_line): Likewise.
31208         (error_tail) Add function attribute macros.  Use
31209         __builtin_expect.
31211         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31213         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31215         * io/ftw.c: Include sys/param.h unconditionally.
31217         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31219         [BZ #17125]
31220         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31221         libc_freeres_ptr.
31222         (freecache): New function to free CACHE on exit.
31224         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31225         initialization.
31227 2014-07-09  David S. Miller  <davem@davemloft.net>
31229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31231         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31232         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31233         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31234         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31235         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31236         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31237         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31238         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31239         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31240         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31241         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31242         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31243         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31245 2014-07-09  Andreas Schwab  <schwab@suse.de>
31247         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31248         output.
31249         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31250         (do_test): Likewise.
31252         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31254 2014-07-09  Will Newton  <will.newton@linaro.org>
31256         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31257         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31258         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31259         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31260         * sysdeps/hppa/start.S (_start): Likewise.
31262 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31264         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31266         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31267         defined.
31269 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31271         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31272         after checking that it is non-NULL.
31274         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31276 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31278         * sysdeps/powerpc/memmove.c: Remove file.
31279         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31280         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31281         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31282         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31283         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31284         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31285         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31286         string memmove instead of removed powerpc one.
31288         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31289         [weak_alias]: Fix compiler warning due trailing data.
31290         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31291         [weak_alias]: Likewise.
31292         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31293         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31295         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31296         (__libc_ifunc_impl_list): Add memmove functions.
31298 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31300         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31301         Remove code.
31302         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31303         Likewise.
31304         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31305         Likewise.
31306         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31307         Likewise.
31308         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31309         Likewise.
31310         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31311         Likewise.
31312         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31313         Likewise.
31314         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31315         Likewise.
31316         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31317         Likewise.
31318         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31319         Likewise.
31320         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31321         Likewise.
31322         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31323         Likewise.
31324         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31325         Likewise.
31326         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31327         Likewise.
31328         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31329         Likewise.
31330         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31331         Likewise.
31332         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31333         Likewise.
31335 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31337         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31338         to avoid alignment traps in non-cacheable memory.
31339         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31341         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31342         multiarch objects.
31343         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31344         file: multiarch power7 memmove.
31345         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31346         multiarch default memmove.
31347         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31348         multiarch memove for powerpc32/power4.
31350         * string/bcopy.c: Use full path to include memmove.c.
31351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31352         multiarch objects.
31353         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31354         bcopy for powerpc64.
31355         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31356         bcopy for powerpc64.
31357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31358         and memmove implementations.
31359         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31360         optimized multiarch memmove for POWER7/powerpc64.
31361         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31362         default multiarch memmove for powerpc64.
31363         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31364         multiarch for powerpc64.
31365         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31366         for POWER7/powerpc64.
31367         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31368         memmove for POWER7/powerpc64.
31370         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31371         glibc default one.
31373         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31374         __ELF_NATIVE_CLASS equal to 64.
31376 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31378         * sysdeps/nptl/lowlevellock.h: File removed.
31380         * NEWS: NPTL is no longer an add-on!
31381         * nptl/internaltypes.h: Moved ...
31382         * sysdeps/nptl/internaltypes.h: ... here.
31383         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31384         * sysdeps/nptl/fork.c: Likewise.
31385         * sysdeps/nptl/gai_misc.h: Likewise.
31386         * sysdeps/nptl/librt-cancellation.c: Likewise.
31387         * sysdeps/nptl/jmp-unwind.c: Likewise.
31388         * sysdeps/nptl/setxid.h: Likewise.
31389         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31390         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31391         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31392         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31393         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31394         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31395         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31396         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31397         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31398         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31399         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31400         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31401         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31402         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31403         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31404         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31405         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31406         * nptl/Makeconfig: Moved ...
31407         * sysdeps/nptl/Makeconfig: ... here.
31408         * nptl/configure: File removed.
31409         * nptl/ANNOUNCE: File removed.
31410         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31411         * sysdeps/unix/sysv/linux/configure: Regenerated.
31413         * nptl/Makefile (routines): Add libc_pthread_init,
31414         libc_multiple_threads, register-atfork and unregister-atfork.
31415         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31416         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31417         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31418         pthread-pi-defines.sym, structsem.sym.
31419         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31420         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31421         [$(subdir) = nptl] (tests): Add tst-setgetname.
31422         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31423         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31424         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31425         [!LIBC_SIGACTION]: Remove aliases.
31426         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31427         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31428         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31429         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31430         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31431         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31432         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31433         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31434         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31435         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31436         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31437         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31438         __libc_allocate_rtsig_private.
31439         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31440         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31441         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31442         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31443         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31444         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31445         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31446         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31447         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31448         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31449         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31450         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31451         * nptl/internaltypes.h: ... here.
31452         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31453         * sysdeps/nptl/jmp-unwind.c: ... here.
31454         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31455         * nptl/libc-lowlevellock.c: ... here.
31456         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31457         * nptl/libc_multiple_threads.c: ... here.
31458         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31459         * nptl/libc_pthread_init.c: ... here.
31460         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31461         * nptl/lowlevelbarrier.sym: ... here.
31462         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31463         * nptl/lowlevelcond.sym: ... here.
31464         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31465         * nptl/lowlevellock.c: ... here.
31466         * nptl/lowlevellock.h: Moved ...
31467         * sysdeps/nptl/lowlevellock.h: ... here.
31468         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31469         * nptl/lowlevelrobustlock.c: ... here.
31470         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31471         * nptl/lowlevelrobustlock.sym: ... here.
31472         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31473         * nptl/lowlevelrwlock.sym: ... here.
31474         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31475         * nptl/pt-fork.c: ... here.
31476         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31477         * nptl/pthread-pi-defines.sym: ... here.
31478         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31479         * nptl/pthread_attr_getaffinity.c: ... here.
31480         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31481         * nptl/pthread_attr_setaffinity.c: ... here.
31482         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31483         * nptl/pthread_mutex_cond_lock.c: ... here.
31484         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31485         Update #include.
31486         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31487         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31488         * nptl/pthread_once.c: ... here, replacing old file.
31489         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31490         * nptl/pthread_yield.c: ... here.
31491         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31492         * nptl/register-atfork.c: ... here.
31493         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31494         * nptl/sem_post.c: ... here.
31495         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31496         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31497         * nptl/sem_timedwait.c: ... here.
31498         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31499         * nptl/sem_trywait.c: ... here.
31500         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31501         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31502         * nptl/sem_wait.c: ... here.
31503         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31504         * nptl/structsem.sym: ... here.
31505         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31506         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31507         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31508         * nptl/unregister-atfork.c: ... here.
31509         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31510         * nptl/unwindbuf.sym: ... here.
31511         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31512         * sysdeps/nptl/fork.c: ... here.
31513         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31514         * sysdeps/nptl/fork.h: ... here.
31515         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31516         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31517         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31518         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31519         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31520         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31521         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31522         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31523         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31524         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31525         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31526         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31527         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31528         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31529         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31530         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31531         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31532         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31533         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31534         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31535         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31536         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31537         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31538         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31539         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31540         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31541         * sysdeps/unix/sysv/linux/raise.c: ... here.
31542         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31543         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31544         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31545         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31546         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31547         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31548         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31549         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31550         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31551         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31552         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31553         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31554         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31555         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31556         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31558 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31560         * sysdeps/generic/memcopy.h: Add comment for
31561         MEMCPY_OK_FOR_FWD_MEMMOVE.
31563 2014-07-04  Will Newton  <will.newton@linaro.org>
31565         * string/memchr.c: Merge from gnulib.
31566         [_LIBC]: Remove conditionals.
31567         (__ptr_t): Remove define.
31568         (LONG_MAX_32_BITS): Likewise.
31569         (LONG_MAX): Likewise.
31570         (MEMCHR): Use ANSI prototype and optimize algorithm.
31572         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31574 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31576         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31577         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31579         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31580         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31581         in a bare environment with no <stdlib.h> installed.
31582         * sysdeps/nptl/configure: Regenerated.
31584         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31586         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31587         AC_EGREP_CPP for kernel header checks, so they only succeed if
31588         including <linux/version.h> actually works right.
31589         * sysdeps/unix/sysv/linux/configure: Regenerated.
31591         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31592         value so it's not diagnosed as unused.
31594         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31595         thing) with "ifeq ($(subdir),rt)".
31597 2014-07-03  Richard Henderson  <rth@redhat.com>
31599         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31600         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31601         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31603         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31604         (math_force_eval): New.
31606         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31607         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31609         * sysdeps/alpha/fpu/s_round.c: Remove file.
31610         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31612         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31613         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31614         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31615         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31616         (_dl_start, print_statistics): Likewise.
31617         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31618         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31620         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31621         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31622         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31623         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31624         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31625         (HP_SMALL_TIMING_AVAIL): Define.
31626         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31627         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31628         (HP_SMALL_TIMING_AVAIL): Define.
31629         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31630         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31632         * sysdeps/aarch64/hp-timing.h: New file.
31634         * sysdeps/generic/hp-timing.h: Remove dead comment.
31635         * sysdeps/generic/hp-timing-common.h: New file.
31636         * sysdeps/alpha/hp-timing.h: Include it.
31637         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31638         * sysdeps/i386/i686/hp-timing.h: Likewise.
31639         * sysdeps/ia64/hp-timing.h: Likewise.
31640         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31641         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31642         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31643         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31644         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31645         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31646         (hp_timing_t): New.
31648         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31649         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31650         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31651         * elf/rtld.c (_dl_start_final): Likewise.
31652         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31653         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31654         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31655         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31656         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31657         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31658         (HP_TIMING_DIFF_INIT): Remove.
31659         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31660         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31661         (HP_TIMING_DIFF_INIT): Remove.
31662         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31663         * sysdeps/i386/i686/hp-timing.c: Remove file.
31664         * sysdeps/x86_64/hp-timing.c: Remove file.
31665         * sysdeps/ia64/hp-timing.c: Remove file.
31666         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31667         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31668         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31669         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31671         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31672         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31673         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31674         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31675         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31676         (HP_TIMING_ACCUM): Remove.
31677         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31678         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31679         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31681         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31682         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31683         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31684         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31685         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31686         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31687         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31688         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31690         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31692 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31694         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31696 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31698         Sync up with gettext.
31699         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31700         [_MSC_VER]: Include malloc.h
31701         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31702         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31703         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31704         TEMP_FAILURE_RETRY.  Cast return of alloca.
31705         [!_LIBC] Call gl_rwlock_init.
31706         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31708 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31710         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31711         before checking its value.
31713 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31715         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31717         * debug/memcpy_chk.c: Don't include pagecopy.h.
31718         * debug/mempcpy_chk.c: Likewise.
31719         * string/memcpy.c: Likewise.
31720         * string/memmove.c: Likewise.
31721         * sysdeps/powerpc/memmove.c: Likewise.
31722         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31723         definition of PAGE_COPY_FWD_MAYBE here...
31724         * sysdeps/generic/pagecopy.h: ... from here.
31725         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31727 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31728             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31730         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31732         optimizations.
31733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31734         (__libc_ifunc_impl_list): Likewise.
31735         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31736         multiarch strcat for PPC64.
31737         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31738         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31740 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31742         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31744 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31746         * intl/loadmsgcat.c: Remove declaration of
31747         get_sysdep_segment_value.
31748         (get_sysdep_segment_value): Use ISO C style.
31749         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31750         semicolon.  Fix typo and formatting in comment.
31751         (_nl_unload_domain): Use ISO C style.
31753         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31755 2014-07-02  Will Newton  <will.newton@linaro.org>
31757         * malloc/obstack.c: Merge from gnulib master.
31758         [HAVE_CONFIG_H]: Remove conditional code.
31759         [!_LIBC]: Include config.h.
31760         [!ELIDE_CODE]: Don't include inttypes.h, include
31761         stdint.h unconditionally.
31762         (print_and_abort): Mark as _Noreturn.
31763         (_obstack_allocated_p): Mark as __attribute_pure__.
31764         (obstack_free): Rename to __obstack_free.
31765         [!__attribute__]: Remove conditional code.
31766         * malloc/obstack.h: Merge from gnulib master.
31767         [__cplusplus]: Move conditional down.
31768         [!__attribute_pure__]: Define __attribute_pure__ here
31769         if it is not already defined.
31770         (_obstack_memory_used): Mark as __attribute_pure__.
31771         [!__obstack_free]: Define as obstack_free.
31772         [__GNUC__]: Remove check for ancient NeXT gcc.
31774 2014-07-02  Will Newton  <will.newton@linaro.org>
31775             Paul Eggert  <eggert@cs.ucla.edu>
31777         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31779 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31781         * resolv/gethnamaddr.c: Add comment warning that the file is
31782         not maintained.
31784 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31786         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31787         entries.
31789         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31790         entry for aio_cancel and aio_cancel64.
31791         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31792         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31793         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31794         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31795         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31796         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31797         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31798         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31799         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31800         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31801         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31802         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31803         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31805 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31807         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31808         * nptl/pthread_mutex_lock.c: Likewise.
31809         * nptl/pthread_mutex_timedlock.c: Likewise.
31810         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31812 2014-07-01  Richard henderson  <rth@redhat.com>
31814         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31815         (__isnan, __isnanl): Remove.
31816         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31818         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31820 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31822         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31824 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31826         * resolv/nss_dns/dns-host.c (getanswer_r)
31827         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31829 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31831         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31832         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31833         undefine.
31834         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31835         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31837 2014-07-01  Roland McGrath <roland@hack.frob.com>
31839         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31840         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31842         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31843         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31845         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31846         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31847         ... here.
31848         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31849         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31851         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31852         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31853         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31854         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31856         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31857         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31858         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31859         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31860         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31861         Moved ...
31862         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31863         ... here.
31864         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31865         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31866         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31867         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31868         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31869         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31870         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31871         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31872         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31873         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31874         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31875         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31876         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31877         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31878         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31879         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31880         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31881         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31882         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31883         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31884         ... here.
31885         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31886         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31887         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31888         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31889         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31890         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31891         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31892         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31894 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31896         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31897         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31898         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31899         Add sysdep.
31901 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31905 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31907         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31908         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31910         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31912         * sysdeps/arm/libm-test-ulps: Regenerated.
31914 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31915             Roland McGrath <roland@hack.frob.com>
31917         * test-skeleton.c (signal_handler): Kill the whole process group
31918         before killing the child individually.
31919         (main): Report any failure on `setpgid'.
31921 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31923         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31924         from _TLS_H to _ARM_NPTL_TLS_H.
31925         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31926         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31928 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31930         [BZ #16539]
31931         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31932         (__expm1l): Return argument unchanged when small but not
31933         subnormal.
31935         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31936         include macro name.
31937         (_FP_UNPACK_RAW_1_P): Likewise.
31938         (_FP_PACK_RAW_1): Likewise.
31939         (_FP_PACK_RAW_1_P): Likewise.
31940         (_FP_MUL_MEAT_1_wide): Likewise.
31941         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31942         (_FP_MUL_MEAT_1_hard): Likewise.
31943         (_FP_DIV_MEAT_1_imm): Likewise.
31944         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31945         (_FP_DIV_MEAT_1_udiv): Likewise.
31946         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31947         (_FP_UNPACK_RAW_2): Likewise.
31948         (_FP_UNPACK_RAW_2_P): Likewise.
31949         (_FP_PACK_RAW_2): Likewise.
31950         (_FP_PACK_RAW_2_P): Likewise.
31951         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31952         (_FP_MUL_MEAT_2_wide): Likewise.
31953         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31954         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31955         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31956         (_FP_MUL_MEAT_2_gmp): Likewise.
31957         (_FP_DIV_MEAT_2_udiv): Likewise.
31958         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31959         (_FP_FRAC_SRL_4): Likewise.
31960         (_FP_FRAC_SRST_4): Likewise.
31961         (_FP_FRAC_SRS_4): Likewise.
31962         (_FP_UNPACK_RAW_4): Likewise.
31963         (_FP_UNPACK_RAW_4_P): Likewise.
31964         (_FP_PACK_RAW_4): Likewise.
31965         (_FP_PACK_RAW_4_P): Likewise.
31966         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31967         (_FP_MUL_MEAT_4_wide): Likewise.
31968         (_FP_MUL_MEAT_4_gmp): Likewise.
31969         (umul_ppppmnnn): Likewise.
31970         (_FP_DIV_MEAT_4_udiv): Likewise.
31971         (__FP_FRAC_ADD_4): Likewise.
31972         (__FP_FRAC_SUB_3): Likewise.
31973         (__FP_FRAC_SUB_4): Likewise.
31974         (__FP_FRAC_DEC_3): Likewise.
31975         (__FP_FRAC_DEC_4): Likewise.
31976         (__FP_FRAC_ADDI_4): Likewise.
31977         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31978         (_FP_FRAC_SRL_8): Likewise.
31979         (_FP_FRAC_SRS_8): Likewise.
31981         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31982         include macro name.
31983         (FP_UNPACK_RAW_EP): Likewise.
31984         (FP_PACK_RAW_E): Likewise.
31985         (FP_PACK_RAW_EP): Likewise.
31986         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31987         (_FP_ISSIGNAN): Likewise.
31988         (_FP_ADD_INTERNAL): Likewise.
31989         (_FP_FMA): Likewise.
31990         (_FP_CMP): Likewise.
31991         (_FP_SQRT): Likewise.
31992         (_FP_TO_INT): Likewise.
31993         (_FP_FROM_INT): Likewise.
31994         (FP_EXTEND): Likewise.
31995         (_FP_DIV_MEAT_N_loop): Likewise.
31997 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31999         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32000         throughout.
32002 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32004         [BZ #17097]
32005         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32006         result with correct sign in case of exponents that produce
32007         overflow except for X very close to 1.
32009 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32011         mktime: merge #if/#ifdef usage from glibc
32012         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32013         as that works with both Glibc's and Gnulib's style.
32014         See thread starting at Siddhesh Poyarekar's bug report at:
32015         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32017 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32019         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32020         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32021         * sysdeps/tile/tilegx/memmove.c: Remove file.
32023 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32025         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32026         abi-name definition.
32027         * scripts/soversions.awk: Do not handle or generate ABI lines.
32028         * shlib-versions: Remove ABI entries.
32029         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32030         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32032 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32035         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32036         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32037         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32039         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32041         Moved ...
32042         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32043         ... here.
32044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32045         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32047         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32049         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32051         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32053         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32054         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32055         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32057         Moved ...
32058         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32060         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32062         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32064         Moved ...
32065         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32067         Moved ...
32068         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32070         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32072         Moved ...
32073         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32074         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32075         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32077         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32079         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32080         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32081         Moved ...
32082         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32083         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32084         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32085         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32086         Moved ...
32087         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32088         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32089         Moved ...
32090         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32092         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32094         Moved ...
32095         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32096         ... here.
32097         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32098         Identical file removed.
32099         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32100         Moved ...
32101         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32102         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32103         Identical file removed.
32104         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32105         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32106         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32107         Moved ...
32108         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32110         Identical file removed.
32111         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32112         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32113         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32114         Identical file removed.
32115         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32116         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32117         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32118         Identical file removed.
32119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32120         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32121         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32122         Identical file removed.
32123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32124         Moved ...
32125         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32126         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32127         Identical file removed.
32128         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32129         Moved ...
32130         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32132         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32133         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32134         Identical file removed.
32135         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32136         Moved ...
32137         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32138         ... here.
32139         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32140         Identical file removed.
32141         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32142         Moved ...
32143         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32144         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32145         Identical file removed.
32146         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32147         Moved ...
32148         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32149         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32150         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32151         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32152         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32153         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32154         Moved ...
32155         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32156         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32157         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32159         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32160         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32161         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32162         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32163         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32165 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32167         [BZ #17092]
32168         * nscd/nscd.c (monitor_child): Return exit status of child
32169         instead of return value from wait syscall.
32171 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32173         * configure.ac (libc_commonpagesize): Remove variable.
32174         (libc_relro_required): Likewise.
32175         (libc_cv_z_relro): Remove configure test.
32176         * configure: Regenerated.
32177         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32178         variable.
32179         (libc_relro_required): Likewise.
32180         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32181         (libc_relro_required): Likewise.
32182         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32183         (libc_relro_required): Likewise.
32184         * sysdeps/arm/preconfigure: Regenerated.
32185         * sysdeps/ia64/preconfigure: Remove file.
32186         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32187         variable.
32188         (libc_relro_required): Likewise.
32190         [BZ #16561]
32191         [BZ #16562]
32192         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32193         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32194         recompute overflowing results in original rounding mode.
32195         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32196         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32197         recompute overflowing results in original rounding mode.
32198         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32199         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32200         recompute overflowing results in original rounding mode.
32201         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32202         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32203         recompute overflowing results in original rounding mode.
32204         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32205         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32206         recompute overflowing results in original rounding mode.
32207         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32208         (libc_feholdsetround_ctx): New macro.
32209         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32210         * sysdeps/i386/fpu/libm-test-ulps: Update.
32211         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32213 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32215         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32216         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32217         corresponding .cpsetup call.
32219 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32221         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32222         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32223         * sysdeps/arm/Makefile [$(subdir) = csu]
32224         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32225         (static-only-routines): Add aeabi_read_tp here.
32226         (shared-only-routines): Add libc-aeabi_read_tp here.
32227         (CFLAGS-libc-start.c): Add -fexceptions here.
32228         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32229         (sysdep_routines, static-only-routines, shared-only-routines):
32230         Don't add to these here.
32231         (CFLAGS-libc-start.c): Likewise.
32233         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32234         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32235         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32236         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32237         * sysdeps/arm/Makefile [$(subdir) = rt]
32238         (librt-sysdep_routines, librt-shared-only-routines):
32239         Append rt-aeabi_unwind_cpp_pr1 here.
32240         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32241         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32242         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32243         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32244         Append nptl-aeabi_unwind_cpp_pr1 here.
32245         (tests): Filter out tst-cleanupx4 here.
32246         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32247         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32248         Don't do those here.
32250 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32252         * scripts/list-sources.sh: Do not handle ports specially.
32254 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32256         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32257         * sysdeps/arm/feupdateenv.c: Likewise.
32259         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32261 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32263         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32264         trailing whitespace removed.
32265         * scripts/config.guess: Update to version 2014-03-23.
32266         * scripts/config.sub: Update to version 2014-05-01
32267         * scripts/install-sh: Update to version 2013-12-25.23.
32268         * scripts/move-if-change: Update from gnulib.
32270 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32272         * debug/memmove_chk.c: Remove pagecopy.h include.
32274 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32276         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32277         identical to gnulib mktime.
32279 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32281         * configure.ac: Do not test for machine being rs6000.  Do not test
32282         for powerpc*-*soft.
32283         * configure: Regenerated.
32285         [BZ #11505]
32286         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32287         test.
32288         * configure: Regenerated.
32289         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32290         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32291         Remove configure test.
32292         * sysdeps/arm/configure: Regenerated.
32293         * sysdeps/nptl/configure.ac: Do not check
32294         libc_cv_asm_cfi_directives.
32295         * sysdeps/nptl/configure: Regenerated.
32296         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32297         * sysdeps/x86_64/nptl/configure: Remove generated file.
32298         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32299         unconditional.
32300         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32302 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32304         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32305         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32306         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32307         it is defined.
32309         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32310         instead of whether it is defined.
32311         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32312         * sysdeps/hppa/dl-machine.h: Likewise.
32313         * sysdeps/ia64/dl-machine.h: Likewise.
32314         * sysdeps/m68k/dl-machine.h: Likewise.
32315         * sysdeps/microblaze/dl-machine.h: Likewise.
32316         * sysdeps/mips/dl-machine.: Likewise.
32317         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32318         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32319         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32320         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32321         * sysdeps/sh/dl-machine.h: Likewise.
32322         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32323         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32324         * sysdeps/tile/dl-machine.h: Likewise.
32325         * sysdeps/x86_64/dl-machine.h: Likewise.
32327         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32328         code.
32329         (verify_persistent_db): Likewise.
32331 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32334         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32336         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32338         Moved ...
32339         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32340         ... here.
32341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32342         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32344         Identical file removed.
32345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32346         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32348         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32350         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32352         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32354         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32356         Moved ...
32357         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32359         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32361         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32363         Moved ...
32364         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32366         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32368         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32370         Identical file removed.
32371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32372         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32374         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32376         Moved ...
32377         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32378         ... here.
32379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32380         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32382         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32384         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32386         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32388         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32390         Moved ...
32391         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32393         Moved ...
32394         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32396         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32398         Moved ...
32399         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32401         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32403         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32404         folded into ...
32405         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32406         * sysdeps/unix/sysv/linux/s390/Versions
32407         (libpthread: GLIBC_2.19): New version set.
32408         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32409         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32410         (librt: GLIBC_2.3.3): New version set.
32411         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32412         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32413         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32414         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32415         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32416         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32417         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32418         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32419         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32420         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32421         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32422         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32423         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32424         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32425         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32426         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32427         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32428         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32429         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32430         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32431         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32432         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32433         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32434         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32435         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32436         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32437         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32438         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32439         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32440         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32441         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32442         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32443         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32447         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32448         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32449         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32450         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32451         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32452         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32453         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32454         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32455         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32457         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32458         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32459         (__libc_vfork): Define the function under this name.
32460         [!NOT_IN_libc] (__vfork): Make this an alias.
32461         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32462         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32463         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32464         (__libc_vfork): Define the function under this name.
32465         [!NOT_IN_libc] (__vfork): Make this an alias.
32466         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32467         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32468         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32470         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32471         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32473         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32474         code that was previously under [RESET_PID].
32475         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32476         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32477         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32479         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32480         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32481         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32482         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32483         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32484         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32485         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32486         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32487         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32488         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32489         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32490         Moved ...
32491         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32492         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32493         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32494         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32495         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32496         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32497         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32498         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32499         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32500         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32501         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32502         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32503         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32504         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32505         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32506         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32507         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32508         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32509         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32510         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32511         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32512         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32513         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32514         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32515         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32516         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32517         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32518         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32519         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32521 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32523         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32524         that was previously under [RESET_PID].
32525         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32527 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32529         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32530         not undefine and redefine.
32531         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32532         [O_CLOEXEC]: Make code unconditional.
32533         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32534         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32535         <kernel-features.h>.
32536         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32537         conditional variable definition.
32538         (shm_open) [O_CLOEXEC]: Make code unconditional.
32539         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32540         code.
32542         * configure.ac (USE_REGPARMS): Don't define here.
32543         * configure: Regenerated.
32544         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32545         * sysdeps/i386/configure: Regenerated.
32547         * nptl/createthread.c: Don't include kernel-features.h.
32548         * nptl/pthread_cancel.c: Likewise.
32549         * nptl/pthread_condattr_setclock.c: Likewise.
32550         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32551         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32552         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32553         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32554         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32555         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32556         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32557         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32558         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32559         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32560         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32561         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32562         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32563         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32564         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32565         * nscd/gai.c: Likewise.
32566         * nss/nss_db/db-open.c: Likewise.
32567         * sysdeps/generic/ldsodefs.h: Likewise.
32568         * sysdeps/sh/nptl/tls.h: Likewise.
32569         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32570         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32571         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32572         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32573         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32574         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32575         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32576         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32577         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32578         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32579         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32580         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32581         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32582         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32583         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32584         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32585         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32586         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32587         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32588         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32589         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32591         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32592         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32593         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32594         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32595         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32596         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32597         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32598         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32599         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32600         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32601         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32602         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32603         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32604         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32605         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32606         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32607         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32608         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32609         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32610         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32611         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32612         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32613         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32614         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32615         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32616         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32617         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32618         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32619         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32620         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32621         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32622         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32623         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32624         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32625         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32626         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32649         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32650         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32651         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32652         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32653         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32654         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32655         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32656         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32657         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32658         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32659         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32660         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32661         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32662         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32663         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32664         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32665         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32666         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32667         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32668         * sysdeps/unix/sysv/linux/system.c: Likewise.
32669         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32670         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32671         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32672         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32673         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32674         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32675         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32677         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32678         * configure: Regenerated.
32679         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32681         * configure.ac (base_machine): Do not set specially for particular
32682         machines here.
32683         * configure: Regenerated.
32684         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32685         settings from configure.ac.
32686         * sysdeps/i386/preconfigure: New file.
32687         * sysdeps/s390/preconfigure: Likewise.
32688         * sysdeps/sh/preconfigure: Likewise.
32689         * sysdeps/sparc/preconfigure: Likewise.
32691 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32693         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32694         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32695         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32696         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32697         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32698         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32699         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32700         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32701         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32702         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32703         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32704         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32705         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32706         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32707         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32708         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32709         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32710         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32711         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32713         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32714         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32715         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32716         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32717         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32718         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32719         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32720         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32721         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32722         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32723         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32724         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32725         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32726         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32727         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32728         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32729         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32730         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32731         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32732         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32733         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32734         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32735         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32736         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32737         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32738         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32739         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32740         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32741         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32742         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32743         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32744         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32745         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32746         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32747         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32748         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32749         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32750         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32753         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32755         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32757         Moved ...
32758         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32759         ... here.
32760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32761         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32763         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32765         Moved ...
32766         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32768         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32770         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32772         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32774         Moved ...
32775         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32777         Moved ...
32778         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32780         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32782         Moved ...
32783         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32785         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32787         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32789         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32791         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32793         Moved ...
32794         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32795         ... here.
32796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32797         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32799         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32801         Moved ...
32802         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32804         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32806         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32808         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32810         Moved ...
32811         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32813         Moved ...
32814         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32816         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32818         Moved ...
32819         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32821         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32823         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32825 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32827         * timezone/checktab.awk: Update from tzcode 2014e.
32828         * timezone/private.h: Likewise.
32829         * timezone/tzfile.h: Likewise.
32830         * timezone/zdump.c: Likewise.
32831         * timezone/zic.c: Likewise.
32833         * sysdeps/unix/sysv/linux/kernel-features.h
32834         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32835         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32836         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32837         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32838         Remove conditional code.
32840 2014-06-25  Will Newton  <will.newton@linaro.org>
32842         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32843         (_dl_arm_cap_flags): Add HWCAP2 values.
32844         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32845         (_DL_HWCAP_COUNT): Increase to 37.
32846         (_DL_HWCAP_LAST): New define.
32847         (_DL_HWCAP2_LAST): New define.
32848         (_dl_procinfo): Add support for printing
32849         AT_HWCAP2 entries.
32850         (_dl_string_hwcap): Use _dl_hwcap_string.
32852 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32856 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32858         * README: Do not mention ports directory.
32860         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32861         Remove macro.
32862         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32863         <kernel-features.h>.
32864         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32865         conditional variable definition.
32866         (__futimes): Update comment.
32867         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32868         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32870         [BZ #16560]
32871         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32872         arguments close to 0.
32873         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32874         Likewise.
32875         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32876         Likewise.
32877         * math/auto-libm-test-in: Add more tests of exp10.
32878         * math/auto-libm-test-out: Regenerated.
32879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32881         * sysdeps/unix/sysv/linux/kernel-features.h
32882         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32883         * sysdeps/unix/sysv/linux/readv.c: Do not include
32884         <kernel-features.h>.
32885         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32886         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32887         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32888         unconditional.
32889         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32890         conditional code.
32891         * sysdeps/unix/sysv/linux/writev.c: Do not include
32892         <kernel-features.h>.
32893         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32894         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32895         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32896         unconditional.
32897         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32898         conditional code.
32900 2014-06-25  Will Newton  <will.newton@linaro.org>
32902         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32903         comment changes throughout the file.  Remove checks
32904         for HAVE_*_H definitions that are not required.
32905         (__gen_tempname): Call abort if an unknown kind value is
32906         passed.
32908 2014-06-25  Andreas Schwab  <schwab@suse.de>
32910         [BZ #17086]
32911         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32912         scalbln, scalblnf, scalblnl in libc.
32914 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32916         [BZ #17086]
32917         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32918         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32919         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32921 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32923         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32924         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32925         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32926         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32927         Update #include.
32928         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32929         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32930         Update #include.
32931         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32932         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32933         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32934         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32935         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32936         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32937         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32938         * sysdeps/x86/bits/semaphore.h: ... here.
32939         * sysdeps/x86/nptl/elide.h: Moved ...
32940         * sysdeps/x86/elide.h: ... here.
32941         * sysdeps/x86_64/nptl/Implies: File removed.
32942         * sysdeps/i386/nptl/Implies: File removed.
32944 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32946         [BZ #16539]
32947         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32948         return the argument for normal arguments with exponent below -64.
32949         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32950         Likewise.
32951         * math/auto-libm-test-in: Add another test of expm1.
32952         * math/auto-libm-test-out: Regenerated.
32954         [BZ #16287]
32955         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32956         calling __erfcl for arguments at least 16.
32957         * math/auto-libm-test-in: Add more tests of erf.
32958         * math/auto-libm-test-out: Regenerated.
32960         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32961         individual architectures.
32962         * sysdeps/unix/sysv/linux/configure: Regenerated.
32963         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32964         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32965         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32966         (ldd_rewrite_script): Define variable.
32967         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32969         file.
32970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32971         generated file.
32972         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32973         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32974         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32975         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32976         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32977         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32978         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32979         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32981 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32983         [BZ #17084]
32984         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32985         Rename member __data.d to __data.__elision_data.
32987 2014-06-24  Wilco  <wdijkstr@arm.com>
32989         * NEWS: Add 16918 to fixed bug list.
32991 2014-06-24  Wilco  <wdijkstr@arm.com>
32993         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32995 2014-06-24  Wilco  <wdijkstr@arm.com>
32997         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32998         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32999         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33000         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33001         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33002         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33003         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33004         Use _FPU_MASK_RM.
33006 2014-06-24  Wilco  <wdijkstr@arm.com>
33008         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33010 2014-06-24  Wilco  <wdijkstr@arm.com>
33012         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33013         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33014         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33015         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33017 2014-06-24  Wilco  <wdijkstr@arm.com>
33019         [BZ #16918]
33020         * sysdeps/arm/feupdateenv.c (feupdateenv):
33021         Rewrite to reduce FPSCR accesses and fix return value.
33023 2014-06-24  Wilco  <wdijkstr@arm.com>
33025         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33026         Optimize to avoid unnecessary FPSCR writes.
33027         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33028         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33029         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33030         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33032 2014-06-24  Wilco  <wdijkstr@arm.com>
33034         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33035         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33036         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33037         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33038         Call libc_fetestexcept_vfp.
33039         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33040         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33041         __SOFTFP__ ifdef so that they can be built for softfp.
33043 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33045         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33046         argument type signed char.
33048         * Makerules (check-abi): Dump diff of symlist if the test
33049         fails.
33051 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33053         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33054         using abort.
33056         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33057         Remove unused variable ST.
33059 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33061         [BZ #16354]
33062         [BZ #17061]
33063         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33064         small arguments before calling __expm1.
33065         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33066         small arguments before calling __expm1f.
33067         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33068         small arguments before calling __expm1l.
33069         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33070         Likewise.
33071         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33072         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33073         spurious underflow for some cosh tests.
33074         * math/auto-libm-test-out: Regenerated.
33075         * sysdeps/i386/fpu/libm-test-ulps: Update.
33077         [BZ #17050]
33078         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33079         (__ieee754_y1): Set errno if return value overflows.
33080         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33081         (__ieee754_y1f): Set errno if return value overflows.
33082         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33083         (__ieee754_y1l): Set errno if return value overflows.
33084         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33085         (__ieee754_y1l): Set errno if return value overflows.
33086         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33087         * math/auto-libm-test-out: Regenerated.
33089         * math/gen-auto-libm-tests.c: Document use of
33090         ignore-zero-inf-sign.
33091         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33092         (input_flags): Add ignore-zero-inf-sign.
33093         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33094         * math/gen-libm-test.pl (generate_testfile): Handle
33095         ignore-zero-inf-sign.
33096         * math/auto-libm-test-in: Mark some cpow tests with
33097         ignore-zero-inf-sign and some with xfail-rounding.
33098         * math/auto-libm-test-out: Regenerated.
33099         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33100         * sysdeps/i386/fpu/libm-test-ulps: Update.
33101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33103         [BZ #16315]
33104         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33105         overflowing or underflowing operations take place with sign of
33106         result.
33107         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33108         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33109         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33110         (__ieee754_pow): Recompute overflowing and underflowing results in
33111         original rounding mode.
33112         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33113         (__powl_helper): Allow negative argument X and scale negated value
33114         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33115         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33116         overflowing or underflowing operations take place with sign of
33117         result.
33118         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33119         Include <math.h>.
33120         * math/auto-libm-test-in: Add more tests of pow.
33121         * math/auto-libm-test-out: Regenerated.
33122         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33123         (pow_tonearest_test_data): Remove.
33124         (pow_test_tonearest): Likewise.
33125         (pow_towardzero_test_data): Likewise.
33126         (pow_test_towardzero): Likewise.
33127         (pow_downward_test_data): Likewise.
33128         (pow_test_downward): Likewise.
33129         (pow_upward_test_data): Likewise.
33130         (pow_test_upward): Likewise.
33131         (main): Don't call removed functions.
33132         * sysdeps/i386/fpu/libm-test-ulps: Update.
33133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33135 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33138         Moved ...
33139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33141         Moved ...
33142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33144         Moved ...
33145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33147         Moved ...
33148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33150         File removed.
33151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33152         File removed.
33153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33154         File removed.
33155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33156         File removed.
33157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33158         File removed.
33159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33160         File removed.
33161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33162         File removed.
33163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33164         File removed.
33165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33166         File removed.
33167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33168         File removed.
33169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33170         File removed.
33171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33172         File removed.
33173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33174         Moved ...
33175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33177         Moved ...
33178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33179         ... here.
33180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33181         Moved ...
33182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33184         Moved ...
33185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33187         Moved ...
33188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33190         Moved ...
33191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33193         Moved ...
33194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33196         Moved ...
33197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33199         Moved ...
33200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33203         ... here.
33204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33205         Moved ...
33206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33208         Moved ...
33209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33210         ... here.
33211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33212         Moved ...
33213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33214         ... here.
33215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33216         Moved ...
33217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33218         ... here.
33219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33220         Moved ...
33221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33223         Moved ...
33224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33228         Moved ...
33229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33230         ... here.
33231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33232         Moved ...
33233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33234         ... here.
33235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33236         Moved ...
33237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33239         Moved ...
33240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33242         Moved ...
33243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33245         Moved ...
33246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33248         Moved ...
33249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33250         ... here.
33251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33252         Moved ...
33253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33255         Moved ...
33256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33258         Moved ...
33259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33261         Moved ...
33262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33266         Moved ...
33267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33269         Moved ...
33270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33272         Moved ...
33273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33274         ... here.
33275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33276         Moved ...
33277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33278         ... here.
33279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33280         Moved ...
33281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33282         ... here.
33283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33284         Moved ...
33285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33287         Moved ...
33288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33290         Moved ...
33291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33293         Moved ...
33294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33295         ... here.
33296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33297         Moved ...
33298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33299         ... here.
33300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33301         Moved ...
33302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33303         ... here.
33304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33305         Moved ...
33306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33308         Moved ...
33309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33311 2014-06-23  Will Newton  <will.newton@linaro.org>
33312             Wilco  <wdijkstr@arm.com>
33314         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33315         implementation.  Include get-rounding-mode.h.
33316         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33317         [!libc_feholdsetround_noex_ctx]: Define
33318         libc_feholdsetround_noex_ctx.
33319         [!libc_feholdsetround_noexf_ctx]: Define
33320         libc_feholdsetround_noexf_ctx.
33321         [!libc_feholdsetround_noexl_ctx]: Define
33322         libc_feholdsetround_noexl_ctx.
33323         (libc_feholdsetround_ctx): New function.
33324         (libc_feresetround_ctx): New function.
33325         (libc_feholdsetround_noex_ctx): New function.
33326         (libc_feresetround_noex_ctx): New function.
33328 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33330         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33331         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33332         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33333         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33334         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33335         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33337         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33338         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33339         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33340         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33341         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33342         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33343         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33344         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33345         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33346         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33347         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33348         Moved ...
33349         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33350         ... here.
33351         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33352         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33353         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33354         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33355         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33356         Moved ...
33357         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33358         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33359         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33360         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33361         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33363         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33364         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33365         Moved ...
33366         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33367         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33368         Moved ...
33369         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33370         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33371         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33372         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33373         Moved ...
33374         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33375         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33376         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33377         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33378         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33379         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33380         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33381         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33382         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33383         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33384         Moved ...
33385         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33386         ... here.
33387         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33388         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33389         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33390         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33391         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33392         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33393         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33394         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33395         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33396         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33397         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33398         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33399         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33400         Moved ...
33401         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33402         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33403         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33404         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33405         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33406         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33407         Moved ...
33408         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33409         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33410         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33411         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33412         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33414         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33415         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33416         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33417         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33418         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33419         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33420         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33421         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33422         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33423         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33424         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33425         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33426         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33427         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33428         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33429         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33430         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33431         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33432         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33433         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33434         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33435         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33436         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33437         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33438         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33439         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33440         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33441         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33443 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33445         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33446         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33447         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33448         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33449         (IPV6_PMTUDISC_INTERFACE): Likewise.
33450         (IPV6_PMTUDISC_OMIT): Likewise.
33452 2014-06-23  Andreas Schwab  <schwab@suse.de>
33454         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33455         Remove unused errout label.
33457 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33459         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33460         macro: hardware supports Vector Crypto instructions.
33462 2014-06-23  Will Newton  <will.newton@linaro.org>
33464         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33465         rather than __builtin_expect.
33467         * elf/dl-lookup.c (undefined_msg): Remove variable.
33468         (_dl_lookup_symbol_x): Replace undefined_msg with string
33469         literal.
33471         * elf/dl-lookup.c (do_lookup_unique): New function.
33472         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33473         to a separate function.
33475 2014-06-23  Andreas Schwab  <schwab@suse.de>
33477         [BZ #17079]
33478         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33479         before reading the next line.
33481 2014-06-23  Will Newton  <will.newton@linaro.org>
33483         * test-skeleton.c (signal_handler): Use printf and %m
33484         rather than perror.  Use printf rather than fprintf to
33485         stderr.  Use puts rather than fputs to stderr.
33486         (main): Likewise.
33488 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33490         * nscd/nscd.c (thread_info_t): Remove typedef.
33491         (thread_info): Remove variable.
33493 2014-06-21  Allan McRae  <allan@archlinux.org>
33495         * NEWS: Mention CVE-2014-4043.
33497 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33499         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33500         * nptl/smp.h: ... here.
33502         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33504         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33505         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33506         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33507         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33509         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33510         * nptl/stack-aliasing.h: New file.
33511         * sysdeps/i386/i686/stack-aliasing.h: New file.
33512         * sysdeps/i386/i686/nptl/Makefile: File removed.
33513         * sysdeps/x86_64/stack-aliasing.h: New file.
33514         * sysdeps/x86_64/nptl/Makefile
33515         (CFLAGS-pthread_create.c): Variable removed.
33517         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33518         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33519         old file.
33520         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33521         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33522         old file.
33524 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33526         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33527         (__ASSUME_SIGFRAME_V2): Remove macro.
33528         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33529         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33530         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33531         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33532         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33533         Declare as function.  Remove conditional macro definitions.
33534         (__default_rt_sa_restorer): Likewise.
33535         (__default_sa_restorer_v1): Remove declaration.
33536         (__default_sa_restorer_v2): Likewise.
33537         (__default_rt_sa_restorer_v1): Likewise.
33538         (__default_rt_sa_restorer_v2): Likewise.
33539         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33540         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33541         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33543 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33545         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33546         (libpthread-routines): Add sysdep.
33547         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33548         * sysdeps/unix/sysv/linux/sparc/Versions
33549         (libpthread: GLIBC_2.3.3): New version set.
33550         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33551         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33552         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33553         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33554         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33555         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33556         Moved ...
33557         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33558         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33559         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33560         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33561         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33562         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33563         * sysdeps/sparc/nptl/sem_init.c: ... here.
33564         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33565         * sysdeps/sparc/nptl/sem_post.c: ... here.
33566         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33567         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33568         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33569         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33570         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33571         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33572         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33573         (libpthread-routines): Add cpu_relax.
33574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33575         File removed.
33576         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33577         (librt: GLIBC_2.3.3): New version set.
33578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33579         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33580         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33581         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33584         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33586         Moved ...
33587         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33589         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33591         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33593         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33595         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33597         Moved ...
33598         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33599         Update #include.
33600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33601         Moved ...
33602         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33603         Update #include.
33604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33605         Moved ...
33606         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33607         Update #include.
33608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33609         Moved ...
33610         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33611         Update #include.
33612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33613         Moved ...
33614         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33615         Update #include.
33616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33617         Moved ...
33618         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33619         Update #include.
33620         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33621         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33625         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33627         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33629         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33631         Moved ...
33632         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33634         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33636         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33638 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33640         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33641         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33642         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33643         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33644         * nscd/nscd.c: Likewise.
33645         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33646         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33647         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33648         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33650         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33651         <kernel-features.h>.
33652         (init_mq_netlink): Remove conditional have_sock_cloexec
33653         definitions.  Remove code conditional on have_sock_cloexec < 0.
33654         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33655         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33656         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33657         <kernel-features.h>.
33658         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33659         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33661 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33663         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33664         Add tests for memset_chk and memset.
33666         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33667         with AVX2_Usable.
33669 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33671         [BZ #16046]
33672         * elf/tst-dl-iter-static.c: New file.
33673         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33675         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33676         error.
33678 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33680         * sysdeps/unix/sysv/linux/kernel-features.h
33681         (__ASSUME_F_GETOWN_EX): Remove macro.
33682         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33683         <kernel-features.h>.
33684         (miss_F_GETOWN_EX): Remove variable or macro.
33685         (do_fcntl): Do not check miss_F_GETOWN_EX.
33686         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33688         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33689         Remove macro.
33690         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33691         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33692         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33694         * sysdeps/unix/sysv/linux/kernel-features.h
33695         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33696         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33697         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33698         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33700 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33702         [BZ #17075]
33703         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33704         Fix calculation of the symbol's value.
33705         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33706         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33707         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33708         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33709         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33710         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33711         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33712         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33713         (modules-names): Add `tst-armtlsdescmod',
33714         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33715         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33716         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33717         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33718         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33719         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33720         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33721         ($(objpfx)tst-armtlsdescloc): New dependency.
33722         ($(objpfx)tst-armtlsdescextnow): Likewise.
33723         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33724         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33725         TLS scheme support.
33726         * sysdeps/arm/configure: Regenerate.
33728 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33730         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33731         (__atfct_seterrno_2): Likewise.
33732         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33733         <kernel-features.h>.
33734         (__ASSUME_ATFCTS): Do not undefine and redefine.
33735         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33736         (__have_atfcts): Remove conditional definition.
33737         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33738         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33739         unreachable if [__ASSUME_ATFCTS].
33740         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33741         not undefine and redefine.
33742         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33743         <kernel-features.h>.
33744         (faccessat) [__NR_faccessat]: Make code unconditional.
33745         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33746         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33747         <kernel-features.h>.
33748         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33749         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33750         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33751         <kernel-features.h>.
33752         (fchownat) [__NR_fchownat]: Make code unconditional.
33753         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33754         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33755         <kernel-features.h>.
33756         (futimesat) [__NR_futimesat]: Make code unconditional.
33757         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33758         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33759         <kernel-features.h>.
33760         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33761         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33762         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33763         <kernel-features.h>.
33764         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33765         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33766         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33767         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33768         <kernel-features.h>.
33769         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33770         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33771         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33772         <kernel-features.h>.
33773         (linkat) [__NR_linkat]: Make code unconditional.
33774         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33775         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33776         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33777         <kernel-features.h>.
33778         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33779         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33780         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33781         <kernel-features.h>.
33782         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33783         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33784         * sysdeps/unix/sysv/linux/openat.c: Do not include
33785         <kernel-features.h>.
33786         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33787         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33788         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33789         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33790         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33791         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33792         <kernel-features.h>.
33793         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33794         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33795         result of INLINE_SYSCALL directly, not via int variable.
33796         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33797         <kernel-features.h>.
33798         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33799         (renameat) [__NR_renameat]: Make code unconditional.
33800         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33801         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33802         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33803         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33804         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33805         (__ASSUME_ATFCTS): Do not undefine and redefine.
33806         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33807         <kernel-features.h>.
33808         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33809         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33810         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33811         <kernel-features.h>.
33812         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33813         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33814         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33815         (__ASSUME_ATFCTS): Do not undefine and redefine.
33816         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33817         <kernel-features.h>.
33818         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33819         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33820         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33821         <kernel-features.h>.
33822         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33823         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33825 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33827         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33829 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33831         [BZ #17069]
33832         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33833         constructed tree before returning error.
33834         * posix/bug-regexp36.c: Expand test case.
33836 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33838         [BZ #6803]
33839         * math/libm-test.inc (scalbln_test_date):
33840         Add errno expectations.
33841         * math/w_scalblnf.c: New File.
33842         Add wrapper which checks for setting errno to ERANGE.
33843         Add weak_alias for corresponding scalbln function.
33844         * math/w_scalbln.c: Likewise.
33845         * math/w_scalblnl.c: Likewise.
33846         * math/Makefile (libm-calls): Add w_scalbln.
33847         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33848         Remove weak_alias for corresponding scalbln function.
33849         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33850         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33851         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33852         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33853         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33854         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33855         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33856         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33857         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33858         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33859         Remove long_double_symbol for scalblnl function in libm, libc.
33860         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33861         Add wrapper which checks for setting errno to ERANGE.
33862         Add long_double_symbol for scalblnl function in libm, libc.
33863         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33864         Remove long_double_symbol for scalblnl in libm.
33865         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33866         Add wrapper which checks for setting errno to ERANGE.
33867         Add long_double_symbol for scalblnl function in libm.
33868         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33869         Do not use wrapper because of own implementation.
33871 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33873         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33874         3 bytes for __pad1 for x32.
33875         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33877 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33878             H.J. Lu  <hongjiu.lu@intel.com>
33880         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33881         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33882         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33883         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33884         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33886 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33888         [BZ #17069]
33889         * posix/regcomp.c (parse_expression): Deallocate partially
33890         constructed tree before returning error.
33891         * posix/Makefile.c (tests): Add bug-regex36.
33892         (generated): Add bug-regex36.mtrace.
33893         (tests-special): Add $(objpfx)bug-regex36-mem.out
33894         (bug-regex36-ENV): New variable.
33895         ($(objpfx)bug-regex36-mem.out): New rule.
33896         * posix/bug-regex36.c: New file.
33898 2014-06-19  Will Newton  <will.newton@linaro.org>
33900         * malloc/malloc.c (systrim): If extra is zero then return
33901         early.
33903 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33905         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33907 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33909         * sysdeps/aarch64/strchr.S: New file.
33911 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33913         [BZ #17022]
33914         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33915         from arguments -2 or below.
33916         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33917         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33919 2014-06-18  Andreas Schwab  <schwab@suse.de>
33921         [BZ #17062]
33922         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33923         of a bracket expr not to run off the end of the string.
33924         * posix/Makefile (tests): Add tst-fnmatch3.
33925         * posix/tst-fnmatch3.c: New file.
33927 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33929         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33930         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33931         [$(cross-compiling) = no]: Likewise.
33932         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33933         [$(cross-compiling) = no]: Likewise.
33935 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33937         [BZ #17031]
33938         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33939         double, adjusted for any remainder from the high double.
33940         * math/libm-test.inc (nearbyint): Add tests.
33941         (rint): Likewise.
33943 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33945         * nptl/sysdeps/powerpc/Makefile: Moved ...
33946         * sysdeps/powerpc/nptl/Makefile: ... here.
33947         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33948         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33949         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33950         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33951         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33952         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33953         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33954         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33955         * nptl/sysdeps/powerpc/tls.h: Moved ...
33956         * sysdeps/powerpc/nptl/tls.h: ... here.
33958 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33960         [BZ #16681]
33961         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33962         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33963         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33964         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33965         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33966         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33967         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33968         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33969         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33971 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33973         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33975 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33977         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33978         defined operator.
33980         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33981         $TIMEOUTFACTOR.
33983 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33985         [BZ #17058]
33986         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33987         non-executed part of the test.
33989 2014-06-16  Andreas Schwab  <schwab@suse.de>
33991         * string/bits/string2.h (strdup, strndup): Update feature guard.
33993 2014-06-14  David S. Miller  <davem@davemloft.net>
33995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33997 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33999         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34000         that was previously under [RESET_PID].
34001         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34003         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34004         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34005         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34006         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34007         (__libc_vfork): New strong alias.
34008         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34010 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34012         * sysdeps/generic/elide.h: New file.
34014 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34016         * Makefile (installed-headers): Adjust path of pthread.h header.
34018 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34020         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34021         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34022         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34023         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34025         * nptl/sysdeps/s390/Makefile: Moved ...
34026         * sysdeps/s390/nptl/Makefile: ... here.
34027         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34028         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34029         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34030         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34031         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34032         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34033         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34034         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34035         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34036         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34037         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34038         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34039         * nptl/sysdeps/s390/tls.h: Moved ...
34040         * sysdeps/s390/nptl/tls.h: ... here.
34042         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34043         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34045 2014-06-13  David S. Miller  <davem@davemloft.net>
34047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34050         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34054         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34055         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34056         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34057         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34058         Remove RESET_PID cpp guards.
34059         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34060         Remove RESET_PID cpp guards.
34061         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34063 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34065         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34066         __sp to uintptr_t.
34068 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34070         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34071         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34072         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34073         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34074         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34075         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34076         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34077         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34078         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34079         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34080         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34081         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34082         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34083         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34084         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34085         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34086         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34087         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34088         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34089         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34091         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34092         (pthread_rwlock_rdlock): Add elision.
34093         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34094         (pthread_rwlock_wrlock): Add elision.
34095         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34096         (pthread_rwlock_trywrlock): Add elision.
34097         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34098         (pthread_rwlock_tryrdlock): Add elision.
34099         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34100         (pthread_rwlock_tryrdlock): Add elision unlock.
34101         * nptl/sysdeps/pthread/pthread.h:
34102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34103         (PTHREAD_RWLOCK_INITIALIZER,
34104         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34105         Handle new elision field.
34106         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34107         * sysdeps/arm/nptl/bits/pthreadtypes.h
34108         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34109         * sysdeps/sh/nptl/bits/pthreadtypes.h
34110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34111         * sysdeps/tile/nptl/bits/pthreadtypes.h
34112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34113         * sysdeps/a/nptl/bits/pthreadtypes.h
34114         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34115         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34116         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34117         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34118         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34119         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34120         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34121         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34122         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34123         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34124         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34125         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34126         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34127         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34128         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34129         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34130         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34131         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34132         (elision_init): Set try_xbegin to zero when no RTM.
34133         * sysdeps/x86/nptl/bits/pthreadtypes.h
34134         (pthread_rwlock_t): Change __pad1 to __rwelision.
34135         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34137 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34139         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34140         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34141         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34142         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34144 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34146         [BZ #16996]
34147         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34148         that the cached result has been set before returning it.
34150 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34152         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34153         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34154         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34155         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34156         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34157         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34159         * nptl/sysdeps/sparc/Makefile: Moved ...
34160         * sysdeps/sparc/nptl/Makefile: ... here.
34161         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34162         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34163         * nptl/sysdeps/sparc/tls.h: Moved ...
34164         * sysdeps/sparc/nptl/tls.h: ... here.
34165         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34166         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34167         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34168         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34169         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34170         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34171         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34172         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34173         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34174         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34175         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34176         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34177         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34178         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34179         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34180         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34181         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34182         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34183         Update #include.
34184         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34185         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34186         Update #include.
34187         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34188         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34189         Update #include.
34190         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34191         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34192         Update #include.
34194         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34196         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34197         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34199         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34200         (struct list_links): Type removed.
34201         (struct thread_node, struct timer_node): Replace struct list_links
34202         with struct list_head.
34203         (list_unlink_ip): Likewise.
34204         * sysdeps/pthread/timer_routines.c
34205         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34206         (list_append, list_insbefore): Likewise.
34207         (list_init): Function removed.
34208         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34209         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34210         * sysdeps/pthread/Makefile: ... here, new file.
34212         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34213         * sysdeps/nptl/Implies: ... here.
34214         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34215         * nptl/sysdeps/pthread/list.h: Moved ...
34216         * include/list.h: ... here.
34217         * nptl/sysdeps/pthread/createthread.c: Moved ...
34218         * nptl/createthread.c: ... here.
34219         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34220         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34221         * nptl/pt-longjmp.c: ... here.
34222         * nptl/sysdeps/pthread/Makefile: Moved ...
34223         * sysdeps/nptl/Makefile: ... here.
34224         * nptl/sysdeps/pthread/Subdirs: Moved ...
34225         * sysdeps/nptl/Subdirs: ... here.
34226         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34227         * sysdeps/nptl/aio_misc.h: ... here.
34228         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34229         * sysdeps/nptl/bits/libc-lock.h: ... here.
34230         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34231         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34232         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34233         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34234         * nptl/sysdeps/pthread/configure: Moved ...
34235         * sysdeps/nptl/configure: ... here.
34236         * nptl/sysdeps/pthread/configure.ac: Moved ...
34237         * sysdeps/nptl/configure.ac: ... here.
34238         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34239         * sysdeps/nptl/gai_misc.h: ... here.
34240         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34241         * sysdeps/nptl/librt-cancellation.c: ... here.
34242         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34243         * sysdeps/nptl/malloc-machine.h: ... here.
34244         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34245         * sysdeps/nptl/pthread-functions.h: ... here.
34246         * nptl/sysdeps/pthread/pthread.h: Moved ...
34247         * sysdeps/nptl/pthread.h: ... here.
34248         * nptl/sysdeps/pthread/setxid.h: Moved ...
34249         * sysdeps/nptl/setxid.h: ... here.
34250         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34251         * sysdeps/nptl/sigfillset.c: ... here.
34252         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34253         * sysdeps/nptl/tcb-offsets.h: ... here.
34254         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34255         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34256         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34257         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34258         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34259         * sysdeps/pthread/allocalim.h: ... here.
34260         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34261         * sysdeps/pthread/bits/sigthread.h: ... here.
34262         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34263         * sysdeps/pthread/flockfile.c: ... here.
34264         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34265         * sysdeps/pthread/ftrylockfile.c: ... here.
34266         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34267         * sysdeps/pthread/funlockfile.c: ... here.
34268         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34269         * sysdeps/pthread/posix-timer.h: ... here.
34270         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34271         * sysdeps/pthread/timer_create.c: ... here.
34272         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34273         * sysdeps/pthread/timer_delete.c: ... here.
34274         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34275         * sysdeps/pthread/timer_getoverr.c: ... here.
34276         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34277         * sysdeps/pthread/timer_gettime.c: ... here.
34278         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34279         * sysdeps/pthread/timer_routines.c: ... here.
34280         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34281         * sysdeps/pthread/timer_settime.c: ... here.
34282         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34283         * sysdeps/pthread/tst-timer.c: ... here.
34284         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34285         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34287         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34288         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34290         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34291         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34292         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34293         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34294         Update #include target.
34295         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34296         * sysdeps/i386/i686/nptl/Makefile: ... here.
34297         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34298         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34299         Update #include target.
34300         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34301         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34302         * nptl/sysdeps/i386/Makefile: Moved ...
34303         * sysdeps/i386/nptl/Makefile: ... here.
34304         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34305         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34306         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34307         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34308         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34309         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34310         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34311         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34312         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34313         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34314         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34315         * nptl/sysdeps/i386/tls.h: Moved ...
34316         * sysdeps/i386/nptl/tls.h: ... here.
34318         * sysdeps/sh/Makefile [$(subdir) = csu]
34319         (gen-as-const-headers): Add tcb-offsets.sym.
34320         * nptl/sysdeps/sh/Makefile: File removed.
34321         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34322         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34323         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34324         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34325         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34326         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34327         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34328         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34329         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34330         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34331         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34332         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34333         * nptl/sysdeps/sh/tls.h: Moved ...
34334         * sysdeps/sh/nptl/tls.h: ... here.
34335         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34336         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34337         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34338         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34339         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34340         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34341         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34342         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34343         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34344         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34345         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34346         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34347         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34348         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34349         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34350         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34351         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34352         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34353         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34354         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34355         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34356         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34357         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34358         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34359         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34360         Moved ...
34361         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34362         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34363         Moved ...
34364         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34365         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34366         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34367         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34368         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34369         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34370         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34371         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34372         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34373         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34374         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34375         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34376         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34377         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34378         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34379         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34380         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34381         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34382         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34384 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34386         * posix/spawn_faction_addopen.c: Include string.h.
34388 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34390         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34391         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34392         * nptl/sysdeps/x86_64/Makefile: Moved ...
34393         * sysdeps/x86_64/nptl/Makefile: ... here.
34394         * nptl/sysdeps/x86_64/configure: Moved ...
34395         * sysdeps/x86_64/nptl/configure: ... here.
34396         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34397         * sysdeps/x86_64/nptl/configure.ac: ... here.
34398         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34399         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34400         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34401         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34402         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34403         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34404         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34405         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34406         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34407         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34408         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34409         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34410         * nptl/sysdeps/x86_64/tls.h: Moved ...
34411         * sysdeps/x86_64/nptl/tls.h: ... here.
34412         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34413         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34414         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34415         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34417         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34419 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34423 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34425         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34426         type.
34427         [POSIX] (off_t): Likewise.
34428         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34429         [POSIX] (S_ISBLK): Require macro.
34430         [POSIX] (S_ISCHR): Likewise.
34431         [POSIX] (S_ISDIR): Likewise.
34432         [POSIX] (S_ISFIFO): Likewise.
34433         [POSIX] (S_ISREG): Likewise.
34434         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34435         optional-macro.
34436         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34437         type.
34438         [POSIX] (time_t): Likewise.
34439         [POSIX] (timer_t): Likewise.
34441 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34443         [BZ #17048]
34444         * posix/spawn_int.h (struct __spawn_action): Make the path string
34445         non-const to support deallocation.
34446         * posix/spawn_faction_addopen.c
34447         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34448         * posix/spawn_faction_destroy.c
34449         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34450         path in all spawn_do_open actions.
34451         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34452         posix_spawn_file_actions_addopen.
34454 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34456         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34457         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34458         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34459         conditional code always true.
34460         (__libc_vfork): New alias.
34462 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34464         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34465         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34467         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34469         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34470         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34472         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34473         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34475         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34476         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34478 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34480         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34481         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34482         multiarch strcmp for PPC64.
34483         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34484         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34486         multiarch optimizations.
34487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34488         (__libc_ifunc_impl_list): Likewise.
34490 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34492         * benchtests/scripts/validate_benchout.py: New script.
34493         * benchtests/Makefile (bench-func): Call it.
34494         * benchtests/scripts/benchout.schema.json: New file.
34496 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34498         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34499         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34500         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34501         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34502         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34503         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34504         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34505         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34506         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34507         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34508         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34509         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34510         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34511         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34512         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34513         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34515         Moved ...
34516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34517         ... here.
34518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34519         Moved ...
34520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34522         Moved ...
34523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34524         ... here.
34525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34526         Moved ...
34527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34528         ... here.
34529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34530         Moved ...
34531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34533         Moved ...
34534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34535         ... here.
34536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34537         Moved ...
34538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34539         ... here.
34540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34541         Moved ...
34542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34544         Moved ...
34545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34546         ... here.
34547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34548         Moved ...
34549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34550         ... here.
34551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34552         Moved ...
34553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34554         ... here.
34555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34556         Moved ...
34557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34559         Moved ...
34560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34561         ... here.
34562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34563         Moved ...
34564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34565         ... here.
34566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34567         Moved ...
34568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34569         ... here.
34570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34571         Moved ...
34572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34574         Moved ...
34575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34576         ... here.
34577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34578         Moved ...
34579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34580         ... here.
34581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34582         Moved ...
34583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34585         Moved ...
34586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34587         ... here.
34588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34589         Moved ...
34590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34592         Moved ...
34593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34595         Moved ...
34596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34597         ... here.
34598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34599         Moved ...
34600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34601         ... here.
34602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34603         Moved ...
34604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34605         ... here.
34606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34607         Moved ...
34608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34610         Moved ...
34611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34612         ... here.
34613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34614         Moved ...
34615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34616         ... here.
34617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34618         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34620         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34621         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34622         Moved ...
34623         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34624         ... here.
34625         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34626         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34627         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34628         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34629         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34630         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34631         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34632         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34633         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34634         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34635         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34636         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34637         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34638         Moved ...
34639         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34640         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34641         Moved ...
34642         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34643         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34644         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34645         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34646         Moved ...
34647         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34648         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34649         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34650         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34651         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34652         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34653         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34655 2014-06-10  Wilco  <wdijkstr@arm.com>
34657         * math/test-fenv-return.c: New file.
34658         * math/Makefile: Add new test test-fenv-return.
34660 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34662         [BZ #17042]
34663         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34664         when x - 1 is zero.
34665         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34666         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34667         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34668         0.0L for an argument of 1.0L.
34669         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34670         Likewise.
34671         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34672         value when x - 1 is zero.
34673         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34674         * sysdeps/i386/fpu/libm-test-ulps: Update.
34675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34677 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34679         [BZ #15119]
34680         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34682 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34684         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34685         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34687 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34689         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34690         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34692         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34693         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34695         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34696         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34698         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34699         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34701         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34702         if not already defined.
34703         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34704         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34705         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34706         (TLS_INIT_TP): Use it.
34707         (TLS_DEFINE_INIT_TP): New macro.
34708         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34710 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34712         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34713         constant.
34714         [POSIX] (IXANY): Likewise.
34715         [POSIX] (OLCUC): Likewise.
34716         [POSIX || POSIX2008] (CBAUD): Do not allow.
34717         [POSIX || POSIX2008] (DEFECHO): Likewise.
34718         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34719         [POSIX || POSIX2008] (ECHOKE): Likewise.
34720         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34721         [POSIX || POSIX2008] (EXTA): Likewise.
34722         [POSIX || POSIX2008] (EXTB): Likewise.
34723         [POSIX || POSIX2008] (FLUSHO): Likewise.
34724         [POSIX || POSIX2008] (LOBLK): Likewise.
34725         [POSIX || POSIX2008] (PENDIN): Likewise.
34726         [POSIX || POSIX2008] (SWTCH): Likewise.
34727         [POSIX || POSIX2008] (VDISCARD): Likewise.
34728         [POSIX || POSIX2008] (VDSUSP): Likewise.
34729         [POSIX || POSIX2008] (VLNEXT): Likewise.
34730         [POSIX || POSIX2008] (VREPRINT): Likewise.
34731         [POSIX || POSIX2008] (VSTATUS): Likewise.
34732         [POSIX || POSIX2008] (VWERASE): Likewise.
34733         (B*): Change to B[0123456789]*.
34734         * conform/data/time.h-data [POSIX || UNIX98]
34735         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34736         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34737         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34738         [POSIX] (tm_*): Do not allow.
34740 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34742         * Makefile (install): Don't set LANGUAGE.
34743         * Makefile.in (install): Likewise.
34744         * assert/Makefile (test-assert-ENV): Remove variable.
34745         (test-assert-perr-ENV): Likewise.
34746         * elf/Makefile (neededtest4-ENV): Likewise.
34747         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34748         [$(cross-compiling) = no]: Don't set LANGUAGE.
34749         * io/ftwtest-sh (LANG): Remove variable.
34750         * libio/Makefile (tst-widetext-ENV): Likewise.
34751         * manual/install.texi (Running make install): Don't refer to
34752         environment settings for make install.
34753         * INSTALL: Regenerated.
34754         * nptl/tst-tls6.sh: Don't set LANG.
34755         * posix/globtest.sh (LANG): Remove variable.
34756         * string/Makefile (tester-ENV): Likewise.
34757         (inl-tester-ENV): Likewise.
34758         (noinl-tester-ENV): Likewise.
34759         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34760         [$(cross-compiling) = no]: Don't set LANGUAGE.
34761         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34762         without explicit environment settings.
34764 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34766         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34767         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34768         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34769         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34771 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34773         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34774         other files in the crypt directory.
34775         * crypt/crypt.c: Remove duplicate includes.
34776         * crypt/crypt-entry.c: Likewise.
34777         * crypt/crypt_util.c: Likewise.
34779 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34781         * Makeconfig (run-program-env): New variable.
34782         (run-program-prefix-before-env): Likewise.
34783         (run-program-prefix-after-env): Likewise.
34784         (run-program-prefix): Define in terms of new variables.
34785         (built-program-cmd-before-env): New variable.
34786         (built-program-cmd-after-env): Likewise.
34787         (built-program-cmd): Define in terms of new variables.
34788         (test-program-prefix-before-env): New variable.
34789         (test-program-prefix-after-env): Likewise.
34790         (test-program-prefix): Define in terms of new variables.
34791         (test-program-cmd-before-env): New variable.
34792         (test-program-cmd-after-env): Likewise.
34793         (test-program-cmd): Define in terms of new variables.
34794         * Rules (make-test-out): Use $(run-program-env).
34795         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34796         (help): Do not mention environment variables.  Mention
34797         --timeoutfactor option.
34798         (timeoutfactor): New variable.
34799         (blacklist_exports): Remove function.
34800         (exports): Remove variable.
34801         (command): Do not include ${exports}.
34802         * manual/install.texi (Configuring and compiling): Do not mention
34803         test wrappers preserving environment variables.  Mention that last
34804         assignment to a variable must take precedence.
34805         * INSTALL: Regenerated.
34806         * benchtests/Makefile (run-bench): Use $(run-program-env).
34807         * catgets/Makefile ($(objpfx)test1.cat): Use
34808         $(built-program-cmd-before-env), $(run-program-env) and
34809         $(built-program-cmd-after-env).
34810         ($(objpfx)test2.cat): Do not specify environment variables
34811         explicitly.
34812         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34813         $(run-program-env) and $(built-program-cmd-after-env).
34814         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34815         $(run-program-env) and $(test-program-cmd-after-env).
34816         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34817         explicitly.
34818         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34819         run_program_env and test_program_cmd_after_env arguments.
34820         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34821         * elf/tst-pathopt.sh: Use run_program_env argument.
34822         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34823         $(test-wrapper-env) and $(run-program-env).
34824         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34825         run_program_env arguments.
34826         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34827         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34828         $(test-program-prefix-before-env), $(run-program-env) and
34829         $(test-program-prefix-after-env).
34830         ($(objpfx)tst-gettext2.out): Likewise.
34831         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34832         run_program_env and test_program_prefix_after_env arguments.
34833         * intl/tst-gettext2.sh: Likewise.
34834         * intl/tst-gettext4.sh: Do not set environment variables
34835         explicitly.
34836         * intl/tst-gettext6.sh: Likewise.
34837         * intl/tst-translit.sh: Likewise.
34838         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34839         $(test-program-prefix-before-env), $(run-program-env) and
34840         $(test-program-prefix-after-env).
34841         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34842         run_program_env and test_program_prefix_after_env arguments.
34843         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34844         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34845         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34846         explicitly with each use of ${test_wrapper_env}.
34847         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34848         $(test-program-prefix-before-env), $(run-program-env) and
34849         $(test-program-prefix-after-env).
34850         * posix/tst-getconf.sh: Do not set environment variables
34851         explicitly.
34852         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34853         run_program_env and test_program_prefix_after_env arguments.
34854         * stdio-common/tst-printf.sh: Do not set environment variables
34855         explicitly.
34856         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34857         $(test-program-prefix-before-env), $(run-program-env) and
34858         $(test-program-prefix-after-env).
34859         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34860         run_program_env and test_program_prefix_after_env arguments.
34861         Split $test calls into $test_pre and $test.
34862         * timezone/Makefile (build-testdata): Use
34863         $(built-program-cmd-before-env), $(run-program-env) and
34864         $(built-program-cmd-after-env).
34866 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34868         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34869         strlen for non SHARED builds.
34871 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34873         * nptl/allocatestack.c (check_list): Inlined function...
34874         (__reclaim_stacks): ... here.
34876 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34878         [BZ #15698]
34879         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34880         memory overrun.
34882 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34884         * Rules (make-test-out): Include
34885         LOCPATH=$(common-objpfx)localedata in default environment.
34886         * debug/Makefile (tst-chk1-ENV): Remove variable.
34887         (tst-chk2-ENV): Likewise.
34888         (tst-chk3-ENV): Likewise.
34889         (tst-chk4-ENV): Likewise.
34890         (tst-chk5-ENV): Likewise.
34891         (tst-chk6-ENV): Likewise.
34892         (tst-lfschk1-ENV): Likewise.
34893         (tst-lfschk2-ENV): Likewise.
34894         (tst-lfschk3-ENV): Likewise.
34895         (tst-lfschk4-ENV): Likewise.
34896         (tst-lfschk5-ENV): Likewise.
34897         (tst-lfschk6-ENV): Likewise.
34898         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34899         (tst-iconv7-ENV): Likewise.
34900         * intl/Makefile (LOCPATH-ENV): Likewise.
34901         (tst-codeset-ENV): Likewise.
34902         (tst-gettext3-ENV): Likewise.
34903         (tst-gettext5-ENV): Likewise.
34904         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34905         (tst-fopenloc-ENV): Likewise.
34906         (tst-fgetws-ENV): Remove variable.
34907         (tst-ungetwc1-ENV): Likewise.
34908         (tst-ungetwc2-ENV): Likewise.
34909         (bug-ungetwc2-ENV): Likewise.
34910         (tst-swscanf-ENV): Likewise.
34911         (bug-ftell-ENV): Likewise.
34912         (tst-fgetwc-ENV): Likewise.
34913         (tst-fseek-ENV): Likewise.
34914         (tst-ftell-partial-wide-ENV): Likewise.
34915         (tst-ftell-active-handler-ENV): Likewise.
34916         (tst-ftell-append-ENV): Likewise.
34917         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34918         (tst-regexloc-ENV): Likewise.
34919         (bug-regex1-ENV): Likewise.
34920         (tst-regex-ENV): Likewise.
34921         (tst-regex2-ENV): Likewise.
34922         (bug-regex5-ENV): Likewise.
34923         (bug-regex6-ENV): Likewise.
34924         (bug-regex17-ENV): Likewise.
34925         (bug-regex18-ENV): Likewise.
34926         (bug-regex19-ENV): Likewise.
34927         (bug-regex20-ENV): Likewise.
34928         (bug-regex22-ENV): Likewise.
34929         (bug-regex23-ENV): Likewise.
34930         (bug-regex25-ENV): Likewise.
34931         (bug-regex26-ENV): Likewise.
34932         (bug-regex30-ENV): Likewise.
34933         (bug-regex32-ENV): Likewise.
34934         (bug-regex33-ENV): Likewise.
34935         (bug-regex34-ENV): Likewise.
34936         (bug-regex35-ENV): Likewise.
34937         (tst-rxspencer-ENV): Likewise.
34938         (tst-rxspencer-no-utf8-ENV): Likewise.
34939         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34940         (tst-sscanf-ENV): Likewise.
34941         (tst-swprintf-ENV): Likewise.
34942         (tst-swscanf-ENV): Likewise.
34943         (test-vfprintf-ENV): Likewise.
34944         (scanf13-ENV): Likewise.
34945         (bug14-ENV): Likewise.
34946         (tst-grouping-ENV): Likewise.
34947         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34948         (tst-strtod3-ENV): Likewise.
34949         (tst-strtod4-ENV): Likewise.
34950         (tst-strtod5-ENV): Likewise.
34951         (testmb2-ENV): Likewise./
34952         * string/Makefile (tst-strxfrm-ENV): Likewise.
34953         (tst-strxfrm2-ENV): Likewise.
34954         (bug-strcoll1-ENV): Likewise.
34955         (test-strcasecmp-ENV): Likewise.
34956         (test-strncasecmp-ENV): Likewise.
34957         * time/Makefile (tst-strptime-ENV): Likewise.
34958         (tst-ftime_l-ENV): Likewise.
34959         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34960         (tst-mbrtowc-ENV): Likewise.
34961         (tst-wcrtomb-ENV): Likewise.
34962         (tst-mbrtowc2-ENV): Likewise.
34963         (tst-c16c32-1-ENV): Likewise.
34964         (tst-mbsnrtowcs-ENV): Likewise.
34966 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34968         * manual/resource.texi (How to get information about the memory
34969         subsystem?): Fix typo.
34970         Reported by Peon de la Parra Ivan <peon@keba.com>
34972 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34974         [BZ #16882]
34975         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34976         (pthread_spin_lock): Branch out of spin loop to proper location.
34977         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34978         (pthread_spin_lock): Likewise.
34980         * nptl/tst-spin4.c: New test.
34981         * nptl/Makefile (tests): Add tst-spin4.
34983 2014-06-03  Andreas Schwab  <schwab@suse.de>
34985         [BZ #15946]
34986         * resolv/res_send.c (send_dg): Reload file descriptor after
34987         calling reopen.
34989 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34991         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34993 2014-06-03  Richard Henderson  <rth@redhat.com>
34995         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34996         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34997         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34998         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34999         in the SAVE_PID block.
35000         (__libc_vfork): New alias.
35001         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35003         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35004         child in registers, not on the stack.  Remove RESET_PID conditionals.
35005         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35007 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35009         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35011 2014-06-03  Wilco  <wdijkstr@arm.com>
35013         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35014         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35015         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35016         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35017         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35018         Likewise.
35020 2014-06-03  Wilco  <wdijkstr@arm.com>
35022         * sysdeps/aarch64/fpu/math_private.h
35023         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35024         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35025         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35026         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35027         Fix declarations.
35029 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35031         * crypt/crypt-private.h: Include ufc-crypt.h.
35032         (__b64_from_24bit): Declare extern.
35033         * crypt/crypt_util.c(__b64_from_24bit): New function.
35034         (b64t): New static const variable.
35035         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35036         (b64t): Remove variable.
35037         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35038         * crypt/sha256-crypt.c: Include crypt-private.h.
35039         (b64t): Remove variable.
35040         (__sha256_crypt_r): Remove b64_from_24bit and replace
35041         with __b64_from_24bit.
35042         * crypt/sha512-crypt.c: Likewise.
35044 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35046         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35047         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35048         Label the code __libc_vfork rather than __vfork.
35049         [!NOT_IN_libc] (vfork): Define as weak alias.
35050         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35051         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35052         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35054 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35056         * malloc/malloc.c (malloc_info): Fix format specifier for
35057         n_mmaps.
35059 2014-06-02  Wilco  <wdijkstr@arm.com>
35061         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35062         FPCR write.
35064 2014-06-02  Wilco  <wdijkstr@arm.com>
35066         [BZ #17009]
35067         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35068         Rewrite to reduce FPCR/FPSR accesses.
35070 2014-06-01  David S. Miller  <davem@davemloft.net>
35072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35074 2014-05-31  David S. Miller  <davem@davemloft.net>
35076         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35077         to occur in round to nearest mode when |x| >= 2.0
35079 2014-05-30  Richard Henderson  <rth@twiddle.net>
35081         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35082         (PSEUDO_RET_NOERRNO): Remove.
35083         (ret): Don't redefine.
35084         (ret_NOERRNO): Define in terms of ret.
35085         (ret_ERRVAL): Likewise.
35087         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35088         use of PSEUDO_RET; perform the error check directly.
35090 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35092         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35093         with __int128_t.
35095 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35097         * malloc/malloc (malloc_info): Fix formatting.
35099 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35100             Roland McGrath  <roland@hack.frob.com>
35102         * malloc/malloc (malloc_info): Also print mmapped statistics.
35104 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35106         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35107         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35109 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35111         * malloc/malloc.c (malloc_info): Inline mi_arena.
35113 2014-05-29  Richard Henderson  <rth@twiddle.net>
35115         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35116         Remove comma before expanding ASM_ARGS_##nr.
35117         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35118         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35119         of ASM_ARGS_##nr.
35120         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35121         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35122         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35123         (ASM_ARGS_1): Add leading comma.
35125         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35126         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35127         to __errno_location.
35128         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35129         Remove the expected plt for __errno_location.
35131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35132         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35133         call to __read_tp.
35135         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35136         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35137         it and break it down.
35138         (DOCARGS_0, DOCARGS_1): Do nothing.
35139         (DOCARGS_2): Update to store into the new stack frame.
35140         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35141         (UNDOCARGS_1): Update to restore from the new stack frame.
35142         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35143         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35145         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35146         (SINGLE_THREAD_P): New parameter for result regno.
35147         (PSEUDO): Update to match; use cbz instead of beq.
35149         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35150         Use ENTRY to define the _nocancel entry point.  Share the syscall
35151         and syscall error check paths with the cancel path.
35152         (PSEUDO_END): New.
35154         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35155         whitespace; tabs before and after asm mnemonics.
35157 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35159         [BZ #15132]
35160         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35161         Call fstat64 or stat64 internally, depending on arguments passed.
35162         Replace stat buffer argument with file descriptor argument.
35163         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35164         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35165         Pass fd to __internal_statvfs instead of calling fstat64.
35166         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35167         Pass fd to __internal_statvfs64 instead of calling fstat64.
35168         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35169         Pass -1 to __internal_statvfs instead of calling stat64.
35170         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35171         Pass -1 to __internal_statvfs64 instead of calling stat64.
35173 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35175         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35176         that was previously under [RESET_PID].
35177         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35179         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35180         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35182 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35184         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35186         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35187         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35189 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35191         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35193 2014-05-27  Andreas Schwab  <schwab@suse.de>
35195         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35196         TLS_INIT_TP macro.
35197         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35198         * elf/rtld.c (init_tls, dl_main): Likewise.
35199         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35200         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35201         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35202         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35203         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35204         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35205         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35206         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35207         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35208         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35209         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35210         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35211         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35212         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35213         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35214         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35215         * sysdeps/generic/tls.h: Update description.
35217 2014-05-27  Will Newton  <will.newton@linaro.org>
35219         [BZ #16990]
35220         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35221         and restore r2 rather than just restoring.
35223 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35225         [BZ #16724]
35226         * libio/tst-ftell-append.c: New test case.
35227         * libio/Makefile (tests): Add test case.
35228         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35229         append mode.
35230         * libio/wfileops.c (do_ftell_wide): Likewise.
35232 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35236         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35237         ...
35238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35240         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35241         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35242         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35243         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35244         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35245         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35246         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35247         Moved ...
35248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35249         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35250         Moved ...
35251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35252         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35253         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35254         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35255         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35256         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35257         ...
35258         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35259         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35260         Moved ...
35261         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35262         here.
35263         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35264         ...
35265         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35266         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35267         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35269         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35270         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35271         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35272         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35275         merge into ...
35276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35277         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35278         ...
35279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35280         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35281         ...
35282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35284         Moved ...
35285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35286         here.
35287         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35288         Moved ...
35289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35290         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35291         Moved ...
35292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35295         conditional [RESET_PID].
35296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35298         removed.
35299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35300         removed.
35302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35303         <tcb-offsets.h>.
35304         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35305         (__libc_vfork): New strong alias.
35306         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35307         removed.
35308         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35309         Removed.
35311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35312         <tcb-offsets.h>.
35313         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35314         (__libc_vfork): New strong alias.
35315         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35316         removed.
35317         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35318         removed.
35320 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35322         * malloc/malloc.c (mi_arena): New function.
35323         (malloc_info): Remove nested function mi_arena. Call non-nosted
35324         function mi_arena.
35326 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35328         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35329         by insrwi.
35330         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35331         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35332         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35333         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35334         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35335         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35336         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35338 2014-05-26  Andreas Schwab  <schwab@suse.de>
35340         [BZ #16984]
35341         * locale/programs/repertoire.c (repertoire_read): Add slash
35342         between I18NPATH element and file name.
35343         * locale/programs/locfile.c (locfile_read): Likewise.
35345 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35347         * nptl/pthread_mutexattr_settype.c
35348         (__pthread_mutexattr_settype):
35349         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35351 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35353         * nptl/tst-mutex5 (do_test):
35354         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35356 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35358         * benchtests/README: Document 'init' directive.
35359         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35360         BENCH_INIT.
35361         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35362         (parse_file): Recognize 'init' directive.
35364 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35366         [BZ #16796]
35367         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35368         alignment of struct pthread.
35370 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35372         [BZ #16878]
35373         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35374         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35375         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35376         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35378 2014-05-25  Richard Henderson  <rth@twiddle.net>
35380         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35381         (SINGLE_THREAD_P_PIC): Remove.
35382         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35383         (SINGLE_THREAD_P_PIC): Remove.
35385         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35386         branch to syscall error ...
35387         (PSEUDO): ... here.
35388         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35389         from __local_syscall_error to .Lsyscall_error.
35390         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35391         (SYSCALL_ERROR): Update label name.
35393         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35394         Do not use DOARGS/UNDOARGS.
35395         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35396         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35397         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35398         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35399         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35401         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35402         block comment.
35404         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35405         define if !NOT_IN_libc.
35406         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35407         define with non-default symbol versions.
35409 2014-05-23  Richard Henderson  <rth@twiddle.net>
35411         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35412         (vfork, __vfork): Define via compat_symbol.
35414         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35415         [!HAVE_IFUNC] (vfork_compat): Remove.
35416         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35418 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35420         [BZ #16978]
35421         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35422         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35423         variable.
35425 2014-05-23  Richard Henderson  <rth@twiddle.net>
35427         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35428         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35429         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35430         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35432         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35433         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35434         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35435         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35436         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35437         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35438         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35439         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35440         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35441         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35442         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35443         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35444         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35445         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35446         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35447         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35448         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35449         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35450         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35451         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35452         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35453         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35454         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35455         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35456         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35457         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35458         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35459         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35460         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35461         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35462         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35463         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35464         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35465         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35466         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35467         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35468         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35469         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35470         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35471         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35472         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35473         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35474         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35475         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35476         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35477         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35478         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35479         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35480         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35481         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35482         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35483         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35484         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35485         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35486         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35487         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35489         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35490         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35491         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35492         before exiting on error.
35493         (__libc_vfork): New strong alias.
35494         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35495         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35497         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35498         that was previously under [RESET_PID].
35499         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35501         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35503 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35505         [BZ #16977]
35506         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35507         value when x - 1 is zero.
35508         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35509         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35510         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35511         0.0L for an argument of 1.0L.
35512         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35513         Likewise.
35514         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35515         value when x - 1 is zero.
35516         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35517         * sysdeps/i386/fpu/libm-test-ulps: Update.
35518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35520 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35522         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35523         alphasort and versionsort.
35525 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35527         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35528         macro.
35529         [copysignf]: Likewise.
35531 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35533         * crypt/md5-crypt.c: Fix formatting.
35535 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35537         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35538         (b64_from_24bit): New function.
35540 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35542         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35543         libc_hidden_builtin_def to ifunc.
35544         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35545         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35547 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35549         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35550         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35552 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35554         * nscd/Depend (linuxthreads): Remove.
35555         (nptl): Add.
35556         * resolv/Depend (linuxthreads): Remove.
35557         * rt/Depend (linuxthreads): Remove.
35559         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35560         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35561         $(common-objpfx)elf/.
35562         (link-libc-before-gnulib): Likewise.
35563         (elfobjdir): Remove variable.
35564         * Makefile (install): Use $(elf-objpfx) instead of
35565         $(common-objpfx)elf/.
35566         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35567         $(elfobjdir)/.
35568         (link-libc-deps): Likewise.
35569         ($(common-objpfx)libc.so): Likewise.
35570         ($(common-objpfx)linkobj/libc.so): Likewise.
35571         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35572         instead of $(common-objpfx)elf/.
35573         (symbolic-link-list): Likewise.
35574         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35575         [$(cross-compiling) = no]: Likewise.
35576         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35577         $(elfobjdir)/.
35578         (static-gnulib-arch): Likewise.
35579         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35580         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35581         $(common-objpfx)elf/.
35583 2014-05-21  Richard Henderson  <rth@redhat.com>
35585         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35586         (SINGLE_THREAD_P): Use the correct width load.  Fold
35587         into the ldr offset.
35589         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35590         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35592 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35594         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35595         (libgcc_s_resume): Use __attribute_used__.
35596         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35597         Likewise.
35599 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35601         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35602         optimization when used with float constants.
35604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35606 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35608         [BZ #16915]
35609         * locale/nl_langinfo_l.c: Make direct reference to every
35610         _nl_current_CATEGORY symbol.
35611         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35612         (tests-static): Add tst-langinfo-static.
35613         (tests-special): Add tst-langinfo-static.out.
35614         ($(objpfx)tst-langinfo.out): Redirect output.
35615         ($(objpfx)tst-langinfo-static.out): New.
35616         * localedata/tst-langinfo.sh: Send output to stdout.
35617         * localedata/tst-langinfo-static.c: New file.
35619         [BZ #16965]
35620         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35621         when the shift amount is modulo the limb size.
35623 2014-05-20  Richard Henderson  <rth@redhat.com>
35625         [BZ #16967]
35626         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35627         Change type of sa_flags from unsigned int to int.
35629         [BZ #16966]
35630         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35632         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35634 2014-05-20  Will Newton  <will.newton@linaro.org>
35636         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35637         Test the return value of the system call in the nocancel case.
35639 2014-05-20  Will Newton  <will.newton@linaro.org>
35640             Yvan Roux  <yvan.roux@linaro.org>
35642         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35643         #include of asm/ptrace.h.
35644         (PTRACE_GET_THREAD_AREA): Remove #undef.
35645         (PTRACE_GETHBPREGS): Likewise.
35646         (PTRACE_SETHBPREGS): Likewise.
35647         (struct user_regs_struct): New structure.
35648         (struct user_fpsimd_struct): New structure.
35649         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35650         #include of asm/ptrace.h and second #include of sys/user.h.
35651         (PTRACE_GET_THREAD_AREA): Remove #undef.
35652         (PTRACE_GETHBPREGS): Likewise.
35653         (PTRACE_SETHBPREGS): Likewise.
35654         (ELF_NGREG): Use new struct user_regs_struct.
35655         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35657 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35659         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35660         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35662 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35664         [BZ #16958]
35665         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35666         membar to avoid block loads/stores to overlap previous stores.
35668 2014-05-17  Richard Henderson  <rth@redhat.com>
35670         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35671         Create the __##syscall_name##_nocancel entry point.
35672         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35673         Remove; let the sysdep-cancel.h code create it.
35675 2014-05-17  David S. Miller  <davem@davemloft.net>
35677         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35678         Protect with __USE_GNU.
35679         (TIOCSET_TEMPT): Likewise.
35680         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35681         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35682         these are already provided in bits/ioctl-types.h
35684 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35686         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35687         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35689         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35690         Use wait4 regardless of [__NR_waitpid].
35692 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35694         PR libgcc/60166
35695         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35696         (_FP_NANSIGN_Q): Set the quiet bit.
35698 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35700         * benchtests/Makefile
35701         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35702         not $(common-objpfx)math/libm.so.
35703         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35704         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35705         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35706         $(common-objpfx)dlfcn/libdl.so.
35707         ($(objpfx)tst-audit8): Depend on $(libm), not
35708         $(common-objpfx)math/libm.so.
35709         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35710         not $(common-objpfx)dlfcn/libdl.so.
35711         * math/Makefile
35712         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35713         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35714         [$(build-shared) = yes].
35715         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35716         $(common-objpfx)nptl/libpthread.so.
35717         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35718         $(common-objpfx)math/libm.so$(libm.so-version) or
35719         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35720         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35721         $(common-objpfx)dlfcn/libdl.so.
35722         * setjmp/Makefile (link-libm): Remove variable.
35723         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35724         * stdio-common/Makefile (link-libm): Remove variable.
35725         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35726         * stdlib/Makefile (link-libm): Remove variable.
35727         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35728         ($(objpfx)tst-strtod-round): Likewise.
35729         ($(objpfx)tst-tininess): Likewise.
35730         ($(objpfx)tst-strtod-underflow): Likewise.
35731         ($(objpfx)tst-strtod6): Likewise.
35732         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35733         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35734         $(common-objpfx)dlfcn/libdl.so.
35736 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35738         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35739         BSD terminal modes definitions.
35741 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35743         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35744         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35746         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35747         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35748         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35749         Don't do #include_next.
35750         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35751         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35752         Don't do #include_next.
35753         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35754         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35755         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35756         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35758 2014-05-16  Allan McRae  <allan@archlinux.org>
35760         * po/sv.po: Update Swedish translation from translation project.
35762         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35763         in sed expression.
35765 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35767         [BZ #16917]
35768         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35769         errno if the TIOCGPTN ioctl fails with an error different than
35770         EINVAL.
35771         * login/tst-ptsname.c: New file.
35772         * login/Makefile (tests): Add tst-ptsname.
35774         [BZ #16943]
35775         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35776         and prlimit64.
35778 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35780         [BZ #16849]
35781         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35782         herrno to return EAI_AGAIN.
35784 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35786         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35787         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35788         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35789         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35790         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35791         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35792         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35793         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35794         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35795         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35796         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35797         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35798         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35799         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35800         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35801         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35802         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35803         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35804         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35805         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35806         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35807         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35808         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35809         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35810         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35811         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35812         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35813         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35814         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35815         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35817         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35819         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35821         Moved ...
35822         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35824         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35826         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35828         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35830         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35832         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35834         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35836         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35838         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35840         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35842         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35844         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35846         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35848         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35850         Moved ...
35851         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35853         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35855         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35857         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35859         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35861         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35863         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35865         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35867         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35869         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35871         Moved ...
35872         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35874         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35876         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35877         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35878         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35879         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35880         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35881         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35882         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35883         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35884         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35885         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35886         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35887         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35888         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35889         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35890         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35891         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35892         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35893         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35894         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35895         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35896         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35897         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35898         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35899         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35900         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35901         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35902         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35903         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35904         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35905         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35906         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35908         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35909         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35911         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35912         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35913         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35914         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35915         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35916         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35917         Moved ...
35918         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35919         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35920         Moved ...
35921         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35922         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35923         Moved ...
35924         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35925         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35926         Moved ...
35927         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35928         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35929         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35930         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35931         Moved ...
35932         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35933         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35934         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35935         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35936         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35937         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35938         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35939         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35940         Moved ...
35941         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35942         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35943         Moved ...
35944         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35945         ... here.
35946         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35947         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35948         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35949         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35950         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35951         Moved ...
35952         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35953         ... here.
35954         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35955         Moved ...
35956         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35957         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35958         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35959         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35960         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35961         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35962         Moved ...
35963         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35964         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35965         Moved ...
35966         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35967         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35968         Moved ...
35969         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35970         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35971         Moved ...
35972         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35973         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35974         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35975         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35976         Moved ...
35977         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35978         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35979         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35980         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35981         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35982         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35983         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35984         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35985         Moved ...
35986         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35987         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35988         Moved ...
35989         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35990         ... here.
35991         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35992         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35993         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35994         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35995         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35996         Moved ...
35997         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35998         ... here.
35999         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36000         Moved ...
36001         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36002         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36003         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36004         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36005         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36006         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36007         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36008         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36009         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36010         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36011         Moved ...
36012         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36013         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36014         Moved ...
36015         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36016         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36017         Moved ...
36018         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36019         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36020         Moved ...
36021         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36022         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36023         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36024         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36025         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36026         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36027         Moved ...
36028         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36029         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36030         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36031         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36032         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36033         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36034         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36035         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36036         Moved ...
36037         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36038         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36039         Moved ...
36040         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36041         ... here.
36042         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36043         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36044         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36045         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36046         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36047         Moved ...
36048         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36049         ... here.
36050         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36051         Moved ...
36052         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36053         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36054         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36055         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36056         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36057         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36058         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36059         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36060         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36061         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36062         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36064         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36065         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36067         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36068         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36070         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36071         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36072         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36073         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36074         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36075         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36076         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36077         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36078         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36079         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36080         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36081         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36082         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36083         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36084         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36085         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36086         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36087         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36088         Moved ...
36089         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36090         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36091         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36092         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36093         Moved ...
36094         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36095         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36096         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36097         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36098         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36099         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36100         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36101         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36102         Moved ...
36103         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36104         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36105         Moved ...
36106         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36107         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36108         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36110         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36111         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36112         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36113         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36114         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36115         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36116         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36117         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36118         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36119         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36120         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36121         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36122         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36124         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36125         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36126         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36127         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36128         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36130         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36131         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36132         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36133         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36134         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36135         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36136         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36137         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36138         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36139         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36141         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36142         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36144         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36145         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36146         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36147         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36148         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36149         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36150         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36151         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36152         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36153         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36154         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36155         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36156         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36157         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36159         Update #include.
36160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36161         Likewise.
36162         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36163         Likewise.
36164         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36165         Likewise.
36166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36167         Likewise.
36168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36169         Likewise.
36170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36171         Likewise.
36172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36173         Likewise.
36174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36175         Likewise.
36176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36177         Likewise.
36178         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36179         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36180         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36181         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36182         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36183         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36184         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36185         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36186         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36187         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36188         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36189         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36190         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36191         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36192         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36194         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36195         that was previously under [RESET_PID].
36196         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36197         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36198         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36200         * sysdeps/i386/nptl/Implies: New file.
36201         * sysdeps/x86_64/nptl/Implies: New file.
36202         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36203         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36204         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36205         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36207         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36208         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36209         (__libc_vfork): New strong alias.
36210         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36211         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36213         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36214         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36215         (__libc_vfork): New strong alias.
36216         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36217         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36219         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36220         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36221         (__libc_vfork): New strong alias.
36222         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36223         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36224         * nptl/pt-vfork.c: New file.
36225         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36226         (libpthread: GLIBC_2.20): New version set (empty).
36228 2014-05-14  Will Newton  <will.newton@linaro.org>
36230         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36231         rather than #if.
36233 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36235         [BZ #16564]
36236         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36237         arguments with exponent 65 or above.
36238         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36239         arguments 0x1p113L or above.
36240         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36241         to arguments 0x1p107L or above.
36242         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36243         positive arguments with exponent 65 or above.
36244         * math/auto-libm-test-in: Add more tests of log1p.
36245         * math/auto-libm-test-out: Regenerated.
36247         [BZ #16928]
36248         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36249         non-finite arguments is +0.
36250         * math/s_cacosf.c (__cacosf): Likewise.
36251         * math/s_cacosl.c (__cacosl): Likewise.
36252         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36253         * sysdeps/i386/fpu/libm-test-ulps: Update.
36254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36256         [BZ #16927]
36257         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36258         value.
36259         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36260         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36261         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36262         for explicit high bit of mantissa when testing for argument equal
36263         to 1.
36264         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36265         * sysdeps/i386/fpu/libm-test-ulps: Update.
36266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36268         [BZ #16516]
36269         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36270         (__erf): Scale by 16 instead of 8 in potentially underflowing
36271         case.  Ensure exception if result actually underflows.
36272         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36273         (__erff): Scale by 16 instead of 8 in potentially underflowing
36274         case.  Ensure exception if result actually underflows.
36275         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36276         (efx8): Remove variable.
36277         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36278         case.  Ensure exception if result actually underflows.
36279         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36280         (efx8): Remove variable.
36281         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36282         case.  Ensure exception if result actually underflows.
36283         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36284         (efx8): Remove variable.
36285         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36286         case.  Ensure exception if result actually underflows.
36287         * math/auto-libm-test-in: Add more tests of erf.
36288         * math/auto-libm-test-out: Regenerated.
36290 2014-05-14  Andreas Schwab  <schwab@suse.de>
36292         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36293         Remove code conditionalized on USE___THREAD.
36295         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36296         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36297         not definedness.
36299 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36301         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36302         Define unconditionally.
36303         (__ASSUME_O_CLOEXEC): Likewise.
36304         (__ASSUME_SOCK_CLOEXEC): Likewise.
36305         (__ASSUME_IN_NONBLOCK): Likewise.
36306         (__ASSUME_PIPE2): Likewise.
36307         (__ASSUME_EVENTFD2): Likewise.
36308         (__ASSUME_SIGNALFD4): Likewise.
36309         (__ASSUME_DUP3): Likewise.
36310         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36311         (__ASSUME_DUP3): Do not define.
36312         (__ASSUME_EVENTFD2): Likewise.
36313         (__ASSUME_IN_NONBLOCK): Likewise.
36314         (__ASSUME_O_CLOEXEC): Likewise.
36315         (__ASSUME_PIPE2): Likewise.
36316         (__ASSUME_SIGNALFD4): Likewise.
36317         (__ASSUME_SOCK_CLOEXEC): Likewise.
36318         (__ASSUME_UTIMES): Undefine.
36319         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36320         (__ASSUME_UTIMES): Do not define.
36321         (__ASSUME_O_CLOEXEC): Likewise.
36322         (__ASSUME_SOCK_CLOEXEC): Likewise.
36323         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36324         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36325         0x020621].
36326         (__ASSUME_PIPE2): Likewise.
36327         (__ASSUME_EVENTFD2): Likewise.
36328         (__ASSUME_SIGNALFD4): Likewise.
36329         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36330         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36331         Do not define.
36332         (__ASSUME_EVENTFD2): Likewise.
36333         (__ASSUME_SIGNALFD4): Likewise.
36334         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36335         (__ASSUME_32BITUIDS): Likewise.
36336         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36337         (__ASSUME_IPC64): Likewise.
36338         (__ASSUME_ST_INO_64_BIT): Likewise.
36339         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36340         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36341         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36342         (__ASSUME_UTIMES): Do not define.
36343         (__ASSUME_PSELECT): Likewise.
36344         (__ASSUME_PPOLL): Likewise.
36345         (__ASSUME_O_CLOEXEC): Likewise.
36346         (__ASSUME_SOCK_CLOEXEC): Likewise.
36347         (__ASSUME_IN_NONBLOCK): Likewise.
36348         (__ASSUME_PIPE2): Likewise.
36349         (__ASSUME_EVENTFD2): Likewise.
36350         (__ASSUME_SIGNALFD4): Likewise.
36351         (__ASSUME_DUP3): Likewise.
36352         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36353         (__ASSUME_UTIMES): Likewise.
36354         (__ASSUME_O_CLOEXEC): Likewise.
36355         (__ASSUME_SOCK_CLOEXEC): Likewise.
36356         (__ASSUME_IN_NONBLOCK): Likewise.
36357         (__ASSUME_PIPE2): Likewise.
36358         (__ASSUME_EVENTFD2): Likewise.
36359         (__ASSUME_SIGNALFD4): Likewise.
36360         (__ASSUME_DUP3): Likewise.
36361         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36362         (__ASSUME_UTIMES): Likewise.
36363         (__ASSUME_O_CLOEXEC): Likewise.
36364         (__ASSUME_SOCK_CLOEXEC): Likewise.
36365         (__ASSUME_IN_NONBLOCK): Likewise.
36366         (__ASSUME_PIPE2): Likewise.
36367         (__ASSUME_EVENTFD2): Likewise.
36368         (__ASSUME_SIGNALFD4): Likewise.
36369         (__ASSUME_DUP3): Likewise.
36370         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36371         Likewise.
36372         (__ASSUME_UTIMES): Likewise.
36373         (__ASSUME_EVENTFD2): Likewise.
36374         (__ASSUME_SIGNALFD4): Likewise.
36375         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36376         (__ASSUME_O_CLOEXEC): Likewise.
36377         (__ASSUME_SOCK_CLOEXEC): Likewise.
36378         (__ASSUME_IN_NONBLOCK): Likewise.
36379         (__ASSUME_PIPE2): Likewise.
36380         (__ASSUME_EVENTFD2): Likewise.
36381         (__ASSUME_SIGNALFD4): Likewise.
36382         (__ASSUME_DUP3): Likewise.
36383         (__ASSUME_UTIMES): Undefine.
36385         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36386         feclearexcept.  Remove symbol versioning code.
36387         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36388         symbol versioning code.
36389         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36390         symbol versioning code.
36391         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36392         feupdateenv.  Remove symbol versioning code.
36393         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36394         fegetexceptflag.  Remove symbol versioning code.
36395         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36396         fesetexceptflag.  Remove symbol versioning code.
36397         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36398         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36399         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36400         (__posix_fadvise64_l32): Remove prototype.
36401         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36402         code.
36404 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36406         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36407         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36408         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36409         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36411 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36413         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36414         current working directory
36416 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36418         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36419         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36420         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36421         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36422         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36423         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36424         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36425         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36426         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36427         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36428         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36429         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36430         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36431         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36432         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36433         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36434         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36435         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36436         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36437         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36438         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36439         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36440         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36441         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36442         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36443         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36444         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36445         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36446         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36447         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36448         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36449         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36450         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36451         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36452         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36453         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36454         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36455         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36456         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36457         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36458         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36459         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36461         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36462         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36464         * sysdeps/unix/sysv/linux/arm/Makefile
36465         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36466         Add rt-aeabi_unwind_cpp_pr1.
36467         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36468         Add nptl-aeabi_unwind_cpp_pr1.
36469         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36470         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36471         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36472         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36473         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36474         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36476         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36477         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36478         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36479         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36481         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36482         Deconditionalize the code that was previously under [RESET_PID].
36483         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36485         * sysdeps/generic/exit-thread.h: New file.
36486         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36487         * include/unistd.h (__exit_thread): Remove declaration.
36488         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36489         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36490         * csu/libc-start.c: Include <exit-thread.h>.
36491         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36492         * nptl/pthread_create.c: Include <exit-thread.h>.
36493         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36494         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36495         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36496         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36497         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36498         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36499         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36500         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36501         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36502         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36503         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36504         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36505         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36506         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36507         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36508         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36509         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36511 2014-05-13  Andreas Schwab  <schwab@suse.de>
36513         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36515 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36517         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36518         (__ASSUME_UTIMES): Do not condition on kernel version.
36519         (__ASSUME_PSELECT): Define unconditionally.
36520         (__ASSUME_PPOLL): Likewise.
36521         (__ASSUME_ATFCTS): Likewise.
36522         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36523         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36524         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36525         (__ASSUME_UTIMENSAT): Define unconditionally.
36526         (__ASSUME_PRIVATE_FUTEX): Likewise.
36527         (__ASSUME_FALLOCATE): Likewise.
36528         (__ASSUME_O_CLOEXEC): Likewise.
36529         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36530         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36531         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36532         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36533         (__ASSUME_IN_NONBLOCK): Likewise.
36534         (__ASSUME_PIPE2): Likewise.
36535         (__ASSUME_EVENTFD2): Likewise.
36536         (__ASSUME_SIGNALFD4): Likewise.
36537         (__ASSUME_DUP3): Likewise.
36538         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36539         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36540         (__ASSUME_AT_RANDOM): Likewise.
36541         (__ASSUME_PREADV): Likewise.
36542         (__ASSUME_PWRITEV): Likewise.
36543         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36544         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36545         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36546         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36547         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36548         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36549         (__ASSUME_O_CLOEXEC): Define unconditionally.
36550         (__ASSUME_PSELECT): Do not undefine conditionally.
36551         (__ASSUME_PPOLL): Likewise.
36552         (__ASSUME_ATFCTS): Likewise.
36553         (__ASSUME_SET_ROBUST_LIST): Likewise.
36554         (__ASSUME_UTIMENSAT): Likewise.
36555         (__ASSUME_FDATASYNC): Define unconditionally.
36556         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36557         (__ASSUME_SIGFRAME_V2): Likewise.
36558         )__ASSUME_EVENTFD2): Likewise.
36559         (__ASSUME_SIGNALFD4): Likewise.
36560         (__ASSUME_PSELECT): Do not undefine conditionally.
36561         (__ASSUME_PPOLL): Likewise.
36562         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36563         (__ASSUME_PSELECT): Define unconditionally.
36564         (__ASSUME_PPOLL): Likewise.
36565         (__ASSUME_O_CLOEXEC): Likewise.
36566         (__ASSUME_SOCK_CLOEXEC): Likewise.
36567         (__ASSUME_IN_NONBLOCK): Likewise.
36568         (__ASSUME_PIPE2): Likewise.
36569         (__ASSUME_EVENTFD2): Likewise.
36570         (__ASSUME_SIGNALFD4): Likewise.
36571         (__ASSUME_DUP3): Likewise.
36572         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36573         (__ASSUME_O_CLOEXEC): Likewise.
36574         (__ASSUME_SOCK_CLOEXEC): Likewise.
36575         (__ASSUME_IN_NONBLOCK): Likewise.
36576         (__ASSUME_PIPE2): Likewise.
36577         (__ASSUME_EVENTFD2): Likewise.
36578         (__ASSUME_SIGNALFD4): Likewise.
36579         (__ASSUME_DUP3): Likewise.
36580         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36581         (__ASSUME_EVENTFD2): Likewise.
36582         (__ASSUME_SIGNALFD4): Likewise.
36583         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36585 2014-05-12  Andreas Schwab  <schwab@suse.de>
36587         [BZ #16932]
36588         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36589         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36590         than maximum RPC packet size.
36591         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36592         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36593         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36594         (_nss_nis_getservbyport_r): Likewise.
36596 2014-05-12  Will Newton  <will.newton@linaro.org>
36598         * malloc/Makefile (tests): Add tst-mallopt.
36599         * malloc/tst-mallopt.c: New file.
36601 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36603         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36604         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36606 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36608         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36609         (tst-tlsmod6.so): Likewise.
36611 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36613         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36615 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36617         [BZ #16064]
36618         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36619         and <dl-procinfo.h>.
36620         (__fegetenv): Save SSE state in envp->__eip if supported.
36621         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36622         envp->__eip if supported.
36623         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36624         and <dl-procinfo.h>.
36625         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36626         __data_offset and __data_selector in environment to 0.  Set SSE
36627         state if supported.
36628         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36629         test-fenv-sse.
36630         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36631         -mfpmath=sse.
36632         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36634 2014-05-09  Will Newton  <will.newton@linaro.org>
36636         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36637         and libc_relro_required for ARM.
36638         * sysdeps/arm/preconfigure: Regenerate.
36640 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36641             Stefan Liebler  <stli@linux.vnet.ibm.com>
36643         * config.make.in (enable-lock-elision): New Makefile variable.
36644         * configure.ac: Likewise.
36645         * configure: Regenerate.
36646         * sysdeps/s390/configure.ac:
36647         Add check for gcc transactions support.
36648         * sysdeps/s390/configure: Regenerate.
36649         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36650         Build elision files if enabled.
36651         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36652         Add lock elision support for s390.
36653         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36654         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36655         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36656         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36657         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36658         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36659         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36660         Likewise.
36661         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36662         Likewise.
36663         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36664         Likewise.
36665         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36666         Likewise.
36667         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36668         (__lll_timedlock_elision, __lll_lock_elision)
36669         (__lll_unlock_elision, __lll_trylock_elision)
36670         (lll_timedlock_elision, lll_lock_elision)
36671         (lll_unlock_elision, lll_trylock_elision): Add.
36672         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36673         (pthread_mutex_t): Add lock elision support for s390.
36675 2014-05-14  Wilco  <wdijkstr@arm.com>
36677         * sysdeps/arm/fclrexcpt.c: Cleanup.
36678         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36679         * sysdeps/arm/feenablxcpt.c: Cleanup.
36680         * sysdeps/arm/fegetenv.c: Cleanup.
36681         * sysdeps/arm/fegetexcept.c: Cleanup.
36682         * sysdeps/arm/fegetround.c: Cleanup.
36683         * sysdeps/arm/feholdexcpt.c: Cleanup.
36684         * sysdeps/arm/fesetenv.c: Cleanup.
36685         * sysdeps/arm/fesetround.c: Cleanup.
36686         * sysdeps/arm/feupdateenv.c: Cleanup.
36687         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36688         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36689         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36690         * sysdeps/arm/ftestexcept.c: Cleanup.
36691         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36692         * sysdeps/arm/setfpucw.c: Cleanup.
36694 2014-05-09  Will Newton  <will.newton@linaro.org>
36696         * sysdeps/arm/armv7/strcmp.S: New file.
36697         * NEWS: Mention addition of ARMv7 optimized strcmp.
36699 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36701         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36702         look for %.ac rather than %.in.
36704         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36705         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36706         * sysdeps/mach/hurd/configure: Regenerated.
36707         * sysdeps/unix/sysv/linux/configure: Regenerated.
36709         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36711 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36713         [BZ# 16922]
36714         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36715         (LONG_SUB): Ditto.
36716         (PTR_SUB): Ditto.
36718 2014-05-07  Andreas Schwab  <schwab@suse.de>
36720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36721         when skipping over non-matching result from nscd.
36723 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36725         [BZ #16876]
36726         * nptl/sockperf.c (client): Check socket return value.
36728         [BZ #16877]
36729         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36730         nscd security class.
36732 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36734         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36735         * sysdeps/arm/unwind.h: ... here.
36737 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36739         [BZ# 16916]
36740         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36741         Define.
36743 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36745         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36746         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36747         multiarch strncpy for PPC64.
36748         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36749         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36751         multiarch optimizations.
36752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36753         (__libc_ifunc_impl_list): Likewise.
36754         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36755         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36756         multiarch stpncpy for PPC64.
36757         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36758         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36760 2014-05-06  Andreas Schwab  <schwab@suse.de>
36762         [BZ #16912]
36763         * gmon/mcount.c (_MCOUNT_DECL): Use
36764         atomic_compare_and_exchange_bool_acq instead of
36765         catomic_compare_and_exchange_bool_acq.
36767 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36769         * elf/Makefile (others, install-bin): Remove pldd.
36770         (pldd-modules): Variable removed.
36771         ($(objpfx)pldd): Target removed.
36772         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36773         (others, install-bin): Append pldd here.
36774         ($(objpfx)pldd): New target.
36776         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36777         to 0, so the first #if test emitted later doesn't see it undefined.
36778         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36779         * sysdeps/gnu/errlist.c: Regenerated.
36781 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36783         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36784         [libc_hidden_builtin_def]: Define to empty value.
36785         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36786         [libc_hidden_builtin_def]: Likewise.
36787         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36788         [libc_hidden_builtin_def]: Likewise.
36789         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36790         [libc_hidden_builtin_def]: Likewise.
36791         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36792         __redirect_memcpy and define ifunc as default hidden symbol.
36793         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36794         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36796 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36798         * locale/iso-4217.def: Reintroduce XDR currency.
36800 2014-05-04  Allan McRae  <allan@archlinux.org>
36802         * po/eo.po: Update Esperanto translation from translation project.
36804 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36806         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36807         and FEATURE_INDEX_MAX to 1.
36808         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36810 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36812         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36813         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36814         * iconvdata/big5.c (ONE_DIRECTION): Define.
36815         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36816         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36817         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36818         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36819         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36820         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36821         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36822         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36823         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36824         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36825         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36826         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36827         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36828         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36829         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36830         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36831         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36832         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36833         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36834         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36835         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36836         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36837         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36838         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36839         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36840         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36841         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36842         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36843         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36844         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36845         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36846         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36847         * iconvdata/johab.c (ONE_DIRECTION): Define.
36848         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36849         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36850         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36851         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36852         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36853         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36854         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36855         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36856         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36857         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36859 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36861         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36862         (_IO_JUMPS_OFFSET): Define to 0.
36864         * nptl/sysdeps/pthread/bits/libc-lock.h
36865         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36866         (__libc_lock_define_initialized_recursive): Always define using
36867         initializer.  Modern compilers treat uninitialized (implicit zero) and
36868         explicit zero initializers the same (i.e. put the datum in bss).
36870 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36872         * nscd/nscd-client.h: Include <string.h>.
36874 2014-05-01  David S. Miller  <davem@davemloft.net>
36876         [BZ #16885]
36877         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36878         multiple zero bytes exist at the end of a string.
36879         Reported by Aurelien Jarno <aurelien@aurel32.net>
36881         * string/test-strcmp.c (check): Add explicit test for situations where
36882         there are multiple zero bytes after the first.
36884 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36886         [BZ #16890]
36887         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36888         when compiling wprintf.
36889         * stdio-common/tstdiomisc.c (t3): New function.
36890         (main): Call it.
36892 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36894         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36895         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36896         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36897         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36899 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36901         * stdlib/longlong.h: Updated from GCC.
36903 2014-05-01  Will Newton  <will.newton@linaro.org>
36904             Bernard Ogden  <bernie.ogden@linaro.org>
36906         * NEWS: Update fixed bug list.
36908         [BZ #15119]
36909         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36911 2014-04-30  David S. Miller  <davem@davemloft.net>
36913         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36914         (libc_feholdexcept_setround_sparc_ctx): New function.
36915         (libc_fesetenv_sparc_ctx): Likewise.
36916         (libc_feupdateenv_sparc_ctx): Likewise.
36917         (libc_feholdsetround_sparc_ctx): Likewise.
36918         (libc_feholdexcept_setround_ctx): Define.
36919         (libc_feholdexcept_setroundf_ctx): Likewise.
36920         (libc_feholdexcept_setroundl_ctx): Likewise.
36921         (libc_fesetenv_ctx): Likewise.
36922         (libc_fesetenvf_ctx): Likewise.
36923         (libc_fesetenvl_ctx): Likewise.
36924         (libc_feupdateenv_ctx): Likewise.
36925         (libc_feupdateenvf_ctx): Likewise.
36926         (libc_feupdateenvl_ctx): Likewise.
36927         (libc_feresetround_ctx): Likewise.
36928         (libc_feresetroundf_ctx): Likewise.
36929         (libc_feresetroundl_ctx): Likewise.
36930         (libc_feholdsetround_ctx): Likewise.
36931         (libc_feholdsetroundf_ctx): Likewise.
36932         (libc_feholdsetroundl_ctx): Likewise.
36934         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36935         with __USE_GNU instead of XOPEN cpp guards.
36937         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36938         0.
36940         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36941         with XOPEN cpp guards.
36943 2014-04-30  Julian Brown  <julian@codesourcery.com>
36945         [BZ #16888]
36946         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36947         handling.
36949 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36951         [BZ #9894]
36952         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36953         Change to 2.6.32.
36954         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36955         * sysdeps/unix/sysv/linux/configure: Regenerated.
36956         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36957         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36958         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36959         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36960         * README: Update reference to required Linux kernel version.
36961         * manual/install.texi (Linux): Update reference to required Linux
36962         kernel headers version.
36963         * INSTALL: Regenerated.
36965         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36966         header inclusion.
36967         [POSIX] (limits.h): Likewise.
36968         [POSIX] (math.h): Likewise.
36969         [POSIX] (sys/wait.h): Likewise.
36970         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36971         function.
36972         [POSIX] (stddef.h): Do not allow header inclusion.
36974 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36976         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36978 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36980         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36981         Return immediately after lll_futex_wake.
36983 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36985         [BZ #16791]
36986         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36987         structure.
36988         (datahead_init_pos): Call datahead_init_common early.
36989         (datahead_init_neg): Likewise.
36991         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36992         datahead_init_neg): New functions.
36993         * nscd/aicache.c (addhstaiX): Use them.
36994         * nscd/grpcache.c (cache_addgr): Likewise.
36995         * nscd/hstcache.c (cache_addhst): Likewise.
36996         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36997         * nscd/netgroupcache.c (do_notfound): Likewise.
36998         (addgetnetgrentX): Likewise.
36999         (addinnetgrX): Likewise.
37000         * nscd/pwdcache.c (cache_addpw): Likewise.
37001         * nscd/servicescache.c (cache_addserv): Likewise.
37003 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37004             Atsushi Onoe  <atsushi@onoe.org>
37006         [BZ #14308]
37007         [BZ #12994]
37008         [BZ #13651]
37009         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37010         one response is valid.
37011         * resolv/res_send.c (send_dg): Check for validity of other
37012         response if the current response is a referral.
37014 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37016         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37018 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37020         [BZ #16823]
37021         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37022         Always divide by positive zero when computing -Inf result.
37023         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37024         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37026 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37028         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37029         FPSCR if value do not change.
37030         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37031         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37032         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37033         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37034         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37035         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37036         function.
37038 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37040         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37041         * sysdeps/unix/sysv/linux/hppa: Move directory from
37042         ports/systeps/unix/sysv/linux/hppa.
37043         * README: Update listing for hppa-*-linux-gnu.
37045 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37047         [BZ #16754]
37048         * manual/stdio.texi (Hook functions): Fix types of stream hook
37049         functions.
37050         [BZ #16854]
37051         * socket/sys/socket.h: Fix typo in comment.
37053 2014-04-28  Wilco  <wdijkstr@arm.com>
37055         * sysdeps/arm/fenv_private.h: New file.
37056         * sysdeps/arm/math_private.h: New file.
37057         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37059 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37061         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37062         with __int128_t.
37063         (La_x86_64_retval): Likewise.
37065 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37067         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37068         fpsr if value didn't change.
37069         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37070         to fpcr if value didn't change.
37071         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37072         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37073         fpsr or fpcr if value didn't change.
37074         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37075         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37076         fpcr if value didn't change.
37077         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37078         to fpsr if value didn't change.
37080 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37082         * nptl/tst-sem3.c: Use test-skeleton.c
37083         (main): Rename to do_test.  Use return instead of
37084         exit.
37085         * nptl/tst-sem4.c: Use test-skeleton.c
37086         (main): Rename to do_test.
37088 2014-04-22  David S. Miller  <davem@davemloft.net>
37090         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37091         (struct sigaction): New struct member __glibc_reserved0, change
37092         type of sa_flags to int.
37094 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37096         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37097         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37099 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37101         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37102         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37104 2014-04-22  Will Newton  <will.newton@linaro.org>
37105             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37107         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37108         (__longjmp): Add longjmp and longjmp_target SystemTap
37109         probes.
37110         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37111         (__sigsetjmp): Add setjmp SystemTap probe.
37113 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37115         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37116         match manual order.
37118 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37120         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37122         * sysdeps/powerpc/fpu/fenv_private.h
37123         (libc_feholdexcept_setroundl_ctx): Define to
37124         libc_feholdexcept_setround_ppc_ctx.
37125         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37126         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37127         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37128         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37130 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37132         * sysdeps/aarch64/math-tests.h: New file.
37134 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37136         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37137         New.
37138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37139         Check and set bit_AVX2_Usable.
37140         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37141         macro.
37142         (bit_AVX2): Likewise.
37143         (index_AVX2_Usable): Likewise.
37144         (CPUID_AVX2): Likewise.
37145         (HAS_AVX2): Likewise.
37147 2014-04-17  Will Newton  <will.newton@linaro.org>
37149         * manual/setjmp.texi (System V contexts): Add note that
37150         calling setcontext on a context created by a call to a
37151         signal handler is undefined.  Update text to note that
37152         setcontext from a signal handler is possible but not
37153         recommended.
37155         [BZ #16629]
37156         * stdlib/tst-setcontext.c: Include signal.h.
37157         (main): Check that the signal stack before and
37158         after swapcontext is the same.
37160         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37161         Re-implement to restore registers in user code and avoid
37162         rt_sigreturn system call.
37164 2014-04-17  Wilco  <wdijkstr@arm.com>
37166         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37167         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37168         * math/test-fenv.c: Skip exception trap tests on targets which only
37169         support non-stop mode.
37171 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37172             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37174         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37175         (libc_feholdsetround_aarch64_ctx)
37176         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37177         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37178         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37179         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37180         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37181         (libc_feresetround_noexl_ctx): Define.
37183 2014-04-16  Richard Henderson  <rth@redhat.com>
37185         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37187         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37188         unwind tables.
37190         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37191         const from the non-libc, non-ldso copy.
37193         * sysdeps/alpha/libm-test-ulps: Regenerate.
37195 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37196             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37198         * sysdeps/aarch64/fpu/math_private.h: New file.
37200 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37202         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37204 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37206         [BZ #16275]
37207         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37208         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37209         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37210         Intel MPX bound registers before _dl_profile_fixup.
37211         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37212         registers after _dl_profile_fixup.  Save and restore bound
37213         registers bnd0/bnd1 when calling _dl_call_pltexit.
37214         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37215         (LR_BND_OFFSET): Likewise.
37216         (LRV_BND0_OFFSET): Likewise.
37217         (LRV_BND1_OFFSET): Likewise.
37219 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37221         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37222         to...
37223         * sysdeps/mach/hurd/i386/tls.h: ... here.
37224         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37225         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37226         fields.
37228 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37230         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37232 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37234         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37236 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37238         [BZ #14770]
37239         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37240         * sysdeps/s390/configure: Regenerate.
37242         [BZ #16824]
37243         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37244         Set round-to-nearest internally to reduce error accumulation.
37246 2014-04-16  Alan Modra  <amodra@gmail.com>
37248         [BZ #16740]
37249         [BZ #16619]
37250         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37251         * math/libm-test.inc (frexp_test_data): Add tests.
37252         * NEWS: Update fixed bug list.
37254 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37256         * benchtests/Makefile: Depend on libraries in build directory.
37257         (bench-math): Separate out math tests.
37258         (bench-pthread): Separate out pthread tests.
37259         (bench): Include math and pthread tests.
37261 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37263         [BZ #16831]
37264         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37265         _dl_debug_initialize.
37267         * configure.ac: Remove SELinux header check.
37268         * configure: Regenerate.
37269         * nscd/selinux.c (perms): Array of const char* to permission names.
37270         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37271         default policy. Call string_to_security_class and string_to_av_perm to
37272         translate strings. Enforce default policy and call avs_has_perm with
37273         results of translated strings.
37275 2014-04-13  David S. Miller  <davem@davemloft.net>
37277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37279 2014-04-12  Allan McRae  <allan@archlinux.org>
37281         [BZ #16838]
37282         * manual/string.texi (Collation Functions): Fix qsort argument
37283         order in example.
37284         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37286 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37288         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37289         Make the test a no-op if there are no exceptions defined.
37291 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37293         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37294         enable-hardcoded-path-in-tests
37296 2014-04-11  Will Newton  <will.newton@linaro.org>
37298         * benchtests/Makefile (extra-objs): Add json-lib.o.
37299         (bench-func): Tidy up JSON output.
37300         * benchtests/bench-skeleton.c: Include json-lib.h.
37301         (main): Use JSON library functions to do output of
37302         benchmark results.
37303         * benchtests/bench-timing-type.c (main): Output the
37304         timing type simply, leaving formatting to the user.
37305         * benchtests/json-lib.c: New file.
37306         * benchtests/json-lib.h: Likewise.
37308 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37310         [BZ #15215]
37311         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37312         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37313         memory barriers.  Add comments.
37314         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37315         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37316         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37317         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37318         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37319         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37321 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37323         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37324         * sysdeps/s390/s390-64/configure.ac: ... this ...
37325         * sysdeps/s390/configure.ac: ... to here.
37326         * sysdeps/s390/s390-32/configure: Delete file.
37327         * sysdeps/s390/s390-64/configure: Delete file.
37328         * sysdeps/s390/configure: Regenerate.
37330 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37332         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37334 2014-04-11  Will Newton  <will.newton@linaro.org>
37336         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37337         to zero if it is not defined elsewhere.  (mtrim): Test
37338         the value of MALLOC_DEBUG with #if rather than #ifdef.
37340 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37342         * benchtests/pthread_once-inputs: New file.
37343         * benchtests/pthread_once-source.c: New file.
37344         * benchtests/README: Update documentation.
37346 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37347             H.J. Lu  <hongjiu.lu@intel.com>
37349         [BZ #16275]
37350         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37351         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37352         * sysdeps/x86_64/configure: Regenerated.
37353         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37354         macro.
37355         (REGISTER_SAVE_RAX): Likewise.
37356         (REGISTER_SAVE_RCX): Likewise.
37357         (REGISTER_SAVE_RDX): Likewise.
37358         (REGISTER_SAVE_RSI): Likewise.
37359         (REGISTER_SAVE_RDI): Likewise.
37360         (REGISTER_SAVE_R8): Likewise.
37361         (REGISTER_SAVE_R9): Likewise.
37362         (REGISTER_SAVE_BND0): Likewise.
37363         (REGISTER_SAVE_BND1): Likewise.
37364         (REGISTER_SAVE_BND2): Likewise.
37365         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37366         bound registers when calling _dl_fixup.
37368 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37370         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37371         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37372         of its definition.
37373         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37374         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37375         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37376         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37377         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37378         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37379         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37381 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37383         [BZ #15514]
37384         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37385         pathconf(_PC_NAME_MAX).
37387 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37389         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37390         Remove macro usage.
37391         (__PTHREAD_SPINS): Move definition to ...
37392         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37393         (__PTHREAD_SPINS): ... here.
37394         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37395         (__PTHREAD_SPIN): Likewise.
37396         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37397         (__PTHREAD_SPIN): Likewise.
37398         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37399         (__PTHREAD_SPIN): Likewise.
37400         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37401         (__PTHREAD_SPIN): Likewise.
37402         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37403         (__PTHREAD_SPIN): Likewise.
37404         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37405         (__PTHREAD_SPIN): Likewise.
37406         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37407         (__PTHREAD_SPIN): Likewise.
37408         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37409         (__PTHREAD_SPIN): Likewise.
37410         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37411         (__PTHREAD_SPIN): Likewise.
37412         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37413         (__PTHREAD_SPIN): Likewise.
37414         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37415         (__PTHREAD_SPIN): Likewise.
37416         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37417         (__PTHREAD_SPIN): Likewise.
37419         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37420         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37421         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37422         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37423         imply folder.
37424         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37425         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37426         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37427         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37428         correct imply path.
37429         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37430         strlen symbol for non multi-arch builds.
37431         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37432         missing hidden_def and weak_alias.
37434 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37436         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37438 2014-04-07  Will Newton  <will.newton@linaro.org>
37440         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37441         and contents.  [!_LIBC] Remove #ifndef and contents.
37442         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37443         * string/memccpy.c (__memccpy): Use ANSI prototype.
37444         * string/memfrob.c (memfrob): Likewise.
37445         * string/strcoll.c (STRCOLL): Likewise.
37446         * string/strlen.c (strlen): Likewise.
37447         * string/strtok.c (STRTOK): Likewise.
37448         * string/strcat.c: Remove unused #include of memcopy.h.
37449         (strcat): Use ANSI prototype.
37450         * string/strchr.c: Remove unused #include of memcopy.h.
37451         (strchr): Use ANSI prototype.
37452         * string/strcmp.c: Remove unused #include of memcopy.h.
37453         (strcmp): Use ANSI prototype.
37454         * string/strcpy.c: Remove unused #include of memcopy.h.
37455         (strcpy): Use ANSI prototype.
37457 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37459         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37460         * config.make.in (config-extra-cppflags): Set it from
37461         libc_extra_cppflags.
37462         * configure.ac (libc_extra_cflags): Make it accumulate over
37463         configure fragments.
37464         (libc_extra_cppflags): New flag.
37465         * configure. Regenerate.
37466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37467         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37468         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37471         [BZ #16815]
37472         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37473         result for FE_DOWNWARD rounding mode.
37474         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37475         Likewise.
37476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37478 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37480         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37481         in function argument name.
37483 2014-04-03  David Svoboda  <svoboda@cert.org>
37485         [BZ #5666]
37486         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37487         explicitly.
37489 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37491         * elf/dl-unmap-segments.h: New file.
37492         * sysdeps/generic/ldsodefs.h
37493         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37494         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37495         * elf/dl-fptr.c: Likewise.
37496         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37497         * sysdeps/aarch64/tlsdesc.c: Likewise.
37498         * sysdeps/arm/tlsdesc.c: Likewise.
37499         * sysdeps/i386/tlsdesc.c: Likewise.
37500         * sysdeps/tile/dl-runtime.c: Likewise.
37501         * sysdeps/x86_64/tlsdesc.c: Likewise.
37502         * elf/dl-load.h: New file.
37503         * elf/dl-load.c: Include it.
37504         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37505         Macros moved to dl-load.h.
37506         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37507         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37508         Use _dl_unmap_segments in place of __munmap.
37509         Break out segment-mapping loop into ...
37510         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37512 2014-04-03  Will Newton  <will.newton@linaro.org>
37514         * elf/dl-lookup.c (do_lookup_x): Remove comment
37515         referring to nested function and move variable
37516         declarations down to before first use.
37518 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37520         [BZ #16799]
37521         [BZ #16800]
37522         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37523         with 0 numerator.
37524         * math/s_catanf.c (__catanf): Likewise.
37525         * math/s_catanh.c (__catanh): Likewise.
37526         * math/s_catanhf.c (__catanhf): Likewise.
37527         * math/s_catanhl.c (__catanhl): Likewise.
37528         * math/s_catanl.c (__catanl): Likewise.
37529         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37530         by positive zero when computing -Inf result.
37531         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37532         (catanh_test): Likewise.
37533         * sysdeps/i386/fpu/libm-test-ulps: Update.
37534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37536         [BZ #16789]
37537         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37538         instead of using underflowing value in computing result.
37539         * math/s_clog10.c (__clog10): Likewise.
37540         * math/s_clog10f.c (__clog10f): Likewise.
37541         * math/s_clog10l.c (__clog10l): Likewise.
37542         * math/s_clogf.c (__clogf): Likewise.
37543         * math/s_clogl.c (__clogl): Likewise.
37544         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37545         (clog10_test): Likewise.
37546         * sysdeps/i386/fpu/libm-test-ulps: Update.
37547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37549 2014-04-02  Alan Modra  <amodra@gmail.com>
37551         [BZ #16739]
37552         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37553         output when value is near a power of two.  Use int64_t for lx and
37554         remove casts.  Use decimal rather than hex exponent constants.
37555         Don't use long double multiplication when double will suffice.
37556         * math/libm-test.inc (nextafter_test_data): Add tests.
37557         * NEWS: Add 16739 and 16786 to bug list.
37559         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37561         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37563 2014-04-01  Will Newton  <will.newton@linaro.org>
37565         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37566         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37568 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37570         [BZ #13347]
37571         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37572         * nptl/tst-setuid2.c: New file.
37573         * nptl/Makefile (xtests): Add tst-setuid2.
37575 2014-04-01  Alan Modra  <amodra@gmail.com>
37577         [BZ #16786]
37578         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37580 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37582         [BZ #6803]
37583         [BZ #6804]
37584         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37585         set errno as appropriate.
37586         * math/w_scalbf.c (__scalbf): Likewise.
37587         * math/w_scalbl.c (__scalbl): Likewise.
37588         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37589         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37590         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37591         Add more NaN tests.
37593         [BZ #16349]
37594         * math/w_atan2.c: Include <errno.h>.
37595         (__atan2): Set errno for result underflowing to zero.
37596         * math/w_atan2f.c: Include <errno.h>.
37597         (__atan2f): Set errno for result underflowing to zero.
37598         * math/w_atan2l.c: Include <errno.h>.
37599         (__atan2l): Set errno for result underflowing to zero.
37600         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37601         tests.
37602         * math/auto-libm-test-out: Regenerated.
37604 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37606         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37607         Encode instruction correctly in little endian.
37608         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37609         Likewise.
37610         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37611         Likewise.
37612         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37613         Likewise.
37614         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37615         Likewise.
37617 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37619         [BZ #9894]
37620         * sysdeps/unix/sysv/linux/kernel-features.h
37621         [__sparc__ && !__arch64__ && !__sparc_v9__]
37622         (__ASSUME_SET_ROBUST_LIST): Do not define.
37623         [__sparc__ && !__arch64__ && !__sparc_v9__]
37624         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37625         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37626         Likewise.
37627         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37628         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37629         (__ASSUME_REQUEUE_PI): Likewise.
37630         (__ASSUME_SET_ROBUST_LIST): Likewise.
37631         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37632         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37633         Undefine.
37634         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37635         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37636         Likewise.
37637         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37638         Likewise.
37639         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37640         Likewise.
37641         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37642         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37643         Undefine.
37644         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37645         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37646         Likewise.
37648         [BZ #16648]
37649         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37650         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37651         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37653 2014-03-31  Will Newton  <will.newton@linaro.org>
37655         * benchtests/Makefile (bench): Add ffs and ffsll to list
37656         of tests.
37657         * benchtests/ffs-inputs: New file.
37658         * benchtests/ffsll-inputs: Likewise.
37660 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37662         [BZ #16770]
37663         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37664         too large before casting to int.
37665         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37666         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37667         * math/libm-test.inc (scalb_test_data): Add more tests.
37669 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37671         * benchtests/Makefile (DETAILED_OPT): New make option.
37672         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37673         set.
37674         * benchtests/bench-skeleton.c: Include stdbool.h.
37675         (main): Store and print timings per input.
37676         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37677         member to each argument value.
37678         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37679         (_print_arg_data): Initialize per-input timing to 0.
37681         * benchtests/Makefile (timing-type): New binary.
37682         (bench-clean): Also remove bench-timing-type.
37683         (bench): New target for timing-type.
37684         (bench-func): Print output in JSON format.
37685         * benchtests/bench-skeleton.c (main): Print output in JSON
37686         format.
37687         * benchtests/bench-timing-type.c: New file.
37688         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37689         (TIMING_PRINT_STATS): Remove.
37690         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37691         name separately.
37693         * benchtests/bench-modf.c: Remove.
37694         * benchtests/modf-inputs: New inputs file.
37696 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37698         [BZ #16362]
37699         * math/s_clog10.c (M_PI_LOG10E): New macro.
37700         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37701         imaginary parts are 0.
37702         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37703         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37704         imaginary parts are 0.
37705         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37706         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37707         imaginary parts are 0.
37708         * math/libm-test.inc (clog10_test_data): Update expected results
37709         for when real and imaginary parts are 0.
37711 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37713         * elf/dl-load.c: Finish conversion of __builtin_expect into
37714         __glibc_{un}likely.
37716 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37718         [BZ #16348]
37719         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37720         1+x for argument with exponent below -67.
37721         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37722         Likewise.
37723         * math/auto-libm-test-in: Add more tests of exp.
37724         * math/auto-libm-test-out: Regenerated.
37726 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37728         [BZ #16759]
37729         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37730         (nscd_getnetgrent): Use it.
37732         [BZ #16760]
37733         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37734         of stpcpy.
37736 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37738         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37739         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37740         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37741         (lll_robust_unlock): Remove out of line section. Use cfi
37742         intrinsics.
37743         (LLL_STUB_UNWIND_INFO*): Remove.
37744         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37745         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37746         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37747         (lll_robust_unlock): Remove out of line section. Use cfi
37748         intrinsics.
37749         (LLL_STUB_UNWIND_INFO*): Remove.
37751 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37753         [BZ #16758]
37754         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37755         blank values.
37757 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37759         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37761 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37763         [BZ #16198]
37764         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37765         fnstenv.
37766         * math/test-fenv-preserve.c: New file.
37767         * math/Makefile (tests): Add test-fenv-preserve.
37769 2014-03-26  Will Newton <will.newton@linaro.org>
37771         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37773 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37775         * scripts/versionlist.awk: Partition the version sets and emit all
37776         GLIBC_* (sorted) before all others (sorted).
37778 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37780         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37781         GLIBC_2.2.5 version.
37783 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37785         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37786         calls.
37788         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37789         previous change.
37791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37793 2014-03-25  Andreas Schwab  <schwab@suse.de>
37795         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37796         label to be used after in6ailist is initialized.
37798 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37800         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37801         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37803 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37805         [BZ #16357]
37806         [BZ #16599]
37807         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37808         min_plus_half.
37809         (fp_formats): Update initializers.
37810         (init_fp_formats): Initialize new field.
37811         (output_for_one_input_case): Allow underflow for results up to
37812         min_plus_half.
37813         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37814         * math/auto-libm-test-in: Don't mark some underflows from asin and
37815         atanh as spurious.
37816         * math/auto-libm-test-out: Regenerated.
37817         * sysdeps/i386/fpu/libm-test-ulps: Update.
37818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37820 2014-03-25  Andreas Schwab  <schwab@suse.de>
37822         * libio/Makefile (tst-ftell-partial-wide-ENV)
37823         (tst-ftell-active-handler-ENV): Define.
37825 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37827         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37829 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37831         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37833 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37835         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37836         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37837         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37839 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37841         [BZ #16634]
37842         * elf/dl-load.c (open_verify): Add mode parameter.
37843         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37844         (open_path): Change from boolean 'secure' to complete flag 'mode'
37845         (_dl_map_object): Adjust.
37846         * elf/Makefile (tests): Add tst-dlopen-aout.
37847         * elf/tst-dlopen-aout.c: New test.
37849 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37851         [BZ #16714]
37852         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37853         (struct stat): Rename member pad0 to __glibc_reserved0.
37855         [BZ #16712]
37856         * sysdeps/s390/s390-32/bits/wordsize.h
37857         (__WORDSIZE32_SIZE_ULONG): New define.
37858         * sysdeps/s390/s390-64/bits/wordsize.h
37859         (__WORDSIZE32_SIZE_ULONG): Likewise.
37860         * sysdeps/generic/stdint.h (SIZE_MAX):
37861         Define as UL if __WORDSIZE32_SIZE_ULONG.
37863         [BZ #16713]
37864         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37865         (__glibc_reserved0): New variable.
37866         (sa_flags): Change type to int.
37868         * posix/Makefile (before-compile): Use += before-compile instead
37869         of a :=.
37871         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37872         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37874 2014-03-20  Andreas Schwab  <schwab@suse.de>
37876         [BZ #16743]
37877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37878         non-matching result from nscd.
37880 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37882         * scripts/bench.py: Moved to ...
37883         * benchtests/scripts/bench.py: ... here.
37884         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37886 2014-03-24  Andreas Schwab  <schwab@suse.de>
37888         [BZ #16002]
37889         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37890         alloca_account and account alloca use for struct in6ailist.
37892 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37894         [BZ #16284]
37895         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37896         rounding mode to recompute results that overflow to infinity or
37897         underflow to zero.
37898         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37899         bug 16284.
37900         * math/auto-libm-test-out: Regenerated.
37901         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37902         (ccosh_test): Likewise.
37903         (csin_test_data): Use plus_oflow.
37904         (csin_test): Use ALL_RM_TEST.
37905         (csinh_test_data): Use plus_oflow.
37906         (csinh_test): Use ALL_RM_TEST.
37907         * sysdeps/i386/fpu/libm-test-ulps: Update.
37908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37910 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37912         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37913         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37914         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37916         [BZ #16731]
37917         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37918         when x - 1 is zero.
37919         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37920         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37921         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37922         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37923         argument is 1.
37924         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37925         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37926         zero.
37927         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37928         * sysdeps/i386/fpu/libm-test-ulps: Update.
37929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37931 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37933         * scripts/bench.pl: Remove file.
37934         * scripts/bench.py: New benchmark script.
37935         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37936         * benchtests/README: Mention python dependency.
37937         * scripts/pylintrc: New file.
37938         * scripts/pylint: New file.
37940         * bits/mathdef.h: Use #ifdef instead of #if.
37941         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37942         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37943         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37944         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37945         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37946         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37948 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37949             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37951         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37952         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37953         and strpbrk-ppc64 objects.
37954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37955         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37956         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37957         multiarch strpbrk for POWER7.
37958         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37959         multiarch strpbrk for PPC64.
37960         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37961         ifunc selector.
37962         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37963         strpbrk for POWER7.
37965 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37967         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37968         (atan_test): Likewise.
37969         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37970         (atanh_test): Use ALL_RM_TEST.
37971         (atan2_test_data): Likewise.
37972         (cabs_test): Likewise.
37973         (cacosh_test): Likewise.
37974         (carg_test): Likewise.
37975         (casin_test): Likewise.
37976         (casinh_test): Likewise.
37977         (cbrt_test): Likewise.
37978         (csqrt_test): Likewise.
37979         (erf_test): Likewise.
37980         (erfc_test): Likewise.
37981         (pow10_test): Likewise.
37982         (exp2_test): Likewise.
37983         (hypot_test): Likewise.
37984         (j0_test): Likewise.
37985         (j1_test): Likewise.
37986         (lgamma_test): Likewise.
37987         (gamma_test): Likewise.
37988         (sincos_test): Likewise.
37989         (tanh_test): Likewise.
37990         (y0_test): Likewise.
37991         (y1_test): Likewise.
37992         * sysdeps/i386/fpu/libm-test-ulps: Update.
37993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37995 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37997         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37999         and strcspn-ppc64 objects.
38000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38001         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38002         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38003         multiarch strcspn for POWER7.
38004         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38005         multiarch strcspn for PPC64.
38006         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38007         ifunc selector.
38008         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38009         strcspn for POWER7.
38011 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38013         * math/gen-libm-test.pl (generate_testfile): Expect only function
38014         name as argument to AUTO_TESTS_* and pass results for all rounding
38015         modes to parse_args.
38016         (parse_auto_input): Separate inputs of automatic tests from
38017         outputs before storing in %auto_tests.
38018         * math/libm-test.inc (acos_test_data): Update call to
38019         AUTO_TESTS_f_f.
38020         (acos_test): Use ALL_RM_TEST.
38021         (acos_tonearest_test_data): Remove.
38022         (acos_test_tonearest): Likewise.
38023         (acos_towardzero_test_data): Likewise.
38024         (acos_test_towardzero): Likewise.
38025         (acos_downward_test_data): Likewise.
38026         (acos_test_downward): Likewise.
38027         (acos_upward_test_data): Likewise.
38028         (acos_test_upward): Likewise.
38029         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38030         (asin_test_data): Likewise.
38031         (asin_test): Use ALL_RM_TEST.
38032         (asin_tonearest_test_data): Remove.
38033         (asin_test_tonearest): Likewise.
38034         (asin_towardzero_test_data): Likewise.
38035         (asin_test_towardzero): Likewise.
38036         (asin_downward_test_data): Likewise.
38037         (asin_test_downward): Likewise.
38038         (asin_upward_test_data): Likewise.
38039         (asin_test_upward): Likewise.
38040         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38041         (atan_test_data): Likewise.
38042         (atanh_test_data): Likewise.
38043         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38044         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38045         (carg_test_data): Likewise.
38046         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38047         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38048         (ccosh_test_data): Likewise.
38049         (cexp_test_data): Likewise.
38050         (clog_test_data): Likewise.
38051         (clog10_test_data): Likewise.
38052         (cos_test_data): Update call to AUTO_TESTS_f_f.
38053         (cos_test): Use ALL_RM_TEST.
38054         (cos_tonearest_test_data): Remove.
38055         (cos_test_tonearest): Likewise.
38056         (cos_towardzero_test_data): Likewise.
38057         (cos_test_towardzero): Likewise.
38058         (cos_downward_test_data): Likewise.
38059         (cos_test_downward): Likewise.
38060         (cos_upward_test_data): Likewise.
38061         (cos_test_upward): Likewise.
38062         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38063         (cosh_test): Use ALL_RM_TEST.
38064         (cosh_tonearest_test_data): Remove.
38065         (cosh_test_tonearest): Likewise.
38066         (cosh_towardzero_test_data): Likewise.
38067         (cosh_test_towardzero): Likewise.
38068         (cosh_downward_test_data): Likewise.
38069         (cosh_test_downward): Likewise.
38070         (cosh_upward_test_data): Likewise.
38071         (cosh_test_upward): Likewise.
38072         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38073         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38074         (ctan_test_data): Likewise.
38075         (ctan_test): Use ALL_RM_TEST.
38076         (ctan_tonearest_test_data): Remove.
38077         (ctan_test_tonearest): Likewise.
38078         (ctan_towardzero_test_data): Likewise.
38079         (ctan_test_towardzero): Likewise.
38080         (ctan_downward_test_data): Likewise.
38081         (ctan_test_downward): Likewise.
38082         (ctan_upward_test_data): Likewise.
38083         (ctan_test_upward): Likewise.
38084         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38085         (ctanh_test): Use ALL_RM_TEST.
38086         (ctanh_tonearest_test_data): Remove.
38087         (ctanh_test_tonearest): Likewise.
38088         (ctanh_towardzero_test_data): Likewise.
38089         (ctanh_test_towardzero): Likewise.
38090         (ctanh_downward_test_data): Likewise.
38091         (ctanh_test_downward): Likewise.
38092         (ctanh_upward_test_data): Likewise.
38093         (ctanh_test_upward): Likewise.
38094         (erf_test_data): Update call to AUTO_TESTS_f_f.
38095         (erfc_test_data): Likewise.
38096         (exp_test_data): Likewise.
38097         (exp_test): Use ALL_RM_TEST.
38098         (exp_tonearest_test_data): Remove.
38099         (exp_test_tonearest): Likewise.
38100         (exp_towardzero_test_data): Likewise.
38101         (exp_test_towardzero): Likewise.
38102         (exp_downward_test_data): Likewise.
38103         (exp_test_downward): Likewise.
38104         (exp_upward_test_data): Likewise.
38105         (exp_test_upward): Likewise.
38106         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38107         (exp10_test): Use ALL_RM_TEST.
38108         (exp10_tonearest_test_data): Remove.
38109         (exp10_test_tonearest): Likewise.
38110         (exp10_towardzero_test_data): Likewise.
38111         (exp10_test_towardzero): Likewise.
38112         (exp10_downward_test_data): Likewise.
38113         (exp10_test_downward): Likewise.
38114         (exp10_upward_test_data): Likewise.
38115         (exp10_test_upward): Likewise.
38116         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38117         (expm1_test_data): Likewise.
38118         (expm1_test): Use ALL_RM_TEST.
38119         (expm1_tonearest_test_data): Remove.
38120         (expm1_test_tonearest): Likewise.
38121         (expm1_towardzero_test_data): Likewise.
38122         (expm1_test_towardzero): Likewise.
38123         (expm1_downward_test_data): Likewise.
38124         (expm1_test_downward): Likewise.
38125         (expm1_upward_test_data): Likewise.
38126         (expm1_test_upward): Likewise.
38127         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38128         (fma_test): Use ALL_RM_TEST.
38129         (fma_towardzero_test_data): Remove.
38130         (fma_test_towardzero): Likewise.
38131         (fma_downward_test_data): Likewise.
38132         (fma_test_downward): Likewise.
38133         (fma_upward_test_data): Likewise.
38134         (fma_test_upward): Likewise.
38135         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38136         (j0_test_data): Update call to AUTO_TESTS_f_f.
38137         (j1_test_data): Likewise.
38138         (jn_test_data): Update call to AUTO_TESTS_if_f.
38139         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38140         (log_test_data): Update call to AUTO_TESTS_f_f.
38141         (log10_test_data): Likewise.
38142         (log1p_test_data): Likewise.
38143         (log2_test_data): Likewise.
38144         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38145         (pow_tonearest_test_data): Likewise.
38146         (sin_test_data): Update call to AUTO_TESTS_f_f.
38147         (sin_test): Use ALL_RM_TEST.
38148         (sin_tonearest_test_data): Remove.
38149         (sin_test_tonearest): Likewise.
38150         (sin_towardzero_test_data): Likewise.
38151         (sin_test_towardzero): Likewise.
38152         (sin_downward_test_data): Likewise.
38153         (sin_test_downward): Likewise.
38154         (sin_upward_test_data): Likewise.
38155         (sin_test_upward): Likewise.
38156         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38157         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38158         (sinh_test): Use ALL_RM_TEST.
38159         (sinh_tonearest_test_data): Remove.
38160         (sinh_test_tonearest): Likewise.
38161         (sinh_towardzero_test_data): Likewise.
38162         (sinh_test_towardzero): Likewise.
38163         (sinh_downward_test_data): Likewise.
38164         (sinh_test_downward): Likewise.
38165         (sinh_upward_test_data): Likewise.
38166         (sinh_test_upward): Likewise.
38167         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38168         (sqrt_test): Use ALL_RM_TEST.
38169         (sqrt_tonearest_test_data): Remove.
38170         (sqrt_test_tonearest): Likewise.
38171         (sqrt_towardzero_test_data): Likewise.
38172         (sqrt_test_towardzero): Likewise.
38173         (sqrt_downward_test_data): Likewise.
38174         (sqrt_test_downward): Likewise.
38175         (sqrt_upward_test_data): Likewise.
38176         (sqrt_test_upward): Likewise.
38177         (tan_test_data): Update call to AUTO_TESTS_f_f.
38178         (tan_test): Use ALL_RM_TEST.
38179         (tan_tonearest_test_data): Remove.
38180         (tan_test_tonearest): Likewise.
38181         (tan_towardzero_test_data): Likewise.
38182         (tan_test_towardzero): Likewise.
38183         (tan_downward_test_data): Likewise.
38184         (tan_test_downward): Likewise.
38185         (tan_upward_test_data): Likewise.
38186         (tan_test_upward): Likewise.
38187         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38188         (tgamma_test_data): Likewise.
38189         (y0_test_data): Likewise.
38190         (y1_test_data): Likewise.
38191         (yn_test_data): Update call to AUTO_TESTS_if_f.
38192         (main): Do not call removed functions.
38194 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38196         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38197         (ldexp_test_data): Remove.
38198         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38199         scalbn_test_data.
38200         (scalb_test): Use ALL_RM_TEST.
38202 2014-03-19  Andreas Schwab  <schwab@suse.de>
38204         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38206 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38208         [BZ #16649]
38209         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38210         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38211         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38212         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38213         (__ASSUME_PREADV): Undefine.
38214         (__ASSUME_PWRITEV): Likewise.
38216 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38218         * bits/mman-linux.h: Add comment about non-Linux use.
38219         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38220         bits/mman-linux.h resting place.
38222         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38223         * bits/mman-linux.h: ... here.
38225 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38227         * conform/conformtest.pl: Add standard definition when calling C
38228         preprocessor on data files.
38229         (checknamespace): Remove unused variable.
38231 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38233         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38234         minus_oflow, plus_uflow and minus_uflow in expected results.
38235         * math/libm-test.inc (scalbn_test_data): Add more tests of
38236         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38237         minus_uflow.
38238         (scalbn_test): Use ALL_RM_TEST.
38239         (scalbln_test_data): Add more tests of negative arguments.  Use
38240         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38241         (scalbln_test): Use ALL_RM_TEST.
38243 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38245         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38247 2014-03-18  Will Newton  <will.newton@linaro.org>
38249         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38250         inaccurate comment.
38252 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38254         * Makerules [!subdir] (check-abi): Exit with error status if a
38255         test failed.
38257 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38259         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38260         for rint.  Include results for all rounding modes.
38261         (nearbyint_test): Use ALL_RM_TEST.
38262         (rint_test_data): Include all tests used for nearbyint.
38264 2014-03-17  Will Newton  <will.newton@linaro.org>
38266         * nptl/sysdeps/pthread/pthread.h: Revert previous
38267         change.
38269         * sysdeps/generic/ldsodefs.h: Revert previous
38270         change.
38272         * libio/genops.c: Revert previous change.
38273         * libio/libioP.h: Likewise.
38274         * stdio-common/vfprintf.c: Likewise.
38276         * sysdeps/generic/math_private.h: Revert previous
38277         change.
38279         * sysdeps/generic/math_private.h: Check whether
38280         HAVE_RM_CTX is defined with #ifdef rather
38281         than #if.
38283         * argp/argp-fmtstream.h: Check whether
38284         __STRICT_ANSI__ is defined with #ifdef rather
38285         than #if.
38286         * argp/argp.h: Likewise.
38288         * libio/genops.c: Check whether
38289         _IO_JUMPS_OFFSET is defined with #ifdef rather
38290         than #if.
38291         * libio/libioP.h: Likewise.
38292         * stdio-common/vfprintf.c: Likewise.
38294         * sysdeps/generic/ldsodefs.h: Check whether
38295         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38296         than #if.
38298         * nptl/sysdeps/pthread/pthread.h: Check
38299         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38300         its value.
38302 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38304         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38305         setting O_APPEND.
38306         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38307         test case.
38309         [BZ #16680]
38310         * libio/fileops.c (_IO_file_open): Seek to end of file but
38311         don't cache the offset.
38312         (get_file_offset): Remove function.
38313         (do_ftell): Use cached offset when available.
38314         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38315         don't cache the offset.
38316         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38317         case.
38318         (do_one_test): Call it.
38319         (do_ftell_test): Fix up expected old offset for a+ mode.
38320         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38321         available.
38323         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38324         up test status with function return status.
38325         (do_write_test): Likewise.
38326         (do_append_test): Likewise.
38328         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38329         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38330         Remove.
38332 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38334         * math/gen-libm-test.pl (parse_args): Handle results specified for
38335         each rounding mode separately.
38336         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38337         tests and results from lrint_tonearest_test_data,
38338         lrint_towardzero_test_data, lrint_downward_test_data and
38339         lrint_upward_test_data.
38340         (lrint_test): Use ALL_RM_TEST.
38341         (lrint_tonearest_test_data): Remove.
38342         (lrint_test_tonearest): Likewise.
38343         (lrint_towardzero_test_data): Likewise.
38344         (lrint_test_towardzero): Likewise.
38345         (lrint_downward_test_data): Likewise.
38346         (lrint_test_downward): Likewise.
38347         (lrint_upward_test_data): Likewise.
38348         (lrint_test_upward): Likewise.
38349         (llrint_test_data): Merge in per-rounding-mode tests and results
38350         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38351         llrint_downward_test_data and llrint_upward_test_data.
38352         (llrint_test): Use ALL_RM_TEST.
38353         (llrint_tonearest_test_data): Remove.
38354         (llrint_test_tonearest): Likewise.
38355         (llrint_towardzero_test_data): Likewise.
38356         (llrint_test_towardzero): Likewise.
38357         (llrint_downward_test_data): Likewise.
38358         (llrint_test_downward): Likewise.
38359         (llrint_upward_test_data): Likewise.
38360         (llrint_test_upward): Likewise.
38361         (rint_test_data): Merge in per-rounding-mode tests and results
38362         from rint_tonearest_test_data, rint_towardzero_test_data,
38363         rint_downward_test_data and rint_upward_test_data.  Add
38364         per-rounding-mode results for tests not in those arrays.
38365         (rint_test): Use ALL_RM_TEST.
38366         (rint_tonearest_test_data): Remove.
38367         (rint_test_tonearest): Likewise.
38368         (rint_towardzero_test_data): Likewise.
38369         (rint_test_towardzero): Likewise.
38370         (rint_downward_test_data): Likewise.
38371         (rint_test_downward): Likewise.
38372         (rint_upward_test_data): Likewise.
38373         (rint_test_upward): Likewise.
38374         (main): Don't call removed functions.
38376 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38378         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38379         "Compiled on ..." crapola.  It is anti-useful.
38381 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38383         * scripts/evaluate-test.sh: Handle fourth argument to determine
38384         whether test run should stop on failure.
38385         * Makeconfig (stop-on-test-failure): New variable.
38386         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38387         $(stop-on-test-failure).
38388         * Makefile (tests): Give a summary of results from testing and
38389         exit with failure status if they include an ERROR or FAIL.
38390         (xtests): Likewise.
38391         * manual/install.texi (Configuring and compiling): Mention
38392         stop-on-test-failure=y.
38393         * INSTALL: Regenerated.
38395 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38397         * scripts/versionlist.awk: New file.
38398         * Makerules [$(build-shared) = yes]
38399         (postclean-generated): Add Versions.def, not Versions.def.v and
38400         Versions.def.v.i.
38401         ($(common-objpfx)Versions.def.v.i): Target removed.
38402         ($(common-objpfx)Versions.def): New target.
38403         ($(common-objpfx)Versions.all): Depend on that rather that
38404         $(common-objpfx)Versions.def.v.
38405         * Versions.def: File removed.
38407         * Makeconfig (+gccwarn): Add -Wundef.
38408         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38409         a dl-sysdep.h breaking its contract.
38410         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38411         * include/stackinfo.h: New file.
38412         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38413         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38414         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38415         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38416         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38417         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38418         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38419         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38420         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38421         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38422         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38423         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38424         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38425         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38426         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38428 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38430         [BZ #16707]
38431         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38432         implementation.
38433         * math/libm-test.inc (round_test_data): Add more tests.
38435         [BZ #16706]
38436         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38437         implementation.
38438         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38440         [BZ #16701]
38441         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38442         implementation.
38443         * math/libm-test.inc (ceil_test_data): Add more tests.
38445         * math/libm-test.inc (trunc_test_data): Add more tests related to
38446         BZ#16414.
38448 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38450         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38451         with #if rather than #ifdef.
38452         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38454 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38456         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38457         first.  Disable AVX-512 GCC support if assembler doesn't support
38458         it.
38459         * sysdeps/x86_64/configure: Regenerated.
38461 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38463         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38464         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38465         (__old_pthread_attr_setstack): Likewise.
38466         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38467         [!_STACK_GROWS_DOWN]: Likewise.
38469 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38471         * config.make.in (have-bash2): Delete.
38472         * configure.ac (libc_cv_have_bash2): Delete.
38473         * configure: Regenerate.
38474         * elf/Makefile (common-ldd-rewrite): Rename to ...
38475         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38476         (sh-ldd-rewrite): Delete.
38477         (bash-ldd-rewrite): Delete.
38478         (have-bash2): Delete checks.
38479         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38480         ldd-rewrite.
38482         * config.make.in (have-ksh): Delete.
38483         (KSH): Delete.
38484         * configure.ac (libc_cv_have_ksh): Delete.
38485         * configure: Regenerate.
38487         * elf/Makefile: Delete $(have-ksh) check.
38488         ($(objpfx)sotruss): Change KSH to BASH.
38489         * elf/sotruss.ksh: Rename to ...
38490         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38491         function style to match POSIX.  Drop ksh vim mode setting.
38493         * manual/time.texi (Specifying the Time Zone with TZ): Change
38494         Tuesday to Thursday.
38496         * debug/tst-longjmp_chk2.c: Update header comment.
38497         (stackoverflow_handler): Add comment.  Call assert on pass value.
38499 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38501         [BZ #16194]
38502         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38503         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38504         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38505         (La_x86_64_vector): Add zmm.
38506         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38507         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38508         ($(objpfx)tst-audit10): New target.
38509         ($(objpfx)tst-audit10.out): Likewise.
38510         (tst-audit10-ENV): New.
38511         (AVX512-CFLAGS): Likewise.
38512         (CFLAGS-tst-audit10.c): Likewise.
38513         (CFLAGS-tst-auditmod10a.c): Likewise.
38514         (CFLAGS-tst-auditmod10b.c): Likewise.
38515         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38516         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38517         * sysdeps/x86_64/configure: Regenerated.
38518         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38519         AVX-512 zmm register support.
38520         (_dl_x86_64_save_sse): Likewise.
38521         (_dl_x86_64_restore_sse): Likewise.
38522         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38523         size vector registers.
38524         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38525         (ZMM_SIZE): Likewise.
38526         * sysdeps/x86_64/tst-audit10.c: New file.
38527         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38528         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38530 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38532         * configure.ac (HAVE_EHDR_START): New check.
38533         * configure: Regenerated.
38534         * config.h.in (HAVE_EHDR_START): New #undef.
38535         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38536         assuming the lowest-addressed segment maps the start of the file.
38538 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38540         * INSTALL: Regenerated.
38542 2014-03-13  Will Newton  <will.newton@linaro.org>
38544         * manual/setjmp.texi (System V contexts): Improve
38545         clarity and grammar of documentation.
38547 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38549         [BZ #16381]
38550         * elf/Makefile (tests): Add tst-pie2.
38551         (tests-pie): Add tst-pie2.
38552         * elf/tst-pie2.c: New file.
38553         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38554         for ET_EXEC.
38555         * elf/rtld.c (map_doit): Load executable as lt_executable.
38556         (dl_main): Likewise.
38558 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38560         [BZ #16642]
38561         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38562         (__ASSUME_PSELECT): Undefine.
38564 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38566         [BZ #16689]
38567         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38568         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38569         static build.
38570         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38571         selector for static builds.
38573 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38575         [BZ #16695]
38576         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38577         key in the buffer.
38579 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38581         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38582         IFUNC selector for static builds.
38584 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38586         * sysdeps/mips/math_private.h [__mips_hard_float]
38587         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38588         libc_feresetround_mips_ctx.
38589         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38590         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38591         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38593         [BZ #16677]
38594         * math/s_nextafter.c (__nextafter): Do not return value from
38595         overflowing computation.
38596         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38597         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38598         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38599         Likewise.
38600         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38601         Likewise.
38602         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38603         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38605 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38607         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38608         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38609         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38610         the new mov targetting sp.
38612 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38614         [BZ #16683]
38615         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38616         Define it for static builds as well.
38617         (NO_BZERO_IMPL): Likewise.
38619 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38621         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38622         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38623         multiarch strspn for PPC64.
38624         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38625         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38627         (__libc_ifunc_impl_list): Likewise.
38628         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38629         multiarch optimizations
38630         * string/strspn.c (strspn): Using macro to redefine symbol name.
38632 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38633             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38635         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38636         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38637         multiarch strncat for PPC64.
38638         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38639         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38641         (__libc_ifunc_impl_list): Likewise.
38642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38643         multiarch optimizations
38645 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38647         [BZ #16639]
38648         * nscd/nscd.service: Make service type forking.
38650 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38652         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38653         sign in non default rounding modes.
38654         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38656 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38658         * math/libm-test.inc (ALL_RM_TEST): New macro.
38659         (ceil_test): Use ALL_RM_TEST.
38660         (cimag_test): Likewise.
38661         (conj_test): Likewise.
38662         (copysign_test): Likewise.
38663         (cproj_test): Likewise.
38664         (creal_test): Likewise.
38665         (fabs_test): Likewise.
38666         (floor_test): Likewise.
38667         (fmax_test): Likewise.
38668         (fmin_test): Likewise.
38669         (fmod_test): Likewise.
38670         (fpclassify_test): Likewise.
38671         (frexp_test): Likewise.
38672         (ilogb_test): Likewise.
38673         (isfinite_test): Likewise.
38674         (finite_test): Likewise.
38675         (isgreater_test): Likewise.
38676         (isgreaterequal_test): Likewise.
38677         (isinf_test): Likewise.
38678         (isless_test): Likewise.
38679         (islessequal_test): Likewise.
38680         (islessgreater_test): Likewise.
38681         (isnan_test): Likewise.
38682         (isnormal_test): Likewise.
38683         (issignaling_test): Likewise.
38684         (isunordered_test): Likewise.
38685         (logb_test): Likewise.
38686         (logb_downward_test_data): Remove.
38687         (logb_test_downward): Likewise.
38688         (lround_test): Use ALL_RM_TEST.
38689         (llround_test): Likewise.
38690         (modf_test): Likewise.
38691         (nexttoward_test): Likewise.
38692         (remainder_test): Likewise.
38693         (drem_test): Likewise.
38694         (remainder_tonearest_test_data): Likewise.
38695         (remainder_test_tonearest): Likewise.
38696         (drem_test_tonearest): Likewise.
38697         (remainder_towardzero_test_data): Likewise.
38698         (remainder_test_towardzero): Likewise.
38699         (drem_test_towardzero): Likewise.
38700         (remainder_downward_test_data): Likewise.
38701         (remainder_test_downward): Likewise.
38702         (drem_test_downward): Likewise.
38703         (remainder_upward_test_data): Likewise.
38704         (remainder_test_upward): Likewise.
38705         (drem_test_upward): Likewise.
38706         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38707         (round_test): Use ALL_RM_TEST.
38708         (signbit_test): Likewise.
38709         (trunc_test): Likewise.
38710         (significand_test): Likewise.
38711         (main): Don't call removed functions.
38713 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38715         [BZ #16674]
38716         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38717         || __USE_XOPEN2K8].
38718         (ILL_ILLOPN): Likewise.
38719         (ILL_ILLADR): Likewise.
38720         (ILL_ILLTRP): Likewise.
38721         (ILL_PRVOPC): Likewise.
38722         (ILL_PRVREG): Likewise.
38723         (ILL_COPROC): Likewise.
38724         (ILL_BADSTK): Likewise.
38725         (FPE_INTDIV): Likewise.
38726         (FPE_INTOVF): Likewise.
38727         (FPE_FLTDIV): Likewise.
38728         (FPE_FLTOVF): Likewise.
38729         (FPE_FLTUND): Likewise.
38730         (FPE_FLTRES): Likewise.
38731         (FPE_FLTINV): Likewise.
38732         (FPE_FLTSUB): Likewise.
38733         (SEGV_MAPERR): Likewise.
38734         (SEGV_ACCERR): Likewise.
38735         (BUS_ADRALN): Likewise.
38736         (BUS_ADRERR): Likewise.
38737         (BUS_OBJERR): Likewise.
38738         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38739         (TRAP_TRACE): Likewise.
38740         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38741         __USE_XOPEN2K8].
38742         (CLD_KILLED): Likewise.
38743         (CLD_DUMPED): Likewise.
38744         (CLD_TRAPPED): Likewise.
38745         (CLD_STOPPED): Likewise.
38746         (CLD_CONTINUED): Likewise.
38747         (POLL_IN): Likewise.
38748         (POLL_OUT): Likewise.
38749         (POLL_MSG): Likewise.
38750         (POLL_ERR): Likewise.
38751         (POLL_PRI): Likewise.
38752         (POLL_HUP): Likewise.
38753         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38754         Likewise.
38755         (ILL_ILLOPN): Likewise.
38756         (ILL_ILLADR): Likewise.
38757         (ILL_ILLTRP): Likewise.
38758         (ILL_PRVOPC): Likewise.
38759         (ILL_PRVREG): Likewise.
38760         (ILL_COPROC): Likewise.
38761         (ILL_BADSTK): Likewise.
38762         (FPE_INTDIV): Likewise.
38763         (FPE_INTOVF): Likewise.
38764         (FPE_FLTDIV): Likewise.
38765         (FPE_FLTOVF): Likewise.
38766         (FPE_FLTUND): Likewise.
38767         (FPE_FLTRES): Likewise.
38768         (FPE_FLTINV): Likewise.
38769         (FPE_FLTSUB): Likewise.
38770         (SEGV_MAPERR): Likewise.
38771         (SEGV_ACCERR): Likewise.
38772         (BUS_ADRALN): Likewise.
38773         (BUS_ADRERR): Likewise.
38774         (BUS_OBJERR): Likewise.
38775         (BUS_MCEERR_AR): Likewise.
38776         (BUS_MCEERR_AO): Likewise.
38777         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38778         (TRAP_TRACE): Likewise.
38779         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38780         __USE_XOPEN2K8].
38781         (CLD_KILLED): Likewise.
38782         (CLD_DUMPED): Likewise.
38783         (CLD_TRAPPED): Likewise.
38784         (CLD_STOPPED): Likewise.
38785         (CLD_CONTINUED): Likewise.
38786         (POLL_IN): Likewise.
38787         (POLL_OUT): Likewise.
38788         (POLL_MSG): Likewise.
38789         (POLL_ERR): Likewise.
38790         (POLL_PRI): Likewise.
38791         (POLL_HUP): Likewise.
38792         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38793         (ILL_ILLOPN): Likewise.
38794         (ILL_ILLADR): Likewise.
38795         (ILL_ILLTRP): Likewise.
38796         (ILL_PRVOPC): Likewise.
38797         (ILL_PRVREG): Likewise.
38798         (ILL_COPROC): Likewise.
38799         (ILL_BADSTK): Likewise.
38800         (FPE_INTDIV): Likewise.
38801         (FPE_INTOVF): Likewise.
38802         (FPE_FLTDIV): Likewise.
38803         (FPE_FLTOVF): Likewise.
38804         (FPE_FLTUND): Likewise.
38805         (FPE_FLTRES): Likewise.
38806         (FPE_FLTINV): Likewise.
38807         (FPE_FLTSUB): Likewise.
38808         (SEGV_MAPERR): Likewise.
38809         (SEGV_ACCERR): Likewise.
38810         (BUS_ADRALN): Likewise.
38811         (BUS_ADRERR): Likewise.
38812         (BUS_OBJERR): Likewise.
38813         (BUS_MCEERR_AR): Likewise.
38814         (BUS_MCEERR_AO): Likewise.
38815         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38816         (TRAP_TRACE): Likewise.
38817         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38818         __USE_XOPEN2K8].
38819         (CLD_KILLED): Likewise.
38820         (CLD_DUMPED): Likewise.
38821         (CLD_TRAPPED): Likewise.
38822         (CLD_STOPPED): Likewise.
38823         (CLD_CONTINUED): Likewise.
38824         (POLL_IN): Likewise.
38825         (POLL_OUT): Likewise.
38826         (POLL_MSG): Likewise.
38827         (POLL_ERR): Likewise.
38828         (POLL_PRI): Likewise.
38829         (POLL_HUP): Likewise.
38830         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38831         Likewise.
38832         (ILL_ILLOPN): Likewise.
38833         (ILL_ILLADR): Likewise.
38834         (ILL_ILLTRP): Likewise.
38835         (ILL_PRVOPC): Likewise.
38836         (ILL_PRVREG): Likewise.
38837         (ILL_COPROC): Likewise.
38838         (ILL_BADSTK): Likewise.
38839         (ILL_BADIADDR): Likewise.
38840         (ILL_BREAK): Likewise.
38841         (FPE_INTDIV): Likewise.
38842         (FPE_INTOVF): Likewise.
38843         (FPE_FLTDIV): Likewise.
38844         (FPE_FLTOVF): Likewise.
38845         (FPE_FLTUND): Likewise.
38846         (FPE_FLTRES): Likewise.
38847         (FPE_FLTINV): Likewise.
38848         (FPE_FLTSUB): Likewise.
38849         (FPE_DECOVF): Likewise.
38850         (FPE_DECDIV): Likewise.
38851         (FPE_DECERR): Likewise.
38852         (FPE_INVASC): Likewise.
38853         (FPE_INVDEC): Likewise.
38854         (SEGV_MAPERR): Likewise.
38855         (SEGV_ACCERR): Likewise.
38856         (SEGV_PSTKOVF): Likewise.
38857         (BUS_ADRALN): Likewise.
38858         (BUS_ADRERR): Likewise.
38859         (BUS_OBJERR): Likewise.
38860         (BUS_MCEERR_AR): Likewise.
38861         (BUS_MCEERR_AO): Likewise.
38862         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38863         (TRAP_TRACE): Likewise.
38864         (TRAP_BRANCH): Likewise.
38865         (TRAP_HWBKPT): Likewise.
38866         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38867         __USE_XOPEN2K8].
38868         (CLD_KILLED): Likewise.
38869         (CLD_DUMPED): Likewise.
38870         (CLD_TRAPPED): Likewise.
38871         (CLD_STOPPED): Likewise.
38872         (CLD_CONTINUED): Likewise.
38873         (POLL_IN): Likewise.
38874         (POLL_OUT): Likewise.
38875         (POLL_MSG): Likewise.
38876         (POLL_ERR): Likewise.
38877         (POLL_PRI): Likewise.
38878         (POLL_HUP): Likewise.
38879         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38880         (ILL_ILLOPN): Likewise.
38881         (ILL_ILLADR): Likewise.
38882         (ILL_ILLTRP): Likewise.
38883         (ILL_PRVOPC): Likewise.
38884         (ILL_PRVREG): Likewise.
38885         (ILL_COPROC): Likewise.
38886         (ILL_BADSTK): Likewise.
38887         (FPE_INTDIV): Likewise.
38888         (FPE_INTOVF): Likewise.
38889         (FPE_FLTDIV): Likewise.
38890         (FPE_FLTOVF): Likewise.
38891         (FPE_FLTUND): Likewise.
38892         (FPE_FLTRES): Likewise.
38893         (FPE_FLTINV): Likewise.
38894         (FPE_FLTSUB): Likewise.
38895         (SEGV_MAPERR): Likewise.
38896         (SEGV_ACCERR): Likewise.
38897         (BUS_ADRALN): Likewise.
38898         (BUS_ADRERR): Likewise.
38899         (BUS_OBJERR): Likewise.
38900         (BUS_MCEERR_AR): Likewise.
38901         (BUS_MCEERR_AO): Likewise.
38902         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38903         (TRAP_TRACE): Likewise.
38904         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38905         __USE_XOPEN2K8].
38906         (CLD_KILLED): Likewise.
38907         (CLD_DUMPED): Likewise.
38908         (CLD_TRAPPED): Likewise.
38909         (CLD_STOPPED): Likewise.
38910         (CLD_CONTINUED): Likewise.
38911         (POLL_IN): Likewise.
38912         (POLL_OUT): Likewise.
38913         (POLL_MSG): Likewise.
38914         (POLL_ERR): Likewise.
38915         (POLL_PRI): Likewise.
38916         (POLL_HUP): Likewise.
38917         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38918         (ILL_ILLOPN): Likewise.
38919         (ILL_ILLADR): Likewise.
38920         (ILL_ILLTRP): Likewise.
38921         (ILL_PRVOPC): Likewise.
38922         (ILL_PRVREG): Likewise.
38923         (ILL_COPROC): Likewise.
38924         (ILL_BADSTK): Likewise.
38925         (FPE_INTDIV): Likewise.
38926         (FPE_INTOVF): Likewise.
38927         (FPE_FLTDIV): Likewise.
38928         (FPE_FLTOVF): Likewise.
38929         (FPE_FLTUND): Likewise.
38930         (FPE_FLTRES): Likewise.
38931         (FPE_FLTINV): Likewise.
38932         (FPE_FLTSUB): Likewise.
38933         (SEGV_MAPERR): Likewise.
38934         (SEGV_ACCERR): Likewise.
38935         (BUS_ADRALN): Likewise.
38936         (BUS_ADRERR): Likewise.
38937         (BUS_OBJERR): Likewise.
38938         (BUS_MCEERR_AR): Likewise.
38939         (BUS_MCEERR_AO): Likewise.
38940         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38941         (TRAP_TRACE): Likewise.
38942         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38943         __USE_XOPEN2K8].
38944         (CLD_KILLED): Likewise.
38945         (CLD_DUMPED): Likewise.
38946         (CLD_TRAPPED): Likewise.
38947         (CLD_STOPPED): Likewise.
38948         (CLD_CONTINUED): Likewise.
38949         (POLL_IN): Likewise.
38950         (POLL_OUT): Likewise.
38951         (POLL_MSG): Likewise.
38952         (POLL_ERR): Likewise.
38953         (POLL_PRI): Likewise.
38954         (POLL_HUP): Likewise.
38955         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38956         (ILL_ILLOPN): Likewise.
38957         (ILL_ILLADR): Likewise.
38958         (ILL_ILLTRP): Likewise.
38959         (ILL_PRVOPC): Likewise.
38960         (ILL_PRVREG): Likewise.
38961         (ILL_COPROC): Likewise.
38962         (ILL_BADSTK): Likewise.
38963         (FPE_INTDIV): Likewise.
38964         (FPE_INTOVF): Likewise.
38965         (FPE_FLTDIV): Likewise.
38966         (FPE_FLTOVF): Likewise.
38967         (FPE_FLTUND): Likewise.
38968         (FPE_FLTRES): Likewise.
38969         (FPE_FLTINV): Likewise.
38970         (FPE_FLTSUB): Likewise.
38971         (SEGV_MAPERR): Likewise.
38972         (SEGV_ACCERR): Likewise.
38973         (BUS_ADRALN): Likewise.
38974         (BUS_ADRERR): Likewise.
38975         (BUS_OBJERR): Likewise.
38976         (BUS_MCEERR_AR): Likewise.
38977         (BUS_MCEERR_AO): Likewise.
38978         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38979         (TRAP_TRACE): Likewise.
38980         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38981         __USE_XOPEN2K8].
38982         (CLD_KILLED): Likewise.
38983         (CLD_DUMPED): Likewise.
38984         (CLD_TRAPPED): Likewise.
38985         (CLD_STOPPED): Likewise.
38986         (CLD_CONTINUED): Likewise.
38987         (POLL_IN): Likewise.
38988         (POLL_OUT): Likewise.
38989         (POLL_MSG): Likewise.
38990         (POLL_ERR): Likewise.
38991         (POLL_PRI): Likewise.
38992         (POLL_HUP): Likewise.
38993         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38994         (ILL_ILLOPN): Likewise.
38995         (ILL_ILLADR): Likewise.
38996         (ILL_ILLTRP): Likewise.
38997         (ILL_PRVOPC): Likewise.
38998         (ILL_PRVREG): Likewise.
38999         (ILL_COPROC): Likewise.
39000         (ILL_BADSTK): Likewise.
39001         (ILL_DBLFLT): Likewise.
39002         (ILL_HARDWALL): Likewise.
39003         (FPE_INTDIV): Likewise.
39004         (FPE_INTOVF): Likewise.
39005         (FPE_FLTDIV): Likewise.
39006         (FPE_FLTOVF): Likewise.
39007         (FPE_FLTUND): Likewise.
39008         (FPE_FLTRES): Likewise.
39009         (FPE_FLTINV): Likewise.
39010         (FPE_FLTSUB): Likewise.
39011         (SEGV_MAPERR): Likewise.
39012         (SEGV_ACCERR): Likewise.
39013         (BUS_ADRALN): Likewise.
39014         (BUS_ADRERR): Likewise.
39015         (BUS_OBJERR): Likewise.
39016         (BUS_MCEERR_AR): Likewise.
39017         (BUS_MCEERR_AO): Likewise.
39018         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39019         (TRAP_TRACE): Likewise.
39020         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39021         __USE_XOPEN2K8].
39022         (CLD_KILLED): Likewise.
39023         (CLD_DUMPED): Likewise.
39024         (CLD_TRAPPED): Likewise.
39025         (CLD_STOPPED): Likewise.
39026         (CLD_CONTINUED): Likewise.
39027         (POLL_IN): Likewise.
39028         (POLL_OUT): Likewise.
39029         (POLL_MSG): Likewise.
39030         (POLL_ERR): Likewise.
39031         (POLL_PRI): Likewise.
39032         (POLL_HUP): Likewise.
39033         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39034         (ILL_ILLOPN): Likewise.
39035         (ILL_ILLADR): Likewise.
39036         (ILL_ILLTRP): Likewise.
39037         (ILL_PRVOPC): Likewise.
39038         (ILL_PRVREG): Likewise.
39039         (ILL_COPROC): Likewise.
39040         (ILL_BADSTK): Likewise.
39041         (FPE_INTDIV): Likewise.
39042         (FPE_INTOVF): Likewise.
39043         (FPE_FLTDIV): Likewise.
39044         (FPE_FLTOVF): Likewise.
39045         (FPE_FLTUND): Likewise.
39046         (FPE_FLTRES): Likewise.
39047         (FPE_FLTINV): Likewise.
39048         (FPE_FLTSUB): Likewise.
39049         (SEGV_MAPERR): Likewise.
39050         (SEGV_ACCERR): Likewise.
39051         (BUS_ADRALN): Likewise.
39052         (BUS_ADRERR): Likewise.
39053         (BUS_OBJERR): Likewise.
39054         (BUS_MCEERR_AR): Likewise.
39055         (BUS_MCEERR_AO): Likewise.
39056         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39057         (TRAP_TRACE): Likewise.
39058         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39059         __USE_XOPEN2K8].
39060         (CLD_KILLED): Likewise.
39061         (CLD_DUMPED): Likewise.
39062         (CLD_TRAPPED): Likewise.
39063         (CLD_STOPPED): Likewise.
39064         (CLD_CONTINUED): Likewise.
39065         (POLL_IN): Likewise.
39066         (POLL_OUT): Likewise.
39067         (POLL_MSG): Likewise.
39068         (POLL_ERR): Likewise.
39069         (POLL_PRI): Likewise.
39070         (POLL_HUP): Likewise.
39071         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39072         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39074         [BZ #16670]
39075         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39076         before #include of <time.h>.
39077         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39078         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39079         (test-xfail-UNIX98/sched.h/conform): Likewise.
39081 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39083         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39084         error absence of trapping exception support.
39085         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39087 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39089         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39090         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39091         * timezone/Makefile (testdata): Move definition above include of
39092         Rules.
39093         (test-zones): New variable.
39094         (tests-special): Add zone files.
39095         (build-testdata): Use $(evaluate-test).
39097         * elf/Makefile (tests-special): Rename tests to end with .out.
39098         ($(objpfx)noload-mem): Likewise.
39099         ($(objpfx)tst-leaks1-mem): Likewise.
39100         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39101         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39102         $(objpfx)test-iconvconfig.out.
39103         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39104         set -e inside subshell and redirect output to file.
39105         * iconvdata/Makefile (generated): Rename tests to end with .out.
39106         Correct type.
39107         (tests-special): Rename tests to end with .out.
39108         ($(objpfx)mtrace-tst-loading): Likewise.
39109         * intl/Makefile (generated): Likewise.
39110         (tests-special): Likewise.
39111         ($(objpfx)mtrace-tst-gettext): Likewise.
39112         * misc/Makefile (generated): Likewise.
39113         (tests-special): Likewise.
39114         ($(objpfx)tst-error1-mem): Likewise.
39115         * nptl/Makefile (tests-special): Likewise.
39116         ($(objpfx)tst-stack3-mem): Likewise.
39117         (generated): Likewise.
39118         * posix/Makefile (generated): Likewise.
39119         (tests-special): Likewise.
39120         (xtests-special): Likewise.
39121         ($(objpfx)tst-fnmatch-mem): Likewise.
39122         ($(objpfx)bug-regex2-mem): Likewise.
39123         ($(objpfx)bug-regex14-mem): Likewise.
39124         ($(objpfx)bug-regex21-mem): Likewise.
39125         ($(objpfx)bug-regex31-mem): Likewise.
39126         ($(objpfx)tst-vfork3-mem): Likewise.
39127         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39128         ($(objpfx)tst-pcre-mem): Likewise.
39129         ($(objpfx)tst-boost-mem): Likewise.
39130         ($(objpfx)bug-ga2-mem): Likewise.
39131         ($(objpfx)bug-glob2-mem): Likewise.
39132         * resolv/Makefile (generate): Likewise.
39133         (tests-special): Likewise.
39134         (xtests-special): Likewise.
39135         (generated): Likewise.
39136         ($(objpfx)mtrace-tst-leaks): Likewise.
39137         ($(objpfx)mtrace-tst-leaks2): Likewise.
39139         * scripts/merge-test-results.sh: New file.
39140         * Makefile (tests-special-notdir): New variable.
39141         (tests): Run merge-test-results.sh.
39142         (xtests): Likewise.
39143         * Rules (tests-special-notdir): New variable.
39144         (xtests-special-notdir): Likewise.
39145         (tests): Run merge-test-results.sh
39146         (xtests): Likewise.
39148         * Makeconfig (test-xfail-name): New variable.
39149         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39150         compute variable name for expected failures.
39151         * conform/Makefile (conformtest-headers-data): New variable.
39152         (conformtest-standards): Likewise.
39153         (conformtest-headers-ISO): Likewise.
39154         (conformtest-headers-ISO99): Likewise.
39155         (conformtest-headers-ISO11): Likewise.
39156         (conformtest-headers-POSIX): Likewise.
39157         (conformtest-headers-XPG3): Likewise.
39158         (conformtest-headers-XPG4): Likewise.
39159         (conformtest-headers-UNIX98): Likewise.
39160         (conformtest-headers-XOPEN2K): Likewise.
39161         (conformtest-headers-POSIX2008): Likewise.
39162         (conformtest-headers-XOPEN2K8): Likewise.
39163         (conformtest-header-list-base): Likewise.
39164         (conformtest-header-list-tests): Likewise.
39165         (conformtest-header-base): Likewise.
39166         (conformtest-header-tests): Likewise.
39167         (tests-special): Add $(conformtest-header-list-tests).  If
39168         [$(fast-check) && !$(cross-compiling)], add
39169         $(conformtest-header-tests) instead of
39170         $(objpfx)run-conformtest.out.
39171         (generated): Add $(conformtest-header-list-base).  If
39172         [$(fast-check) && !$(cross-compiling)], add
39173         $(conformtest-header-base).  Remove previous setting.
39174         ($(conformtest-header-list-tests)): New target.
39175         (test-xfail-run-conformtest): Remove variable.
39176         ($(objpfx)run-conformtest.out): Remove target.
39177         (test-xfail-ISO11/complex.h/conform): New variable.
39178         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39179         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39180         (test-xfail-XPG3/varargs.h/conform): Likewise.
39181         (test-xfail-XPG4/varargs.h/conform): Likewise.
39182         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39183         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39184         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39185         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39186         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39187         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39188         (test-xfail-XPG3/ftw.h/conform): Likewise.
39189         (test-xfail-XPG3/grp.h/conform): Likewise.
39190         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39191         (test-xfail-XPG3/limits.h/conform): Likewise.
39192         (test-xfail-XPG3/pwd.h/conform): Likewise.
39193         (test-xfail-XPG3/search.h/conform): Likewise.
39194         (test-xfail-XPG3/signal.h/conform): Likewise.
39195         (test-xfail-XPG3/stdio.h/conform): Likewise.
39196         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39197         (test-xfail-XPG3/string.h/conform): Likewise.
39198         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39199         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39200         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39201         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39202         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39203         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39204         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39205         (test-xfail-XPG3/termios.h/conform): Likewise.
39206         (test-xfail-XPG3/time.h/conform): Likewise.
39207         (test-xfail-XPG3/unistd.h/conform): Likewise.
39208         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39209         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39210         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39211         (test-xfail-XPG4/netdb.h/conform): Likewise.
39212         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39213         (test-xfail-XPG4/signal.h/conform): Likewise.
39214         (test-xfail-XPG4/stdio.h/conform): Likewise.
39215         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39216         (test-xfail-XPG4/stropts.h/conform): Likewise.
39217         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39218         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39219         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39220         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39221         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39222         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39223         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39224         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39225         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39226         (test-xfail-XPG4/termios.h/conform): Likewise.
39227         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39228         (test-xfail-XPG4/unistd.h/conform): Likewise.
39229         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39230         (test-xfail-POSIX/sched.h/conform): Likewise.
39231         (test-xfail-POSIX/signal.h/conform): Likewise.
39232         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39233         (test-xfail-POSIX/tar.h/conform): Likewise.
39234         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39235         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39236         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39237         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39238         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39239         (test-xfail-UNIX98/sched.h/conform): Likewise.
39240         (test-xfail-UNIX98/signal.h/conform): Likewise.
39241         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39242         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39243         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39244         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39245         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39246         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39247         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39248         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39249         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39250         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39251         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39252         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39253         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39254         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39255         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39256         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39257         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39258         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39259         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39260         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39261         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39262         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39263         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39264         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39265         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39266         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39267         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39268         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39269         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39270         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39271         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39272         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39273         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39274         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39275         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39276         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39277         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39278         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39279         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39280         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39281         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39282         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39283         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39284         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39285         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39286         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39287         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39288         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39289         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39290         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39291         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39292         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39293         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39294         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39295         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39296         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39297         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39298         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39299         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39300         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39301         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39302         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39303         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39304         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39305         (conformtest-cc-flags): Likewise.
39306         ($(conformtest-header-tests): New target.
39307         * conform/check-header-lists.sh: New file.
39308         * conform/run-conformtest.sh: Remove.
39310         * conform/conformtest.pl: Allow ' and \ in values given for
39311         constants.
39312         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39313         inclusion.
39314         [POSIX] (sys/types.h): Likewise.
39315         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39316         inclusion.
39317         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39318         inclusion.
39319         * conform/data/signal.h-data (SIGIO): Remove expectation.
39320         [XPG3] (SIGBUS): Do not expect.
39321         [POSIX || XPG3] (SIGPOLL): Likewise.
39322         [POSIX || XPG3] (SIGPROF): Likewise.
39323         [POSIX || XPG3] (SIGSYS): Likewise.
39324         [XPG3] (SIGTRAP): Likewise.
39325         [POSIX || XPG3] (SIGURG): Likewise.
39326         [POSIX || XPG3] (SIGVTALRM): Likewise.
39327         [POSIX || XPG3] (SIGXCPU): Likewise.
39328         [POSIX || XPG3] (SIGXFSZ): Likewise.
39329         [POSIX] (SA_SIGINFO): Expect.
39330         [XPG3] (siginfo_t): Do not expect type or contents.
39331         [POSIX] (si_pid): Do not expect element.
39332         [POSIX] (si_uid): Likewise.
39333         [POSIX] (si_addr): Likewise.
39334         [POSIX] (si_status): Likewise.
39335         [POSIX] (si_band): Likewise.
39336         [XPG4] (si_value): Likewise.
39337         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39338         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39339         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39340         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39341         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39342         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39343         [POSIX || XPG3] (ILL_COPROC): Likewise.
39344         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39345         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39346         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39347         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39348         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39349         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39350         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39351         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39352         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39353         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39354         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39355         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39356         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39357         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39358         [POSIX || XPG3] (CLD_EXITED): Likewise.
39359         [POSIX || XPG3] (CLD_KILLED): Likewise.
39360         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39361         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39362         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39363         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39364         [POSIX || XPG3] (POLL_IN): Likewise.
39365         [POSIX || XPG3] (POLL_OUT): Likewise.
39366         [POSIX || XPG3] (POLL_MSG): Likewise.
39367         [POSIX || XPG3] (POLL_ERR): Likewise.
39368         [POSIX || XPG3] (POLL_PRI): Likewise.
39369         [POSIX || XPG3] (POLL_HUP): Likewise.
39370         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39371         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39372         (SIG*): Do not allow.
39373         [XPG3] (si_*): Likewise.
39374         [XPG3] (SI_*): Likewise.
39375         [XPG3 || XPG4] (sigev_*): Likewise.
39376         [XPG3 || XPG4] (SIGEV_*): Likewise.
39377         [XPG3 || XPG4] (sival_*): Likewise.
39378         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39379         [POSIX || XPG3] (BUS_*): Likewise.
39380         [POSIX || XPG3] (CLD_*): Likewise.
39381         [POSIX || XPG3] (FPE_*): Likewise.
39382         [POSIX || XPG3] (ILL_*): Likewise.
39383         [POSIX || XPG3] (POLL_*): Likewise.
39384         [POSIX || XPG3] (SEGV_*): Likewise.
39385         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39386         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39387         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39388         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39389         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39390         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39391         Specify type and value.
39392         (TVERSLEN): Likewise.
39393         (REGTYPE): Likewise.
39394         (AREGTYPE): Likewise.
39395         (LNKTYPE): Likewise.
39396         (SYMTYPE): Likewise.
39397         (CHRTYPE): Likewise.
39398         (BLKTYPE): Likewise.
39399         (DIRTYPE): Likewise.
39400         (FIFOTYPE): Likewise.
39401         (CONTTYPE): Likewise.
39402         (TSUID): Likewise.
39403         (TSGID): Likewise.
39404         (TSVTX): Likewise.
39405         (TUREAD): Likewise.
39406         (TUWRITE): Likewise.
39407         (TUEXEC): Likewise.
39408         (TGREAD): Likewise.
39409         (TGWRITE): Likewise.
39410         (TGEXEC): Likewise.
39411         (TOREAD): Likewise.
39412         (TOWRITE): Likewise.
39413         (TOEXEC): Likewise.
39414         [POSIX] (TSVTX): Expect constant.
39416 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39418         * Makefile (tests): Change dependencies to ....
39419         (tests-special): ... additions to this variable.
39420         (tests): Depend on $(tests-special).
39421         * Makerules (check-abi-list): New variable.
39422         (check-abi): Depend on $(check-abi-list).
39423         [$(subdir) = elf] (tests-special): Add
39424         $(objpfx)check-abi-libc.out.
39425         [$(build-shared) = yes && subdir] (tests-special): Add
39426         $(check-abi-list).
39427         [$(build-shared) = yes && subdir] (tests): Do not depend on
39428         check-abi.
39429         * Rules (tests): Depend on $(tests-special).
39430         (xtests): Depend on $(xtests-special).
39431         * catgets/Makefile (tests): Change dependencies to ....
39432         (tests-special): ... additions to this variable.
39433         * conform/Makefile (tests): Change dependencies to ....
39434         (tests-special): ... additions to this variable.
39435         * elf/Makefile (tests): Change dependencies to ....
39436         (tests-special): ... additions to this variable.
39437         * grp/Makefile (tests): Change dependencies to ....
39438         (tests-special): ... additions to this variable.
39439         * iconv/Makefile (xtests): Change dependencies to ....
39440         (xtests-special): ... additions to this variable.
39441         * iconvdata/Makefile (tests): Change dependencies to ....
39442         (tests-special): ... additions to this variable.
39443         * intl/Makefile (tests): Change dependencies to ....
39444         (tests-special): ... additions to this variable.  Also add
39445         $(objpfx)tst-gettext.out.
39446         * io/Makefile (tests): Change dependencies to ....
39447         (tests-special): ... additions to this variable.
39448         * libio/Makefile (tests): Change dependencies to ....
39449         (tests-special): ... additions to this variable.
39450         * malloc/Makefile (tests): Change dependencies to ....
39451         (tests-special): ... additions to this variable.
39452         * misc/Makefile (tests): Change dependencies to ....
39453         (tests-special): ... additions to this variable.
39454         * nptl/Makefile (tests): Change dependencies to ....
39455         (tests-special): ... additions to this variable.
39456         * nptl_db/Makefile (tests): Change dependencies to ....
39457         (tests-special): ... additions to this variable.
39458         * posix/Makefile (tests): Change dependencies to ....
39459         (tests-special): ... additions to this variable.
39460         (xtests): Change dependencies to ....
39461         (xtests-special): ... additions to this variable.
39462         * resolv/Makefile (tests): Change dependencies to ....
39463         (tests-special): ... additions to this variable.
39464         (xtests): Change dependencies to ....
39465         (xtests-special): ... additions to this variable.
39466         * stdio-common/Makefile (tests): Change dependencies to ....
39467         (tests-special): ... additions to this variable.
39468         (do-tst-unbputc): Remove target.
39469         (do-tst-printf): Likewise.
39470         * stdlib/Makefile (tests): Change dependencies to ....
39471         (tests-special): ... additions to this variable.
39472         * string/Makefile (tests): Change dependencies to ....
39473         (tests-special): ... additions to this variable.
39474         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39475         (tests-special): ... additions to this variable.
39477         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39478         whole file.
39479         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39480         whole file.
39481         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39482         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39484         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39485         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39486         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39487         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39488         * conform/data/libgen.h-data [XPG3]: Likewise.
39489         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39490         * conform/data/ndbm.h-data [XPG3]: Likewise.
39491         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39492         * conform/data/netdb.h-data [XPG3]: Likewise.
39493         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39494         * conform/data/poll.h-data [XPG3]: Likewise.
39495         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39496         * conform/data/strings.h-data [XPG3]: Likewise.
39497         * conform/data/stropts.h-data [XPG3]: Likewise.
39498         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39499         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39500         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39501         Likewise.
39502         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39503         * conform/data/sys/time.h-data [XPG3]: Likewise.
39504         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39505         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39506         * conform/data/sys/un.h-data [XPG3]: Likewise.
39507         * conform/data/syslog.h-data [XPG3]: Likewise.
39508         * conform/data/ucontext.h-data [XPG3]: Likewise.
39509         * conform/data/utmpx.h-data [XPG3]: Likewise.
39510         * conform/data/varargs.h-data [UNIX98]: Enable file.
39512         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39514         * math/libm-test.inc (struct test_f_f_data): Move expected results
39515         into structure for each rounding mode.
39516         (struct test_ff_f_data): Likewise.
39517         (struct test_ff_f_data_nexttoward): Likewise.
39518         (struct test_fi_f_data): Likewise.
39519         (struct test_fl_f_data): Likewise.
39520         (struct test_if_f_data): Likewise.
39521         (struct test_fff_f_data): Likewise.
39522         (struct test_c_f_data): Likewise.
39523         (struct test_f_f1_data): Likewise.
39524         (struct test_fF_f1_data): Likewise.
39525         (struct test_ffI_f1_data): Likewise.
39526         (struct test_c_c_data): Likewise.
39527         (struct test_cc_c_data): Likewise.
39528         (struct test_f_i_data): Likewise.
39529         (struct test_ff_i_data): Likewise.
39530         (struct test_f_l_data): Likewise.
39531         (struct test_f_L_data): Likewise.
39532         (struct test_fFF_11_data): Likewise.
39533         (RM_): New macro.
39534         (RM_FE_DOWNWARD): Likewise.
39535         (RM_FE_TONEAREST): Likewise.
39536         (RM_FE_TOWARDZERO): Likewise.
39537         (RM_FE_UPWARD): Likewise.
39538         (RUN_TEST_LOOP_f_f): Update references to expected results.
39539         (RUN_TEST_LOOP_2_f): Likewise.
39540         (RUN_TEST_LOOP_fff_f): Likewise.
39541         (RUN_TEST_LOOP_c_f): Likewise.
39542         (RUN_TEST_LOOP_f_f1): Likewise.
39543         (RUN_TEST_LOOP_fF_f1): Likewise.
39544         (RUN_TEST_LOOP_fI_f1): Likewise.
39545         (RUN_TEST_LOOP_ffI_f1): Likewise.
39546         (RUN_TEST_LOOP_c_c): Likewise.
39547         (RUN_TEST_LOOP_cc_c): Likewise.
39548         (RUN_TEST_LOOP_f_i): Likewise.
39549         (RUN_TEST_LOOP_f_i_tg): Likewise.
39550         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39551         (RUN_TEST_LOOP_f_b): Likewise.
39552         (RUN_TEST_LOOP_f_b_tg): Likewise.
39553         (RUN_TEST_LOOP_f_l): Likewise.
39554         (RUN_TEST_LOOP_f_L): Likewise.
39555         (RUN_TEST_LOOP_fFF_11): Likewise.
39556         * math/gen-libm-test.pl (parse_args): Output four copies of
39557         expected results for each test.
39559         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39560         (__ASSUME_UTIMES): Remove.
39561         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39562         (__ASSUME_UTIMES): Likewise.
39564         * math/gen-auto-libm-tests.c: Update comment on output format.
39565         (output_for_one_input_case): Generate before-rounding and
39566         after-rounding information as conditions on output flags not
39567         floating-point format.
39568         * math/auto-libm-test-out: Regenerated.
39569         * math/gen-libm-test.pl (cond_value): New function.
39570         (or_cond_value): Use cond_value.
39571         (generate_testfile): Handle conditional exceptions.
39573 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39575         * math/libm-test.inc (max_valid_error): New variable.
39576         (init_max_error): Take new argument specifying whether function
39577         results are exactly determined.  Set max_valid_error and bound
39578         other variables for errors based on this argument.
39579         (set_max_error): Do not record results above max_valid_error.
39580         (check_float_internal): Only accept errors of up to 0.5ulps if
39581         also at most max_valid_error.
39582         (START): Take new argument EXACT and pass it to init_max_error.
39583         (acos_test): Update call to START.
39584         (acos_test_tonearest): Likewise.
39585         (acos_test_towardzero): Likewise.
39586         (acos_test_downward): Likewise.
39587         (acos_test_upward): Likewise.
39588         (acosh_test): Likewise.
39589         (asin_test): Likewise.
39590         (asin_test_tonearest): Likewise.
39591         (asin_test_towardzero): Likewise.
39592         (asin_test_downward): Likewise.
39593         (asin_test_upward): Likewise.
39594         (asinh_test): Likewise.
39595         (atan_test): Likewise.
39596         (atanh_test): Likewise.
39597         (atan2_test): Likewise.
39598         (cabs_test): Likewise.
39599         (cacos_test): Likewise.
39600         (cacosh_test): Likewise.
39601         (carg_test): Likewise.
39602         (casin_test): Likewise.
39603         (casinh_test): Likewise.
39604         (catan_test): Likewise.
39605         (catanh_test): Likewise.
39606         (cbrt_test): Likewise.
39607         (ccos_test): Likewise.
39608         (ccosh_test): Likewise.
39609         (ceil_test): Likewise.
39610         (cexp_test): Likewise.
39611         (cimag_test): Likewise.
39612         (clog_test): Likewise.
39613         (clog10_test): Likewise.
39614         (conj_test): Likewise.
39615         (copysign_test): Likewise.
39616         (cos_test): Likewise.
39617         (cos_test_tonearest): Likewise.
39618         (cos_test_towardzero): Likewise.
39619         (cos_test_downward): Likewise.
39620         (cos_test_upward): Likewise.
39621         (cosh_test): Likewise.
39622         (cosh_test_tonearest): Likewise.
39623         (cosh_test_towardzero): Likewise.
39624         (cosh_test_downward): Likewise.
39625         (cosh_test_upward): Likewise.
39626         (cpow_test): Likewise.
39627         (cproj_test): Likewise.
39628         (creal_test): Likewise.
39629         (csin_test): Likewise.
39630         (csinh_test): Likewise.
39631         (csqrt_test): Likewise.
39632         (ctan_test): Likewise.
39633         (ctan_test_tonearest): Likewise.
39634         (ctan_test_towardzero): Likewise.
39635         (ctan_test_downward): Likewise.
39636         (ctan_test_upward): Likewise.
39637         (ctanh_test): Likewise.
39638         (ctanh_test_tonearest): Likewise.
39639         (ctanh_test_towardzero): Likewise.
39640         (ctanh_test_downward): Likewise.
39641         (ctanh_test_upward): Likewise.
39642         (erf_test): Likewise.
39643         (erfc_test): Likewise.
39644         (exp_test): Likewise.
39645         (exp_test_tonearest): Likewise.
39646         (exp_test_towardzero): Likewise.
39647         (exp_test_downward): Likewise.
39648         (exp_test_upward): Likewise.
39649         (exp10_test): Likewise.
39650         (exp10_test_tonearest): Likewise.
39651         (exp10_test_towardzero): Likewise.
39652         (exp10_test_downward): Likewise.
39653         (exp10_test_upward): Likewise.
39654         (pow10_test): Likewise.
39655         (exp2_test): Likewise.
39656         (expm1_test): Likewise.
39657         (expm1_test_tonearest): Likewise.
39658         (expm1_test_towardzero): Likewise.
39659         (expm1_test_downward): Likewise.
39660         (expm1_test_upward): Likewise.
39661         (fabs_test): Likewise.
39662         (fdim_test): Likewise.
39663         (floor_test): Likewise.
39664         (fma_test): Likewise.
39665         (fma_test_towardzero): Likewise.
39666         (fma_test_downward): Likewise.
39667         (fma_test_upward): Likewise.
39668         (fmax_test): Likewise.
39669         (fmin_test): Likewise.
39670         (fmod_test): Likewise.
39671         (fpclassify_test): Likewise.
39672         (frexp_test): Likewise.
39673         (hypot_test): Likewise.
39674         (ilogb_test): Likewise.
39675         (isfinite_test): Likewise.
39676         (finite_test): Likewise.
39677         (isgreater_test): Likewise.
39678         (isgreaterequal_test): Likewise.
39679         (isinf_test): Likewise.
39680         (isless_test): Likewise.
39681         (islessequal_test): Likewise.
39682         (islessgreater_test): Likewise.
39683         (isnan_test): Likewise.
39684         (isnormal_test): Likewise.
39685         (issignaling_test): Likewise.
39686         (isunordered_test): Likewise.
39687         (j0_test): Likewise.
39688         (j1_test): Likewise.
39689         (jn_test): Likewise.
39690         (ldexp_test): Likewise.
39691         (lgamma_test): Likewise.
39692         (gamma_test): Likewise.
39693         (lrint_test): Likewise.
39694         (lrint_test_tonearest): Likewise.
39695         (lrint_test_towardzero): Likewise.
39696         (lrint_test_downward): Likewise.
39697         (lrint_test_upward): Likewise.
39698         (llrint_test): Likewise.
39699         (llrint_test_tonearest): Likewise.
39700         (llrint_test_towardzero): Likewise.
39701         (llrint_test_downward): Likewise.
39702         (llrint_test_upward): Likewise.
39703         (log_test): Likewise.
39704         (log10_test): Likewise.
39705         (log1p_test): Likewise.
39706         (log2_test): Likewise.
39707         (logb_test): Likewise.
39708         (logb_test_downward): Likewise.
39709         (lround_test): Likewise.
39710         (llround_test): Likewise.
39711         (modf_test): Likewise.
39712         (nearbyint_test): Likewise.
39713         (nextafter_test): Likewise.
39714         (nexttoward_test): Likewise.
39715         (pow_test): Likewise.
39716         (pow_test_tonearest): Likewise.
39717         (pow_test_towardzero): Likewise.
39718         (pow_test_downward): Likewise.
39719         (pow_test_upward): Likewise.
39720         (remainder_test): Likewise.
39721         (drem_test): Likewise.
39722         (remainder_test_tonearest): Likewise.
39723         (drem_test_tonearest): Likewise.
39724         (remainder_test_towardzero): Likewise.
39725         (drem_test_towardzero): Likewise.
39726         (remainder_test_downward): Likewise.
39727         (drem_test_downward): Likewise.
39728         (remainder_test_upward): Likewise.
39729         (drem_test_upward): Likewise.
39730         (remquo_test): Likewise.
39731         (rint_test): Likewise.
39732         (rint_test_tonearest): Likewise.
39733         (rint_test_towardzero): Likewise.
39734         (rint_test_downward): Likewise.
39735         (rint_test_upward): Likewise.
39736         (round_test): Likewise.
39737         (scalb_test): Likewise.
39738         (scalbn_test): Likewise.
39739         (scalbln_test): Likewise.
39740         (signbit_test): Likewise.
39741         (sin_test): Likewise.
39742         (sin_test_tonearest): Likewise.
39743         (sin_test_towardzero): Likewise.
39744         (sin_test_downward): Likewise.
39745         (sin_test_upward): Likewise.
39746         (sincos_test): Likewise.
39747         (sinh_test): Likewise.
39748         (sinh_test_tonearest): Likewise.
39749         (sinh_test_towardzero): Likewise.
39750         (sinh_test_downward): Likewise.
39751         (sinh_test_upward): Likewise.
39752         (sqrt_test): Likewise.
39753         (sqrt_test_tonearest): Likewise.
39754         (sqrt_test_towardzero): Likewise.
39755         (sqrt_test_downward): Likewise.
39756         (sqrt_test_upward): Likewise.
39757         (tan_test): Likewise.
39758         (tan_test_tonearest): Likewise.
39759         (tan_test_towardzero): Likewise.
39760         (tan_test_downward): Likewise.
39761         (tan_test_upward): Likewise.
39762         (tanh_test): Likewise.
39763         (tgamma_test): Likewise.
39764         (trunc_test): Likewise.
39765         (y0_test): Likewise.
39766         (y1_test): Likewise.
39767         (yn_test): Likewise.
39768         (significand_test): Likewise.
39770         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39771         individual tests in comment.
39772         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39773         (prev_max_error): New variable.
39774         (prev_real_max_error): Likewise.
39775         (prev_imag_max_error): Likewise.
39776         (compare_ulp_data): Don't refer to test names in comment.
39777         (find_test_ulps): Remove function.
39778         (find_function_ulps): Likewise.
39779         (find_complex_function_ulps): Likewise.
39780         (init_max_error): Take function name as argument.  Look up ulps
39781         for that function.
39782         (print_ulps): Remove function.
39783         (print_max_error): Use prev_max_error instead of calling
39784         find_function_ulps.
39785         (print_complex_max_error): Use prev_real_max_error and
39786         prev_imag_max_error instead of calling find_complex_function_ulps.
39787         (check_float_internal): Take max_ulp parameter instead of calling
39788         find_test_ulps.  Don't call print_ulps.
39789         (check_float): Update call to check_float_internal.
39790         (check_complex): Update calls to check_float_internal.
39791         (START): Pass argument to init_max_error.
39792         * math/gen-libm-test.pl (%results): Don't include "kind"
39793         information.
39794         (parse_ulps): Don't handle ulps of individual tests.
39795         (print_ulps_file): Likewise.
39796         (output_ulps): Likewise.
39797         * math/README.libm-test: Update.
39798         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39799         individual tests.
39800         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39801         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39802         * sysdeps/arm/libm-test-ulps: Likewise.
39803         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39804         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39805         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39806         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39807         * sysdeps/microblaze/libm-test-ulps: Likewise.
39808         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39809         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39810         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39811         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39812         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39813         * sysdeps/sh/libm-test-ulps: Likewise.
39814         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39815         * sysdeps/tile/libm-test-ulps: Likewise.
39816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39818 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39820         * math/libm-test.inc (print_complex_max_error): Check separately
39821         whether real and imaginary errors are within allowed range and
39822         pass 0 to print_complex_function_ulps instead of value within
39823         allowed range.
39825 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39827         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39828         formatting.
39829         (get_handles_fopen): Likewise.
39830         (do_write_test): Likewise.
39832         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39834         * libio/fileops.c (do_ftell): Use cached offset when
39835         available.
39836         * libio/iofwide.c (do_ftell_wide): Likewise.
39837         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39838         _IO_file_attach.
39839         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39841         [BZ #16532]
39842         * libio/libioP.h (get_file_offset): New function.
39843         * libio/fileops.c (get_file_offset): Likewise.
39844         (do_ftell): Likewise.
39845         (_IO_new_file_seekoff): Split out ftell logic.
39846         * libio/wfileops.c (do_ftell_wide): Likewise.
39847         (_IO_wfile_seekoff): Split out ftell logic.
39848         * libio/tst-ftell-active-handler.c: New test case.
39849         * libio/Makefile (tests): Add it.
39851 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39853         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39854         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39856 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39858         [BZ #16639]
39859         * nscd/connections.c (nscd_init): Call do_exit.
39860         (start_threads): Call do_exit and notify_parent.
39861         (begin_drop_privileges): Call do_exit.
39862         (finish_drop_privileges): Likewise.
39863         * nscd/selinux.c (preserve_capabilities): Likewise.
39864         (install_real_capabilities): Likewise.
39865         (nscd_selinux_enabled): Likewise.
39866         (avc_create_thread): Likewise.
39867         (avc_alloc_lock): Likewise.
39868         (nscd_avc_init): Likewise.
39869         * nscd/nscd.c (parent_fd): New static variable.
39870         (main): Create a pipe between parent and child processes.
39871         Skip closing parent_fd.
39872         (monitor_child): New function.
39873         (do_exit): Likewise.
39874         (notify_parent): Likewise.
39875         * nscd/nscd.h (notify_parent): Likewise.
39876         (do_exit): Likewise.
39878 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39880         * malloc/malloc.c (__libc_calloc): Revert last change.
39882 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39886 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39888         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39890         implementation.
39891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39892         (__libc_ifunc_impl_list): Likewise.
39893         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39894         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39895         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39896         * string/strrchr.c: Define STRRCHR.
39898 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39900         * benchtest/bench-strtok.c (simple_strtok): Delete.
39901         (strtok_string): Use as benchmark.
39902         * string/strtok (STRTOK): New macro.
39904 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39906         * manual/threads.texi: Add header and standard comments to all
39907         functions.
39909         * elf/dl-lookup.c (check_match): New function.
39910         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39911         (do_lookup_x): Remove nested function check_match. Use non-nested
39912         function check_match.
39914 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39916         * csu/Makefile (generated, before-compile): Use += rather than =.
39917         * catgets/Makefile (generated, generated-dirs): Likewise.
39918         * debug/Makefile (generated): Likewise.
39919         * dlfcn/Makefile (generated): Likewise.
39920         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39921         * iconvdata/Makefile (before-compile, generated): Likewise.
39922         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39923         * libio/Makefile (generated): Likewise.
39924         * malloc/Makefile (generated): Likewise.
39925         * manual/Makefile (generated, generated-dirs): Likewise.
39926         * misc/Makefile (generated): Likewise.
39927         * posix/Makefile (generated): Likewise.
39928         * resolv/Makefile (generated): Likewise.
39929         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39930         * timezone/Makefile (generated, generated-dirs): Likewise.
39932         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39934 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39937         power8 implementation.
39938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39939         file: POWER8 llround ifunc implementation.
39940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39941         (__lllround): Add POWER8 implementation.
39942         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39943         POWER8 llround implementation.
39945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39946         power8 implementation.
39947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39948         file: POWER8 llrint ifunc implementation.
39949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39950         Add POWER8 implementation.
39951         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39952         POWER8 llrint implementation.
39954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39955         power8 implementation.
39956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39957         file: POWER8 finite ifunc implementation.
39958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39959         Add POWER8 implementation.
39960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39961         Likewise.
39962         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39963         POWER8 finite implementation.
39964         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39967         power8 implementation.
39968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39969         file: POWER8 isinf ifunc implementation.
39970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39971         POWER8 implementation.
39972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39973         Likewise.
39974         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39975         isinf implementation.
39976         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39978         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39979         (INIT_ARCH): Add hwcap2 initialization.
39980         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39981         power8 implementation.
39982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39983         file: POWER8 isnan ifunc implementation.
39984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39985         POWER8 implementation.
39986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39987         Likewise.
39988         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39989         isnan implementation.
39990         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39992 2014-02-27  Joey Ye  <joey.ye@arm.com>
39994         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39995         (_FP_NANFRAC_Q): Set to zero.
39997 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39999         [BZ #16623]
40000         * math/auto-libm-test-in: New test inputs.
40001         * math/auto-libm-test-out: Regenerate.
40002         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40003         and DA.
40004         (__cos): Likewise.
40005         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40007 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40009         * scripts/evaluate-test.sh: Take new argument indicating whether
40010         failure is expected.
40011         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40012         indicating whether failure is expected.
40013         * conform/Makefile (test-xfail-run-conformtest): New variable.
40014         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40015         level.
40016         * posix/Makefile (test-xfail-annexc): New variable.
40017         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40019 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40021         * argp/Makefile: Include Makeconfig immediately after defining
40022         subdir.
40023         * assert/Makefile: Likewise.
40024         * benchtests/Makefile: Likewise.
40025         * catgets/Makefile: Likewise.
40026         * conform/Makefile: Likewise.
40027         * crypt/Makefile: Likewise.
40028         * csu/Makefile: Likewise.
40029         (all): Remove target.
40030         * ctype/Makefile: Include Makeconfig immediately after defining
40031         subdir.
40032         * debug/Makefile: Likewise.
40033         * dirent/Makefile: Likewise.
40034         * dlfcn/Makefile: Likewise.
40035         * gmon/Makefile: Likewise.
40036         * gnulib/Makefile: Likewise.
40037         * grp/Makefile: Likewise.
40038         * gshadow/Makefile: Likewise.
40039         * hesiod/Makefile: Likewise.
40040         * hurd/Makefile: Likewise.
40041         (all): Remove target.
40042         * iconvdata/Makefile: Include Makeconfig immediately after
40043         defining subdir.
40044         * inet/Makefile: Likewise.
40045         * intl/Makefile: Likewise.
40046         * io/Makefile: Likewise.
40047         * libio/Makefile: Likewise.
40048         (all): Remove target.
40049         * locale/Makefile: Include Makeconfig immediately after defining
40050         subdir.
40051         * login/Makefile: Likewise.
40052         * mach/Makefile: Likewise.
40053         (all): Remove target.
40054         * malloc/Makefile: Include Makeconfig immediately after defining
40055         subdir.
40056         (all): Remove target.
40057         * manual/Makefile: Include Makeconfig immediately after defining
40058         subdir.
40059         * math/Makefile: Likewise.
40060         * misc/Makefile: Likewise.
40061         * nis/Makefile: Likewise.
40062         * nss/Makefile: Likewise.
40063         * po/Makefile: Likewise.
40064         (all): Remove target.
40065         * posix/Makefile: Include Makeconfig immediately after defining
40066         subdir.
40067         * pwd/Makefile: Likewise.
40068         * resolv/Makefile: Likewise.
40069         * resource/Makefile: Likewise.
40070         * rt/Makefile: Likewise.
40071         * setjmp/Makefile: Likewise.
40072         * shadow/Makefile: Likewise.
40073         * signal/Makefile: Likewise.
40074         * socket/Makefile: Likewise.
40075         * soft-fp/Makefile: Likewise.
40076         * stdio-common/Makefile: Likewise.
40077         * stdlib/Makefile: Likewise.
40078         * streams/Makefile: Likewise.
40079         * string/Makefile: Likewise.
40080         * sunrpc/Makefile: Likewise.
40081         (all): Remove target.
40082         * sysvipc/Makefile: Include Makeconfig immediately after defining
40083         subdir.
40084         * termios/Makefile: Likewise.
40085         * time/Makefile: Likewise.
40086         * timezone/Makefile: Likewise.
40087         (all): Remove target.
40088         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40089         subdir.
40090         * wctype/Makefile: Likewise.
40092 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40094         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40095         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40096         (libc_feholdexcept_setround_mips): Ditto.
40097         (libc_feholdsetround): New.
40098         (libc_feholdsetroundf): New.
40099         (libc_feholdsetroundl): New.
40100         (libc_feupdateenv_test_mips): New.
40101         (libc_feupdateenv_test): New.
40102         (libc_feupdateenv_testf): New.
40103         (libc_feupdateenv_testl): New.
40104         (libc_feresetround): New.
40105         (libc_feresetroundf): New.
40106         (libc_feresetroundl): New.
40107         (libc_fetestexcept_mips): New.
40108         (libc_fetestexcept): New.
40109         (libc_fetestexceptf): New.
40110         (libc_fetestexceptl): New.
40111         (HAVE_RM_CTX): New.
40112         (libc_feholdexcept_setround_mips_ctx): New.
40113         (libc_feholdexcept_setround_ctx): New.
40114         (libc_feholdexcept_setroundf_ctx): New.
40115         (libc_feholdexcept_setroundl_ctx): New.
40116         (libc_fesetenv_mips_ctx): New.
40117         (libc_fesetenv_ctx): New.
40118         (libc_fesetenv_ctxf): New.
40119         (libc_fesetenv_ctxl): New.
40120         (libc_feupdateenv_mips_ctx): New.
40121         (libc_feupdateenv_ctx): New.
40122         (libc_feupdateenvf_ctx): New.
40123         (libc_feupdateenvl_ctx): New.
40124         (libc_feholdsetround_mips_ctx): New.
40125         (libc_feholdsetround_ctx): New.
40126         (libc_feholdsetroundf_ctx): New.
40127         (libc_feholdsetroundl_ctx): New.
40128         (libc_feresetround_mips_ctx): New.
40129         (libc_feresetround_ctx): New.
40130         (libc_feresetroundf_ctx): New.
40131         (libc_feresetroundl_ctx): New.
40133 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40135         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40137         * manual/ipc.texi: New file.
40138         * manual/Makefile (chapters): Add ipc.
40139         * manual/job.texi: Add "Inter-Process Communication" to next.
40140         * manual/process.texi: Add "Inter-Process Communication" to prev.
40142 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40146 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40148         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40150         * manual/arith.texi: Fix spaces after sentences.
40151         * manual/charset.texi: Likewise.
40152         * manual/errno.texi: Likewise.
40153         * manual/install.texi: Likewise.
40154         * manual/llio.texi: Likewise.
40155         * manual/locale.texi: Likewise.
40156         * manual/maint.texi: Likewise.
40157         * manual/math.texi: Likewise.
40158         * manual/memory.texi: Likewise.
40159         * manual/message.texi: Likewise.
40160         * manual/probes.texi: Likewise.
40161         * manual/resource.texi: Likewise.
40162         * manual/signal.texi: Likewise.
40163         * manual/socket.texi: Likewise.
40164         * manual/stdio.texi: Likewise.
40165         * manual/string.texi: Likewise.
40166         * manual/time.texi: Likewise.
40167         * manual/users.texi: Likewise.
40169 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40171         [BZ #16632]
40172         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40173         _DEFAULT_SOURCE is defined.
40175 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40176             Carlos O'Donell  <carlos@redhat.com>
40178         [BZ #16613]
40179         * elf/dl-tls.c (_dl_count_modids): New function.
40180         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40181         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40182         audit library and increment generation counter.
40183         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40184         * elf/tst-audit9.c: New file.
40185         * elf/tst-auditmod9a.c: New file.
40186         * elf/tst-auditmod9b.c: New file.
40187         * elf/Makefile: Add rules to build and run tst-audit9.
40189 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40191         [BZ #15347]
40192         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40194 2014-02-25  Will Newton  <will.newton@linaro.org>
40196         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40197         (__longjmp): Restore sp and lr before restoring callee
40198         saved registers.  Add longjmp and longjmp_target
40199         SystemTap probe point.
40200         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40201         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40202         Define to zero to match jmpbuf layout.
40203         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40204         (__sigsetjmp): Save sp and lr before saving callee
40205         saved registers.  Add setjmp SystemTap probe point.
40207 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40209         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40211 2014-02-24  Andreas Schwab  <schwab@suse.de>
40213         [BZ #15804]
40214         * elf/pldd.c (wait_for_ptrace_stop): New function.
40215         (main): Call it after attaching.
40217 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40219         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40220         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40221         Versions files is now verboten.
40222         * hurd/Versions (libc: GLIBC_2.0):
40223         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40224         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40225         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40226         * mach/Versions: Likewise.
40228         * csu/Versions: Remove unused %include.
40229         * resolv/Versions: Likewise.
40231 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40233         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40234         ($(objpfx)check-local-headers.out): Likewise.
40235         ($(objpfx)begin-end-check.out): Likewise.
40236         * Makerules (check-abi-%.out): Likewise.
40237         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40238         ($(objpfx)test2.cat): Likewise.
40239         ($(objpfx)de/libc.cat): Likewise.
40240         ($(objpfx)test-gencat.out): Likewise.
40241         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40242         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40243         ($(objpfx)noload-mem): Likewise.
40244         ($(objpfx)tst-pathopt.out): Likewise.
40245         ($(objpfx)tst-rtld-load-self.out): Likewise.
40246         ($(objpfx)tst-array1-cmp.out): Likewise.
40247         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40248         ($(objpfx)tst-array2-cmp.out): Likewise.
40249         ($(objpfx)tst-array3-cmp.out): Likewise.
40250         ($(objpfx)tst-array4-cmp.out): Likewise.
40251         ($(objpfx)tst-array5-cmp.out): Likewise.
40252         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40253         ($(objpfx)check-textrel.out): Likewise.
40254         ($(objpfx)check-execstack.out): Likewise.
40255         ($(objpfx)check-localplt.out): Likewise.
40256         ($(objpfx)order2-cmp.out): Likewise.
40257         ($(objpfx)tst-leaks1-mem): Likewise.
40258         ($(objpfx)tst-leaks1-static-mem): Likewise.
40259         ($(objpfx)tst-initorder-cmp.out): Likewise.
40260         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40261         ($(objpfx)tst-unused-dep.out): Likewise.
40262         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40263         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40264         * iconv/Makefile (test-iconvconfig): Likewise.
40265         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40266         ($(objpfx)iconv-test.out): Likewise.
40267         ($(objpfx)tst-tables.out): Likewise.
40268         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40269         ($(objpfx)tst-gettext.out): Likewise.
40270         ($(objpfx)tst-translit.out): Likewise.
40271         ($(objpfx)tst-gettext2.out): Likewise.
40272         ($(objpfx)tst-gettext4.out): Likewise.
40273         ($(objpfx)tst-gettext6.out): Likewise.
40274         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40275         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40276         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40277         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40278         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40279         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40280         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40281         ($(objpfx)wordexp-tst.out): Likewise.
40282         ($(objpfx)annexc.out): Likewise.
40283         ($(objpfx)tst-fnmatch-mem): Likewise.
40284         ($(objpfx)bug-regex2-mem): Likewise.
40285         ($(objpfx)bug-regex14-mem): Likewise.
40286         ($(objpfx)bug-regex21-mem): Likewise.
40287         ($(objpfx)bug-regex31-mem): Likewise.
40288         ($(objpfx)tst-vfork3-mem): Likewise.
40289         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40290         ($(objpfx)tst-pcre-mem): Likewise.
40291         ($(objpfx)tst-boost-mem): Likewise.
40292         ($(objpfx)tst-getconf.out): Likewise.
40293         ($(objpfx)bug-ga2-mem): Likewise.
40294         ($(objpfx)bug-glob2-mem): Likewise.
40295         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40296         ($(objpfx)mtrace-tst-leaks2): Likewise.
40297         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40298         ($(objpfx)tst-printf.out): Likewise.
40299         ($(objpfx)tst-setvbuf1.out): Likewise.
40300         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40301         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40302         ($(objpfx)tst-fmtmsg.out): Likewise.
40303         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40304         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40306         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40307         * bits/sigaction.h [__USE_MISC]: Likewise.
40308         * bits/waitstatus.h: Update #endif comments.
40309         * ctype/ctype.h: Likewise.
40310         * dirent/dirent.h: Likewise.
40311         [__USE_MISC]: Remove redundant conditionals.
40312         * grp/grp.h: Update #endif comments.
40313         [__USE_GNU]: Remove redundant conditionals.
40314         [__USE_MISC]: Likewise.
40315         * inet/netinet/in.h [__USE_GNU]: Likewise.
40316         * io/sys/stat.h [__USE_MISC]: Likewise.
40317         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40318         * libio/bits/stdio.h: Update #endif comments.
40319         [__USE_MISC]: Remove redundant conditionals.
40320         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40321         * libio/stdio.h: Update #endif comments.
40322         [__USE_MISC]: Remove redundant conditionals.
40323         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40324         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40325         * math/math.h: Update #else and #endif comments.
40326         [__USE_MISC]: Remove redundant conditionals.
40327         * misc/sys/uio.h: Update #endif comments.
40328         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40329         * posix/glob.h [__USE_MISC]: Likewise.
40330         * posix/sys/types.h: Update #endif comments.
40331         [__USE_MISC]: Remove redundant conditionals.
40332         * posix/sys/wait.h: Update #endif comments.
40333         [__USE_MISC]: Remove redundant conditionals.
40334         * posix/unistd.h: Update #endif comments.
40335         [__USE_MISC]: Remove redundant conditionals.
40336         * pwd/pwd.h [__USE_GNU]: Likewise.
40337         [__USE_MISC]: Likewise.
40338         * resolv/netdb.h [__USE_GNU]: Likewise.
40339         * signal/signal.h: Update #endif comments.
40340         [__USE_MISC]: Remove redundant conditionals.
40341         * stdlib/stdlib.h: Update #else and #endif comments.
40342         [__USE_MISC]: Remove redundant conditionals.
40343         [__USE_GNU]: Likewise.
40344         * string/bits/string2.h [__USE_MISC]: Likewise.
40345         * string/string.h: Update #endif comments.
40346         [__USE_MISC]: Remove redundant conditionals.
40347         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40348         Likewise.
40349         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40350         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40351         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40352         Likewise.
40353         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40354         Likewise.
40355         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40356         comments.
40357         [__USE_MISC]: Remove redundant conditionals.
40358         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40359         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40360         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40361         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40362         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40363         Likewise.
40364         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40365         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40366         Likewise.
40367         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40368         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40369         Likewise.
40370         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40371         Likewise.
40372         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40373         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40374         Likewise.
40375         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40376         Likewise.
40377         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40378         * sysdeps/x86/bits/string.h: Update #endif comments.
40379         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40380         conditionals.
40381         * time/sys/time.h: Update #endif comments.
40382         * time/time.h: Likewise.
40383         [__USE_MISC]: Remove redundant conditionals.
40385 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40387         [BZ #16600]
40388         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40390 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40392         * Versions.def (librt): Add GLIBC_2.17.
40394 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40396         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40397         synonym for _SYS_AUXV_H to allow direct inclusion.
40398         * sysdeps/sparc/bits/hwcap.h: Likewise.
40399         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40400         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40401         * sysdeps/sparc/sysdep.h: Likewise.
40403 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40405         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40407 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40409         * benchtests/bench-strrchr.c: Print length instead of position.
40411 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40413         [BZ #16611]
40414         * sysdeps/unix/sysv/linux/kernel-features.h
40415         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40416         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40417         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40418         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40419         Likewise.
40420         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40421         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40422         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40423         (__ASSUME_SENDMMSG): Define instead of using previous
40424         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40425         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40426         (__ASSUME_SENDMMSG_SYSCALL): Define.
40427         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40428         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40429         Likewise.
40430         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40431         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40432         Likewise.
40433         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40434         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40435         Likewise.
40436         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40437         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40438         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40439         [__ASSUME_SENDMMSG]: Change conditionals to
40440         [__ASSUME_SENDMMSG_SOCKETCALL].
40441         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40442         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40443         Define.
40444         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40445         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40446         Likewise.
40447         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40448         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40449         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40450         [!__ASSUME_SENDMMSG]: Change conditional to
40451         [!__ASSUME_SENDMMSG_SOCKETCALL].
40452         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40453         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40454         Define.
40456         [BZ #16610]
40457         * sysdeps/unix/sysv/linux/kernel-features.h
40458         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40459         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40460         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40461         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40462         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40463         [__i386__ || __sparc__]
40464         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40465         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40466         (__ASSUME_RECVMMSG): Define instead of using previous
40467         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40468         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40469         (__ASSUME_RECVMMSG_SYSCALL): Define.
40470         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40471         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40472         Likewise.
40473         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40474         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40475         Likewise.
40476         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40477         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40478         Likewise.
40479         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40480         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40481         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40482         [__ASSUME_RECVMMSG]: Change condition to
40483         [__ASSUME_RECVMMSG_SOCKETCALL].
40484         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40485         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40486         Define.
40487         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40488         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40489         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40490         Likewise.
40491         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40492         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40493         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40494         [!__ASSUME_RECVMMSG]: Change condition to
40495         [!__ASSUME_RECVMMSG_SOCKETCALL].
40496         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40497         (__ASSUME_RECVMMSG_SYSCALL): Define.
40499         [BZ #16609]
40500         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40501         __powerpc__ || __s390__ || __sh__ || __sparc__]
40502         (__ASSUME_SOCKETCALL): Define.
40503         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40504         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40505         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40506         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40507         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40508         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40509         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40510         (__ASSUME_ACCEPT4): Define instead of using previous
40511         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40512         __powerpc__ || __sparc__ || __s390__)] condition.
40513         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40514         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40515         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40516         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40517         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40518         [!__ASSUME_ACCEPT4]: Change condition to
40519         [!__ASSUME_ACCEPT4_SOCKETCALL].
40520         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40521         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40522         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40523         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40524         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40525         __ASSUME_ACCEPT4_SYSCALL.
40526         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40527         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40528         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40529         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40530         __ASSUME_ACCEPT4_SYSCALL.
40531         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40532         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40533         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40534         [__ASSUME_ACCEPT4]: Change condition to
40535         [__ASSUME_ACCEPT4_SOCKETCALL].
40536         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40537         (__ASSUME_SOCKETCALL): Define.
40538         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40539         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40540         (__ASSUME_SOCKETCALL): Define.
40541         (__ASSUME_ACCEPT4): Remove.
40542         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40543         Define.
40544         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40545         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40546         Likewise.
40547         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40548         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40550         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40551         macro.
40552         (HWCAP_ARM_LPAE): Likewise.
40553         (HWCAP_ARM_EVTSTRM): Likewise.
40554         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40555         Add vpfd32, lpae and evtstrm.
40556         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40557         Increase to 22.
40559 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40561         * math/auto-libm-test-in: Add tests of clog10.
40562         * math/auto-libm-test-out: Regenerated.
40563         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40564         * sysdeps/i386/fpu/libm-test-ulps: Update.
40565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40567 2014-02-18  Andreas Schwab  <schwab@suse.de>
40569         [BZ #16574]
40570         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40571         Store non-zero if the second buffer was newly allocated.
40572         (send_dg): Likewise.
40573         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40574         to send_vc and send_dg.
40575         (res_nsend): Pass NULL for ansp2_malloced.
40576         * resolv/res_query.c (__libc_res_nquery): Add parameter
40577         answerp2_malloced and pass it down to __libc_res_nsend.
40578         (res_nquery): Pass additional NULL to __libc_res_nquery.
40579         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40580         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40581         second answer buffer if answerp2_malloced was set.
40582         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40583         (__libc_res_nquerydomain): Add parameter
40584         answerp2_malloced and pass it down to __libc_res_nquery.
40585         (res_nquerydomain): Pass additional NULL to
40586         __libc_res_nquerydomain.
40587         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40588         additional NULL to __libc_res_nsend and __libc_res_nquery.
40589         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40590         additional NULL to __libc_res_nsearch.
40591         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40592         parameter of __libc_res_nsearch to check for separately allocated
40593         second buffer.
40594         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40595         __libc_res_nquery.
40596         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40597         additional NULL to __libc_res_nquery.
40598         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40599         __libc_res_nsearch.
40600         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40601         * include/resolv.h: Update prototypes of __libc_res_nquery,
40602         __libc_res_nsearch, __libc_res_nsend.
40604 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40606         * math/auto-libm-test-in: Add tests of fma.
40607         * math/auto-libm-test-out: Regenerated.
40608         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40609         (fma_towardzero_test_data): Likewise.
40610         (fma_downward_test_data): Likewise.
40611         (fma_upward_test_data): Likewise.
40612         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40613         mpc_mode.
40614         (rounding_modes): Add values for new field.
40615         (func_calc_method): Add value mpfr_fff_f.
40616         (func_calc_desc): Add mpfr_fff_f union field.
40617         (test_function): Add field exact_args.
40618         (FUNC): Add macro argument EXACT_ARGS.
40619         (FUNC_mpfr_f_f): Update call to FUNC.
40620         (FUNC_mpfr_f_f): Likewise.
40621         (FUNC_mpfr_ff_f): Likewise.
40622         (FUNC_mpfr_if_f): Likewise.
40623         (FUNC_mpc_c_f): Likewise.
40624         (FUNC_mpc_c_c): Likewise.
40625         (test_functions): Add fma.  Update calls to FUNC.
40626         (handle_input_arg): Add argument exact_args.
40627         (add_test): Update call to handle_input_arg.
40628         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40629         (output_for_one_input_case): Update call to calc_generic_results.
40630         Recalculate exact zero results in each rounding mode.
40632         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40633         non-negative before setting low bit.
40634         * math/auto-libm-test-in: Mark one asin test possibly having
40635         spurious underflow.
40636         * math/auto-libm-test-out: Regenerated.
40637         * sysdeps/i386/fpu/libm-test-ulps: Update.
40638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40640 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40642         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40643         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40644         ports/sysdeps/unix/sysv/linux/microblaze.
40645         * README: Add missing listing for microblaze*-*-linux-gnu.
40647 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40649         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40650         duplicate code
40652 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40654         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40655         * sysdeps/unix/sysv/linux/ia64: Move directory from
40656         ports/sysdeps/unix/sysv/linux/ia64.
40657         * README: Update listing for ia64-*-linux-gnu.
40659 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40660             Joseph Myers  <joseph@codesourcery.com>
40662         * Makeconfig (test-name): New variable.
40663         (evaluate-test): Likewise.
40664         * Makerules (do-test-clean): Remove .test-result files.
40665         (common-mostlyclean): Likewise.
40666         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40667         * scripts/evaluate-test.sh: New file.
40669 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40671         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40672         separate $(objpfx)tst-fopenloc-cmp.out and
40673         $(objpfx)tst-fopenloc-mem.out targets.
40674         (tests): Update dependencies.
40675         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40676         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40677         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40678         (tst-rxspencer-no-utf8-ARGS): New variable.
40679         (tst-rxspencer-no-utf8-ENV): Likewise.
40680         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40681         instead of $(objpfx)tst-rxspencer-mem.
40682         ($(objpfx)tst-rxspencer-mem): Change target to
40683         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40684         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40685         * posix/tst-rxspencer-no-utf8.c: New file.
40687         * elf/Makefile ($(objpfx)order.out): Remove rule.
40688         [$(run-built-tests) = yes] (tests): Depend on
40689         $(objpfx)order-cmp.out.
40690         ($(objpfx)order-cmp.out): New rule.
40691         [$(run-built-tests) = yes] (tests): Depend on
40692         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40693         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40694         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40695         $(objpfx)tst-array5-static-cmp.out.
40696         ($(objpfx)tst-array1.out): Remove rule.
40697         ($(objpfx)tst-array1-cmp.out): New rule.
40698         ($(objpfx)tst-array1-static.out): Remove rule.
40699         ($(objpfx)tst-array1-static-cmp.out): New rule.
40700         ($(objpfx)tst-array2.out): Remove rule.
40701         ($(objpfx)tst-array2-cmp.out): New rule.
40702         ($(objpfx)tst-array3.out): Remove rule.
40703         ($(objpfx)tst-array3-cmp.out): New rule.
40704         ($(objpfx)tst-array4.out): Remove rule.
40705         ($(objpfx)tst-array4-cmp.out): New rule.
40706         ($(objpfx)tst-array5.out): Remove rule.
40707         ($(objpfx)tst-array5-cmp.out): New rule.
40708         ($(objpfx)tst-array5-static.out): Remove rule.
40709         ($(objpfx)tst-array5-static-cmp.out): New rule.
40710         [$(run-built-tests) = yes] (tests): Depend on
40711         $(objpfx)order2-cmp.out.
40712         ($(objpfx)order2.out): Remove rule.
40713         ($(objpfx)order2-cmp.out): New rule.
40714         ($(objpfx)tst-initorder.out): Remove rule.
40715         [$(run-built-tests) = yes] (tests): Depend on
40716         $(objpfx)tst-initorder-cmp.out.
40717         ($(objpfx)tst-initorder-cmp.out): New rule.
40718         ($(objpfx)tst-initorder2.out): Remove rule.
40719         [$(run-built-tests) = yes] (tests): Depend on
40720         $(objpfx)tst-initorder2-cmp.out.
40721         ($(objpfx)tst-initorder2-cmp.out): New rule.
40722         [$(run-built-tests) = yes] (tests): Depend on
40723         $(objpfx)tst-unused-dep-cmp.out.
40724         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40725         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40726         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40727         on $(objpfx)tst-setvbuf1-cmp.out.
40728         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40729         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40730         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40731         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40732         ($(objpfx)tst-svc.out): Remove rule.
40733         ($(objpfx)tst-svc-cmp.out): New rule.
40735 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40737         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40738         * ctype/ctype.h [__USE_MISC]: Likewise.
40739         * dirent/dirent.h [__USE_MISC]: Likewise.
40740         * grp/grp.h [__USE_MISC]: Likewise.
40741         * io/fcntl.h [__USE_MISC]: Likewise.
40742         * io/sys/stat.h [__USE_MISC]: Likewise.
40743         * libio/stdio.h [__USE_MISC]: Likewise.
40744         * posix/unistd.h [__USE_MISC]: Likewise.
40745         * pwd/pwd.h [__USE_MISC]: Likewise.
40746         * stdlib.h [__USE_MISC]: Likewise.
40747         * string/bits/string2.h [__USE_MISC]: Likewise.
40748         * string/string.h [__USE_MISC]: Likewise.
40749         * time/time.h [__USE_MISC]: Likewise.
40751 2014-02-13  Andreas Schwab  <schwab@suse.de>
40753         [BZ #16574]
40754         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40755         second answer buffer if it was separately allocated.
40757 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40759         * sysdeps/mips/math-tests.h: Include <features.h>.
40760         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40761         (ROUNDING_TESTS_long_double): Do not define.
40762         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40763         (EXCEPTION_TESTS_long_double): Likewise.
40764         * sysdeps/mips/mips64/libm-test-ulps: Update.
40766         * include/features.h (__USE_BSD): Remove macro definitions.
40767         (__USE_SVID): Likewise.
40768         (_BSD_SOURCE): Likewise.
40769         (_SVID_SOURCE): Likewise.
40770         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40771         from definition of _DEFAULT_SOURCE.
40772         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40773         [_DEFAULT_SOURCE].
40774         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40775         * bits/mman.h [__USE_BSD]: Likewise.
40776         * bits/termios.h [__USE_BSD]: Likewise.
40777         * bits/waitstatus.h [__USE_BSD]: Likewise.
40778         * ctype/ctype.h [__USE_SVID]: Likewise.
40779         * dirent/dirent.h [__USE_BSD]: Likewise.
40780         * grp/grp.h [__USE_SVID]: Likewise.
40781         [__USE_BSD]: Likewise.
40782         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40783         * io/fcntl.h [__USE_BSD]: Likewise.
40784         * io/ftw.h [__USE_BSD]: Likewise.
40785         * io/sys/stat.h [__USE_BSD]: Likewise.
40786         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40787         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40788         * libio/stdio.h [__USE_SVID]: Likewise.
40789         [__USE_BSD]: Likewise.
40790         * math/math.h [__USE_SVID]: Likewise.
40791         [__USE_BSD]: Likewise.
40792         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40793         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40794         * misc/search.h [__USE_SVID]: Likewise.
40795         * misc/sys/mman.h [__USE_BSD]: Likewise.
40796         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40797         * misc/sys/uio.h [__USE_BSD]: Likewise.
40798         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40799         * posix/glob.h [__USE_BSD]: Likewise.
40800         * posix/regex.h [__USE_BSD]: Likewise.
40801         * posix/sys/types.h [__USE_BSD]: Likewise.
40802         [__USE_SVID]: Likewise.
40803         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40804         * posix/sys/wait.h [__USE_BSD]: Likewise.
40805         [__USE_SVID]: Likewise.
40806         * posix/unistd.h [__USE_BSD]: Likewise.
40807         [__USE_SVID]: Likewise.
40808         * pwd/pwd.h [__USE_SVID]: Likewise.
40809         * resolv/netdb.h [__USE_BSD]: Likewise.
40810         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40811         * signal/signal.h [__USE_BSD]: Likewise.
40812         [__USE_SVID]: Likewise.
40813         * socket/sys/socket.h [__USE_BSD]: Likewise.
40814         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40815         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40816         [__USE_SVID]: Likewise.
40817         * string/bits/string2.h [__USE_BSD]: Likewise.
40818         [__USE_SVID]: Likewise.
40819         * string/bits/string3.h [__USE_BSD]: Likewise.
40820         * string/endian.h [__USE_BSD]: Likewise.
40821         * string/string.h [__USE_SVID]: Likewise.
40822         [__USE_BSD]: Likewise.
40823         * string/strings.h [__USE_BSD]: Likewise.
40824         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40825         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40826         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40827         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40828         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40829         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40830         Likewise.
40831         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40832         Likewise.
40833         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40834         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40835         Likewise.
40836         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40837         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40838         Likewise.
40839         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40840         Likewise.
40841         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40842         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40843         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40844         Likewise.
40845         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40846         Likewise.
40847         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40848         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40849         * termios/termios.h [__USE_BSD]: Likewise.
40850         * time/sys/time.h [__USE_BSD]: Likewise.
40851         * time/time.h [__USE_BSD]: Likewise.
40852         [__USE_SVID]: Likewise.
40854         * Makefile (subdir_targets): Remove subdir_lint.out.
40856         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40857         (do-tst-printf): Likewise.
40858         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40859         $(objpfx)tst-printf.out.
40861         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40863         * Makerules (check-abi-%): Change target to
40864         $(objpfx)check-abi-%.out.
40865         (check-abi target): Update dependencies.
40866         (check-abi-pattern variable): Redirect output of diff to $@.
40867         (check-abi variable): Likewise.
40868         * elf/Makefile (check-abi): Update dependencies.
40870         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40871         unused.
40872         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40873         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40874         subnormal range.
40875         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40876         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40877         value has largest subnormal exponent.
40878         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40879         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40880         * sysdeps/aarch64/soft-fp/sfp-machine.h
40881         (_FP_TININESS_AFTER_ROUNDING): New macro.
40882         * sysdeps/alpha/soft-fp/sfp-machine.h
40883         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40884         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40885         Likewise.
40886         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40887         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40888         * sysdeps/mips/soft-fp/sfp-machine.h
40889         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40890         * sysdeps/powerpc/soft-fp/sfp-machine.h
40891         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40892         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40893         Likewise.
40894         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40895         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40896         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40897         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40898         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40899         Likewise.
40901 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40903         [BZ #16545]
40904         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40905         model 1.
40907 2014-02-12  Richard Henderson  <rth@redhat.com>
40909         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40910         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40911         * sysdeps/unix/sysv/linux/alpha: Move directory from
40912         ports/sysdeps/unix/sysv/linux/alpha.
40913         * README: Update listing for alpha-*-linux-gnu.
40915 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40917         * include/features.h: Update comment documenting feature test
40918         macros.
40919         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40920         _DEFAULT_SOURCE.
40921         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40922         (_SVID_SOURCE): Likewise.
40923         (_DEFAULT_SOURCE): Update description of default features.
40924         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40925         with _GNU_SOURCE.
40926         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40927         (S_ISVTX): Likewise.
40928         * manual/math.texi (Mathematical Constants): Likewise.
40929         * manual/signal.texi (Interrupted Primitives): Likewise.
40930         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40931         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40932         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40933         Don't refer to _SVID_SOURCE in warning text.
40935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40937         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40938         already defined.
40939         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40940         * sysdeps/mips/dl-lookup.c: Remove.
40941         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40943 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40945         [BZ #16447]
40946         * math/auto-libm-test-in: Add testcase for expl.
40947         * math/auto-libm-test-out: Regenerate.
40948         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40949         calculation of unsafe.
40950         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40952 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40954         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40955         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40956         ports/sysdeps/unix/sysv/linux/aarch64.
40957         * README: Update listing for aarch64*-*-linux-gnu.
40959 2014-02-11  Will Newton  <will.newton@linaro.org>
40961         * manual/probes.texi (Mathematical Function Probes): Use
40962         "triggered" instead of "hit".
40964         * manual/probes.texi (Internal Probes): Add documentation
40965         of setjmp, longjmp and longjmp_target probes.
40967         * include/stap-probe.h: Add comment about probe argument
40968         format.
40970         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40971         definition.  (tr_where, tr_freehook, tr_mallochook,
40972         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40974 2014-02-11  David S. Miller  <davem@davemloft.net>
40976         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40977         processing int_tests.
40979 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40981         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40982         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40983         * sysdeps/unix/sysv/linux/mips: Move directory from
40984         ports/sysdeps/unix/sysv/linux/mips.
40985         * README: Update listing for mips-*-linux-gnu and
40986         mips64-*-linux-gnu.
40988 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40990         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40991         * sysdeps/unix/sysv/linux/m68k: Move directory from
40992         ports/sysdeps/unix/sysv/linux/m68k.
40993         * README: Update listing for m68k-*-linux-gnu.
40995 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40997         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40998         * sysdeps/unix/sysv/linux/generic: Move directory from
40999         ports/sysdeps/unix/sysv/linux/generic.
41000         * sysdeps/unix/sysv/linux/tile: Move directory from
41001         ports/sysdeps/unix/sysv/linux/tile.
41002         * README: Update listing for tile*-*-linux-gnu.
41004 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41006         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41007         __builtin_expect.
41008         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41009         * catgets/open_catalog.c (__open_catalog): Likewise.
41010         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41011         * debug/confstr_chk.c: Likewise.
41012         * debug/fread_chk.c (__fread_chk): Likewise.
41013         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41014         * debug/getgroups_chk.c: Likewise.
41015         * debug/mbsnrtowcs_chk.c: Likewise.
41016         * debug/mbsrtowcs_chk.c: Likewise.
41017         * debug/mbstowcs_chk.c: Likewise.
41018         * debug/memcpy_chk.c: Likewise.
41019         * debug/memmove_chk.c: Likewise.
41020         * debug/mempcpy_chk.c: Likewise.
41021         * debug/memset_chk.c: Likewise.
41022         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41023         * debug/strcat_chk.c (__strcat_chk): Likewise.
41024         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41025         * debug/strncat_chk.c (__strncat_chk): Likewise.
41026         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41027         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41028         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41029         * debug/wcpncpy_chk.c: Likewise.
41030         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41031         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41032         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41033         * debug/wcsncpy_chk.c: Likewise.
41034         * debug/wcsnrtombs_chk.c: Likewise.
41035         * debug/wcsrtombs_chk.c: Likewise.
41036         * debug/wcstombs_chk.c: Likewise.
41037         * debug/wmemcpy_chk.c: Likewise.
41038         * debug/wmemmove_chk.c: Likewise.
41039         * debug/wmempcpy_chk.c: Likewise.
41040         * debug/wmemset_chk.c: Likewise.
41041         * dirent/scandirat.c (SCANDIRAT): Likewise.
41042         * dlfcn/dladdr1.c (dladdr1): Likewise.
41043         * dlfcn/dladdr.c (dladdr): Likewise.
41044         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41045         * dlfcn/dlerror.c (__dlerror): Likewise.
41046         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41047         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41048         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41049         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41050         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41051         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41052         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41053         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41054         Likewise.
41055         * elf/dl-conflict.c: Likewise.
41056         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41057         * elf/dl-dst.h: Likewise.
41058         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41059         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41060         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41061         * elf/dl-init.c (call_init, _dl_init): Likewise.
41062         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41063         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41064         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41065         Likewise.
41066         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41067         Likewise.
41068         * elf/dl-minimal.c (__libc_memalign): Likewise.
41069         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41070         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41071         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41072         * elf/dl-sym.c (do_sym): Likewise.
41073         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41074         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41075         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41076         * elf/dl-writev.h (_dl_writev): Likewise.
41077         * elf/ldconfig.c (search_dir): Likewise.
41078         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41079         (dl_main): Likewise.
41080         * elf/setup-vdso.h (setup_vdso): Likewise.
41081         * grp/compat-initgroups.c (compat_call): Likewise.
41082         * grp/fgetgrent.c (fgetgrent): Likewise.
41083         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41084         * grp/putgrent.c (putgrent): Likewise.
41085         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41086         Likewise.
41087         * hurd/hurdinit.c: Likewise.
41088         * iconvdata/8bit-gap.c (struct): Likewise.
41089         * iconvdata/ansi_x3.110.c : Likewise.
41090         * iconvdata/big5.c : Likewise.
41091         * iconvdata/big5hkscs.c : Likewise.
41092         * iconvdata/cp1255.c: Likewise.
41093         * iconvdata/cp1258.c : Likewise.
41094         * iconvdata/cp932.c : Likewise.
41095         * iconvdata/euc-cn.c: Likewise.
41096         * iconvdata/euc-jisx0213.c : Likewise.
41097         * iconvdata/euc-jp.c: Likewise.
41098         * iconvdata/euc-jp-ms.c : Likewise.
41099         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41100         * iconvdata/gb18030.c : Likewise.
41101         * iconvdata/gbbig5.c (const): Likewise.
41102         * iconvdata/gbgbk.c: Likewise.
41103         * iconvdata/gbk.c : Likewise.
41104         * iconvdata/ibm1364.c : Likewise.
41105         * iconvdata/ibm930.c : Likewise.
41106         * iconvdata/ibm932.c: Likewise.
41107         * iconvdata/ibm933.c : Likewise.
41108         * iconvdata/ibm935.c : Likewise.
41109         * iconvdata/ibm937.c : Likewise.
41110         * iconvdata/ibm939.c : Likewise.
41111         * iconvdata/ibm943.c: Likewise.
41112         * iconvdata/iso_11548-1.c: Likewise.
41113         * iconvdata/iso-2022-cn.c : Likewise.
41114         * iconvdata/iso-2022-cn-ext.c : Likewise.
41115         * iconvdata/iso-2022-jp-3.c: Likewise.
41116         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41117         * iconvdata/iso-2022-kr.c : Likewise.
41118         * iconvdata/iso646.c (gconv_end): Likewise.
41119         * iconvdata/iso_6937-2.c : Likewise.
41120         * iconvdata/iso_6937.c : Likewise.
41121         * iconvdata/iso8859-1.c: Likewise.
41122         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41123         * iconvdata/shift_jisx0213.c : Likewise.
41124         * iconvdata/sjis.c : Likewise.
41125         * iconvdata/t.61.c : Likewise.
41126         * iconvdata/tcvn5712-1.c : Likewise.
41127         * iconvdata/tscii.c: Likewise.
41128         * iconvdata/uhc.c : Likewise.
41129         * iconvdata/unicode.c (gconv_end): Likewise.
41130         * iconvdata/utf-16.c (gconv_end): Likewise.
41131         * iconvdata/utf-32.c (gconv_end): Likewise.
41132         * iconvdata/utf-7.c (base64): Likewise.
41133         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41134         * iconv/gconv_close.c (__gconv_close): Likewise.
41135         * iconv/gconv_open.c (__gconv_open): Likewise.
41136         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41137         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41138         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41139         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41140         (ucs4le_internal_loop_single): Likewise.
41141         * iconv/iconv.c (iconv): Likewise.
41142         * iconv/iconv_close.c: Likewise.
41143         * iconv/loop.c (SINGLE): Likewise.
41144         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41145         * include/atomic.h: Likewise.
41146         * inet/inet6_option.c (option_alloc): Likewise.
41147         * intl/bindtextdom.c (set_binding_values): Likewise.
41148         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41149         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41150         * intl/localealias.c (read_alias_file): Likewise.
41151         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41152         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41153         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41154         * libio/fmemopen.c (fmemopen): Likewise.
41155         * libio/iofgets.c (_IO_fgets): Likewise.
41156         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41157         * libio/iofgetws.c (fgetws): Likewise.
41158         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41159         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41160         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41161         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41162         * locale/findlocale.c (_nl_find_locale): Likewise.
41163         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41164         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41165         Likewise.
41166         * locale/setlocale.c (setlocale): Likewise.
41167         * login/programs/pt_chown.c (main): Likewise.
41168         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41169         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41170         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41171         (mmap, mmap64, mremap, munmap): Likewise.
41172         * math/e_exp2l.c: Likewise.
41173         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41174         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41175         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41176         * math/s_catan.c (__catan): Likewise.
41177         * math/s_catanf.c (__catanf): Likewise.
41178         * math/s_catanh.c (__catanh): Likewise.
41179         * math/s_catanhf.c (__catanhf): Likewise.
41180         * math/s_catanhl.c (__catanhl): Likewise.
41181         * math/s_catanl.c (__catanl): Likewise.
41182         * math/s_ccosh.c (__ccosh): Likewise.
41183         * math/s_ccoshf.c (__ccoshf): Likewise.
41184         * math/s_ccoshl.c (__ccoshl): Likewise.
41185         * math/s_cexp.c (__cexp): Likewise.
41186         * math/s_cexpf.c (__cexpf): Likewise.
41187         * math/s_cexpl.c (__cexpl): Likewise.
41188         * math/s_clog10.c (__clog10): Likewise.
41189         * math/s_clog10f.c (__clog10f): Likewise.
41190         * math/s_clog10l.c (__clog10l): Likewise.
41191         * math/s_clog.c (__clog): Likewise.
41192         * math/s_clogf.c (__clogf): Likewise.
41193         * math/s_clogl.c (__clogl): Likewise.
41194         * math/s_csin.c (__csin): Likewise.
41195         * math/s_csinf.c (__csinf): Likewise.
41196         * math/s_csinh.c (__csinh): Likewise.
41197         * math/s_csinhf.c (__csinhf): Likewise.
41198         * math/s_csinhl.c (__csinhl): Likewise.
41199         * math/s_csinl.c (__csinl): Likewise.
41200         * math/s_csqrt.c (__csqrt): Likewise.
41201         * math/s_csqrtf.c (__csqrtf): Likewise.
41202         * math/s_csqrtl.c (__csqrtl): Likewise.
41203         * math/s_ctan.c (__ctan): Likewise.
41204         * math/s_ctanf.c (__ctanf): Likewise.
41205         * math/s_ctanh.c (__ctanh): Likewise.
41206         * math/s_ctanhf.c (__ctanhf): Likewise.
41207         * math/s_ctanhl.c (__ctanhl): Likewise.
41208         * math/s_ctanl.c (__ctanl): Likewise.
41209         * math/w_pow.c: Likewise.
41210         * math/w_powf.c: Likewise.
41211         * math/w_powl.c: Likewise.
41212         * math/w_scalb.c (sysv_scalb): Likewise.
41213         * math/w_scalbf.c (sysv_scalbf): Likewise.
41214         * math/w_scalbl.c (sysv_scalbl): Likewise.
41215         * misc/error.c (error_tail): Likewise.
41216         * misc/pselect.c (__pselect): Likewise.
41217         * nis/nis_callback.c (__nis_create_callback): Likewise.
41218         * nis/nis_call.c (__nisfind_server): Likewise.
41219         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41220         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41221         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41222         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41223         * nis/nis_lookup.c (nis_lookup): Likewise.
41224         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41225         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41226         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41227         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41228         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41229         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41230         * nis/nss_compat/compat-initgroups.c (add_group)
41231         (internal_getgrent_r): Likewise.
41232         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41233         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41234         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41235         (internal_getspnam_r): Likewise.
41236         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41237         (_nss_nis_getaliasbyname_r): Likewise.
41238         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41239         (_nss_nis_getntohost_r): Likewise.
41240         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41241         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41242         (_nss_nis_getgrgid_r): Likewise.
41243         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41244         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41245         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41246         (_nss_nis_gethostbyname4_r): Likewise.
41247         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41248         (initgroups_netid): Likewise.
41249         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41250         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41251         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41252         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41253         (_nss_nis_getprotobynumber_r): Likewise.
41254         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41255         (_nss_nis_getsecretkey): Likewise.
41256         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41257         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41258         (_nss_nis_getpwuid_r): Likewise.
41259         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41260         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41261         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41262         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41263         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41264         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41265         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41266         Likewise.
41267         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41268         (_nss_nisplus_getntohost_r): Likewise.
41269         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41270         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41271         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41272         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41273         Likewise.
41274         * nis/nss_nisplus/nisplus-initgroups.c
41275         (_nss_nisplus_initgroups_dyn): Likewise.
41276         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41277         (_nss_nisplus_getnetbyaddr_r): Likewise.
41278         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41279         (_nss_nisplus_getprotobynumber_r): Likewise.
41280         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41281         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41282         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41283         Likewise.
41284         * nis/nss_nisplus/nisplus-service.c
41285         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41286         (_nss_nisplus_getservbyport_r): Likewise.
41287         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41288         (_nss_nisplus_getspnam_r): Likewise.
41289         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41290         Likewise.
41291         * nscd/aicache.c (addhstaiX): Likewise.
41292         * nscd/cache.c (cache_search, prune_cache): Likewise.
41293         * nscd/connections.c (register_traced_file, send_ro_fd)
41294         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41295         (main_loop_epoll): Likewise.
41296         * nscd/grpcache.c (addgrbyX): Likewise.
41297         * nscd/hstcache.c (addhstbyX): Likewise.
41298         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41299         * nscd/mem.c (gc, mempool_alloc): Likewise.
41300         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41301         (addinnetgrX): Likewise.
41302         * nscd/nscd-client.h (__nscd_acquire_maplock)
41303         (__nscd_drop_map_ref): Likewise.
41304         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41305         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41306         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41307         Likewise.
41308         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41309         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41310         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41311         (__nscd_get_map_ref): Likewise.
41312         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41313         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41314         Likewise.
41315         * nscd/pwdcache.c (addpwbyX): Likewise.
41316         * nscd/selinux.c (preserve_capabilities): Likewise.
41317         * nscd/servicescache.c (addservbyX): Likewise.
41318         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41319         * posix/fnmatch.c (fnmatch): Likewise.
41320         * posix/getopt.c (_getopt_internal_r): Likewise.
41321         * posix/glob.c (glob, glob_in_dir): Likewise.
41322         * posix/wordexp.c (exec_comm_child): Likewise.
41323         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41324         (getanswer_r, gaih_getanswer_slice): Likewise.
41325         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41326         * resolv/res_init.c: Likewise.
41327         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41328         * resolv/res_query.c (__libc_res_nquery): Likewise.
41329         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41330         Likewise.
41331         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41332         * stdio-common/perror.c (perror): Likewise.
41333         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41334         * stdio-common/tmpnam.c (tmpnam): Likewise.
41335         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41336         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41337         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41338         Likewise.
41339         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41340         * stdlib/putenv.c (putenv): Likewise.
41341         * stdlib/setenv.c (__add_to_environ): Likewise.
41342         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41343         * stdlib/strtol_l.c (INTERNAL): Likewise.
41344         * string/memmem.c (memmem): Likewise.
41345         * string/strerror.c (strerror): Likewise.
41346         * string/strnlen.c (__strnlen): Likewise.
41347         * string/test-memmem.c (simple_memmem): Likewise.
41348         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41349         * sunrpc/pm_getport.c (__get_socket): Likewise.
41350         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41351         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41352         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41353         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41354         Likewise.
41355         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41356         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41357         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41358         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41359         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41360         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41361         Likewise.
41362         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41363         Likewise.
41364         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41365         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41366         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41367         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41368         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41369         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41370         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41371         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41372         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41373         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41374         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41375         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41376         Likewise.
41377         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41378         Likewise.
41379         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41380         Likewise.
41381         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41382         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41383         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41384         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41385         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41386         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41387         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41388         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41389         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41390         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41391         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41392         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41393         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41394         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41395         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41396         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41397         Likewise.
41398         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41399         Likewise.
41400         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41401         Likewise.
41402         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41403         Likewise.
41404         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41405         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41406         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41407         Likewise.
41408         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41409         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41410         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41411         * sysdeps/posix/sleep.c: Likewise.
41412         * sysdeps/posix/tempname.c: Likewise.
41413         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41414         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41415         Likewise.
41416         * sysdeps/powerpc/powerpc32/dl-machine.h
41417         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41418         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41419         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41420         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41421         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41422         Likewise.
41423         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41424         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41425         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41426         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41427         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41428         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41429         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41430         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41431         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41432         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41433         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41434         (elf_machine_lazy_rel): Likewise.
41435         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41436         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41437         (elf_machine_lazy_rel): Likewise.
41438         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41439         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41440         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41441         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41442         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41443         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41444         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41445         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41446         Likewise.
41447         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41448         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41449         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41450         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41451         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41452         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41453         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41454         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41455         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41456         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41457         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41458         Likewise.
41459         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41460         (__posix_fallocate64_l64): Likewise.
41461         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41462         (posix_fallocate): Likewise.
41463         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41464         Likewise.
41465         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41466         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41467         (getifaddrs_internal): Likewise.
41468         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41469         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41470         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41471         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41472         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41473         (__posix_fallocate64_l64): Likewise.
41474         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41475         Likewise.
41476         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41477         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41478         (__get_clockfreq): Likewise.
41479         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41480         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41481         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41482         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41483         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41484         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41485         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41486         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41487         Likewise.
41488         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41489         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41490         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41491         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41492         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41493         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41494         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41495         Likewise.
41496         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41497         (posix_fallocate): Likewise.
41498         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41499         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41500         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41501         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41502         (elf_machine_rela, elf_machine_rela_relative)
41503         (elf_machine_lazy_rel): Likewise.
41504         * time/asctime.c (asctime_internal): Likewise.
41505         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41506         * time/tzset.c (__tzset_parse_tz): Likewise.
41507         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41508         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41509         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41510         * wcsmbs/wcsmbsload.h: Likewise.
41512         [BZ #15894]
41513         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41515         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41516         (arena_get2): Remove THREAD_STATS conditionals.
41517         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41518         (__malloc_stats, int): Likewise.
41520 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41522         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41523         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41525         * manual/setjmp.texi: Fix typos/grammar errors.
41527         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41528         Only return early when n is <= 0.  Delete unused return statement.
41530         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41531         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41532         * debug/tst-longjmp_chk3.c: New file.
41534         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41535         (test_main): Replace code with set_fortify_handler call.
41536         * debug/test-strcpy_chk.c: Likewise.
41537         * debug/tst-chk1.c: Likewise.
41538         * debug/tst-longjmp_chk.c: Likewise.
41539         * test-skeleton.c: Include fcntl.h & paths.h
41540         (set_fortify_handler): Define.
41542         * debug/tst-longjmp_chk.c: Add header comment and include
41543         ../test-skeleton.c.
41544         (do_test): Mark static.
41545         (TEST_FUNCTION): Define.
41547         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41548         (IP_PMTUDISC_INTERFACE): Likewise.
41549         (IP_MULTICAST_IF): Likewise.
41550         (IP_MULTICAST_TTL): Likewise.
41551         (IP_MULTICAST_LOOP): Likewise.
41552         (IP_ADD_MEMBERSHIP): Likewise.
41553         (IP_DROP_MEMBERSHIP): Likewise.
41554         (IP_UNBLOCK_SOURCE): Likewise.
41555         (IP_BLOCK_SOURCE): Likewise.
41556         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41557         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41558         (IP_MSFILTER): Likewise.
41559         (MCAST_JOIN_GROUP): Likewise.
41560         (MCAST_BLOCK_SOURCE): Likewise.
41561         (MCAST_UNBLOCK_SOURCE): Likewise.
41562         (MCAST_LEAVE_GROUP): Likewise.
41563         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41564         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41565         (MCAST_MSFILTER): Likewise.
41566         (IP_MULTICAST_ALL): Likewise.
41567         (IP_UNICAST_IF): Likewise.
41569         * timezone/Makefile: Delete $(have-ksh) check.
41570         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41571         * timezone/tzselect.ksh: Add +x mode bits.
41573         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41574         (ANON_INODE_FS_MAGIC): Likewise.
41575         (BDEVFS_MAGIC): Likewise.
41576         (BINFMTFS_MAGIC): Likewise.
41577         (BTRFS_TEST_MAGIC): Likewise.
41578         (CRAMFS_MAGIC_WEND): Likewise.
41579         (DEBUGFS_MAGIC): Likewise.
41580         (ECRYPTFS_SUPER_MAGIC): Likewise.
41581         (EXT3_SUPER_MAGIC): Likewise.
41582         (EXT4_SUPER_MAGIC): Likewise.
41583         (FUTEXFS_SUPER_MAGIC): Likewise.
41584         (HOSTFS_SUPER_MAGIC): Likewise.
41585         (HUGETLBFS_MAGIC): Likewise.
41586         (MINIX3_SUPER_MAGIC): Likewise.
41587         (MTD_INODE_FS_MAGIC): Likewise.
41588         (NILFS_SUPER_MAGIC): Likewise.
41589         (OPENPROM_SUPER_MAGIC): Likewise.
41590         (PIPEFS_MAGIC): Likewise.
41591         (PSTOREFS_MAGIC): Likewise.
41592         (QNX6_SUPER_MAGIC): Likewise.
41593         (RAMFS_MAGIC): Likewise.
41594         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41595         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41596         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41597         (SECURITYFS_MAGIC): Likewise.
41598         (SELINUX_MAGIC): Likewise.
41599         (SMACK_MAGIC): Likewise.
41600         (SOCKFS_MAGIC): Likewise.
41601         (SQUASHFS_MAGIC): Likewise.
41602         (STACK_END_MAGIC): Likewise.
41603         (TMPFS_MAGIC): Likewise.
41604         (USBDEVICE_SUPER_MAGIC): Likewise.
41605         (V9FS_MAGIC): Likewise.
41606         (XENFS_SUPER_MAGIC): Likewise.
41607         (CRAMFS_MAGIC): Fix typo in comment.
41608         (EXT2_SUPER_MAGIC): Update comment.
41609         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41611 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41613         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41614         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41615         * sysdeps/unix/sysv/linux/arm: Move directory from
41616         ports/sysdeps/unix/sysv/linux/arm.
41617         * README: Update listing for arm-*-linux-gnueabi.
41619         * README: Remove mention of am33.
41621 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41623         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41624         than the comma operator, to avoid "rhs of comma has no effect"
41625         compiler warnings.
41626         (__sigfillset, __sigandset, __sigorset): Likewise.
41627         * include/signal.h (__sigemptyset): Likewise.
41628         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41630 2014-02-07  Allan McRae  <allan@archlinux.org>
41632         * version.h (RELEASE): Set to "development".
41633         (VERSION): Set to "2.19.90"
41634         * NEWS: Add 2.20 section.
41636 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41638         [BZ #16529]
41639         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41641 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41643         * manual/contrib.texi: Update entry for Carlos O'Donell,
41644         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41646 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41648         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41650         * sysdeps/unix/sysv/linux/kernel-features.h
41651         [__LINUX_KERNEL_VERSION >= 0x020621]
41652         (__ASSUME_PROC_PID_TASK_COMM): Define.
41654 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41656         [BZ #16398]
41657         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41658         conversion when destination buffer does not have enough space.
41659         * libio/tst-ftell-partial-wide.c: New test case.
41660         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41662         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41663         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41664         Leonard and Allan McRae.
41666 2014-02-04  David S. Miller  <davem@davemloft.net>
41668         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41669         32-bit.
41671 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41674         New file
41675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41676         New file
41677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41678         New file.
41679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41680         New file.
41681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41682         New file.
41683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41684         New file.
41685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41686         New file.
41687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41688         New file.
41689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41690         New file.
41691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41692         New file.
41693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41694         New file.
41695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41696         New file.
41697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41698         New file.
41700 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41702         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41703         * shlib-versions: Likewise.
41705 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41706             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41708         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41709         (abilist-pattern): New variable, set to %-le.abilist.
41711         * Makerules (abilist-pattern): New variable.
41712         (vpath): Use $(abilist-pattern) in place of %.abilist.
41713         (check-abi-% pattern rule): Likewise.
41714         (check-abi, update-abi): Likewise.
41716 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41720 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41722         * manual/startup.texi: Add next, previous, and top entries for
41723         the `Program Arguments' and `Environment Variables' nodes.
41725 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41727         * manual/macros.texi: Add comments before MTASC-safety macros.
41729         * manual/users.texi: Document MTASC-safety properties.
41731         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41732         (pthread_getspecific, pthread_setspecific): Format with
41733         @deftypefun, and add @safety note.
41734         * manual/signal.texi: Move comments that analyze the above
41735         functions to their home place.
41737 2014-02-03  Allan McRae  <allan@archlinux.org>
41739         * po/sl.po: Update Slovenian translation from translation project.
41741 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41743         * manual/time.texi (timegm): Add missing blank after @c.
41744         Reported by Joseph Myers <joseph@codesourcery.com>.
41746 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41748         * manual/check-safety.sh: New.
41749         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41751         * manual/terminal.texi: Document MTASC-safety properties.
41753         * manual/filesys.texi: Document MTASC-safety properties.
41755         * manual/errno.texi: Document MTASC-safety properties.
41757         * manual/intro.texi: Document safety identifiers and
41758         conditionals.
41760         * manual/string.texi (wcstok): Fix prototype.
41761         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41763         * manual/time.texi: Document MTASC-safety properties.
41765         * manual/string.texi: Document MTASC-safety properties.
41767         * manual/threads.texi: Document MTASC-safety properties.
41769         * manual/stdio.texi: Document MTASC-safety properties.
41771         * manual/syslog.texi: Document MTASC-safety properties.
41773         * manual/sysinfo.texi: Document MTASC-safety properties.
41775         * manual/startup.texi: Document MTASC-safety properties.
41777         * manual/socket.texi: Document MTASC-safety properties.
41779         * manual/signal.texi: Document MTASC-safety properties.
41781 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41783         * manual/setjmp.texi: Document MTASC-safety properties.
41785         * manual/search.texi: Document MTASC-safety properties.
41787         * manual/resource.texi: Document MTASC-safety properties.
41789         * manual/process.texi: Document MTASC-safety properties.
41791         * manual/platform.texi: Document MTASC-safety properties.
41793         * manual/pipe.texi: Document MTASC-safety properties.
41795         * manual/pattern.texi: Document MTASC-safety properties.
41797         * manual/message.texi: Document MTASC-safety properties.
41799         [BZ #12751]
41800         * manual/memory.texi: Document MTASC-safety properties.
41802         * manual/math.texi: Document MTASC-safety properties.
41804         * manual/locale.texi: Document MTASC-safety properties.
41806         * manual/llio.texi: Document MTASC-safety properties.
41808         * manual/libdl.texi: New.
41810         * manual/lang.texi: Document MTASC-safety properties.
41812         * manual/job.texi: Document MTASC-safety properties.
41814         * manual/getopt.texi: Document MTASC-safety properties.
41816         * manual/ctype.texi: Document MTASC-safety properties.
41818 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41820         [BZ #16046]
41821         * csu/libc-tls.c (static_map): Remove variable.
41822         (__libc_setup_tls): Use main executable's link map for TLS data.
41823         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41824         casing for LM_ID_BASE and GL(dl_nns).
41825         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41826         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41827         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41828         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41829         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41830         member.
41831         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41832         l_phnum members.
41834 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41836         * manual/debug.texi: Document MTASC-safety properties.
41838 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41840         [BZ #16510]
41841         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41842         of __x86_64__ when disabling x87 inline functions.
41844 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41846         * manual/charset.texi: Document MTASC-safety properties.
41848         * manual/crypt.texi: Document MTASC-safety properties.
41850         * manual/conf.texi: Document MTASC-safety properties.
41852         * manual/arith.texi: Document MTASC-safety properties.
41854         * manual/argp.texi: Document MTASC-safety properties.
41856         * manual/macros.texi: Introduce macros to document multi
41857         thread, asynchronous signal and asynchronous cancellation
41858         safety properties.
41859         * manual/intro.texi: Introduce the properties themselves.
41861 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41863         * sysdeps/sh/sh4/Makefile: New file.
41865 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41867         * math/gen-libm-test.pl ($srcdir): New variable.
41868         ($auto_input): Use it.
41870 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41872         [BZ #16506]
41873         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41874         access beyond array bounds when parsing netgroups file.
41876         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41877         the old buffer before realloc.
41879 2014-01-27  Allan McRae  <allan@archlinux.org>
41881         * po/fr.po: Update French translation from translation project.
41883 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41885         * sysdeps/sh/libm-test-ulps: Regenerate.
41887 2014-01-24  David S. Miller  <davem@davemloft.net>
41889         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41891 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41893         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41894         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41896 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41898         [BZ #16474]
41899         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41900         string pointers after reallocation.
41902 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41904         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41905         __SH4A__ instead of __SH_FPU_ANY__.
41907 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41909         * sysdeps/sh/fpu_control.h: New file.
41910         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41911         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41912         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41913         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41914         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41915         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41916         * sysdeps/sh/sys/ucontext.h: Remove.
41917         * sysdeps/sh/sys: Remove directory.
41919 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41921         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41922         s390/sys/ucontext.h.
41923         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41924         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41926 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41928         [BZ #15605]
41929         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41931 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41933         [BZ#16431]
41934         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41935         Adjust the vDSO correctly for internal calls.
41936         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41938 2014-01-20  Allan McRae  <allan@archlinux.org>
41940         * po/ca.po: Update Catalan translation from translation project.
41942 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41944         * sysdeps/s390/sotruss-lib.c: New file.
41946 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41948         [BZ#16430]
41949         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41950         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41951         local calls issues by not having a PLT stub required for IFUNC calls.
41952         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41954 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41956         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41957         * math/test-fpucw-static.c: Likewise.
41959 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41961         [BZ #16453]
41962         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41964 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41966         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41967         implementation for powerpc.
41969 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41971         [BZ #14782]
41972         * sysdeps/posix/system.c (__libc_system): Do not enable
41973         asynchronous cancellation.
41975 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41977         [BZ #16427]
41978         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41979         handling only for numbers special also in the IEEE case.
41981 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41983         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41985 2014-01-11  Allan McRae  <allan@archlinux.org>
41987         * po/bg.po: Update Bulgarian translation from translation project.
41989         * po/de.po: Update German translation from translation project.
41991 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41993         * sysdeps/generic/gcc-compat.h: New file.
41995 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41997         * benchtests/asin-inputs: Correct slow inputs.
41998         * benchtests/acos-inputs: Likewise.
42000 2014-01-10  Allan McRae  <allan@archlinux.org>
42002         * po:sv.po: Update Swedish translation from translation project.
42004         * po/vi.po: Update Vietnamese translation from translation project.
42006         * po/eo.po: Update Esperanto translation from translation project.
42008         * po/cs.po: Update Czech translation from translation project.
42010         * po/nl.po: Update Dutch translation from translation project.
42012         * po/pl.po: Update Polish translation from translation project.
42014         * po/ru.po: Update Russian translation from translation project.
42016         * po/uk.po: Update Ukrainian translation from translation project.
42018 2014-01-08  Brooks Moses  <bmoses@google.com>
42020         * elf/dl-load.c: Fix comment typo.
42022 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42024         * po/header.pot: Rename to...
42025         * po/pot.header: ... this.
42026         * po/Makefile: Use pot.header.
42028 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42029             Maxim Kuvyrkov  <maxim@kugelworks.com>
42031         [BZ #16394]
42032         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42033         SRC and DEST against LEN.
42035 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42037         [BZ #16414]
42038         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42039         implementation.
42040         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42042 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42046 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42048         [BZ #16408]
42049         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42050         for large positive arguments.
42052 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42054         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42056         * math/auto-libm-test-in: Mark various tests with
42057         xfail-rounding:ldbl-128ibm.
42058         * math/auto-libm-test-out: Regenerated.
42060         [BZ #16407]
42061         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42062         Increase overflow threshold.
42064 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42066         [BZ #14286]
42067         * stdio-common/vfprintf.c: Check for integer overflow.
42069 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42071         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42072         the first argument and return value of __tls_get_addr_internal.
42074 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42076         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42077         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42079 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42081         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42082         * sysdeps/s390/rtld-global-offsets.sym: New file.
42083         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42084         GLIBC_2.19 symbol.
42085         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42086         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42087         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42088         ... this.
42089         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42090         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42091         ... this.
42092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42093         Regenerate.
42094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42095         Regenerate.
42096         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42097         halfs of GPRs for high_gprs contexts.
42098         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42099         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42100         field.
42101         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42102         uc_flags field.
42103         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42104         64 bit versions:
42105         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42106         for high GPRs (uc_high_gprs) and for future extensions
42107         (__reserved).
42108         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42109         for future extensions (__reserved).
42110         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42111         64 bit versions:
42112         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42113         SC_HIGHGPRS offset definition.
42114         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42115         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42117         * Versions.def: Add GLIBC_2.19 for libpthread.
42118         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42119         siglongjmp for libpthread with GLIBC_2.19 symver.
42120         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42121         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42122         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42123         * sysdeps/s390/__longjmp.c: New file.
42124         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42125         * sysdeps/s390/longjmp.c: New file.
42126         * sysdeps/s390/setjmp.S: New file.
42127         * sysdeps/s390/sigjmp.S: New file.
42128         * sysdeps/s390/v1-longjmp.c: New file.
42129         * sysdeps/s390/v1-setjmp.h: New file.
42130         * sysdeps/s390/v1-sigjmp.c: New file.
42131         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42132         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42133         GLIBC_2.19 version.
42134         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42135         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42136         versioned symbols for ____longjmp_chk.
42137         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42138         Likewise.
42139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42140         Regenerate.
42141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42142         Regenerate.
42143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42144         Regenerate.
42145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42146         Regenerate.
42147         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42148         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42149         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42150         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42151         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42152         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42153         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42154         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42155         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42156         * sysdeps/s390/rtld-__longjmp.c: New file.
42157         * sysdeps/s390/rtld-setjmp.S: New file.
42159 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42161         [BZ #16400]
42162         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42163         Return -__logl (x) for small positive arguments without evaluating
42164         a polynomial.
42166 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42168         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42169         Rename to ...
42170         (__ptrace_peeksiginfo_args): ... this.
42171         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42172         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42173         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42175 2014-01-06  Allan McRae  <allan@archlinux.org>
42177         * inet/netinet/in.h: Fix typo in comment.
42179 2014-01-05  Andreas Jaeger  <aj@suse.de>
42181         * sysdeps/i386/fpu/libm-test-ulps: Update.
42183 2014-01-05  Allan McRae  <allan@archlinux.org>
42185         * po/libc.pot: Regenerated.
42187         * malloc/memusagestat.c: Fix gettext call formatting.
42189 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42191         * nscd/nscd.c: Improve usage() output.
42193 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42195         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42196         * sysdeps/unix/sysv/linux/configure: Regenerated.
42197         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42198         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42200 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42202         [BZ #16390]
42203         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42204         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42206 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42208         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42209         extra tokens at end of #undef directive.
42210         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42211         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42212         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42214 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42216         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42218         * math/auto-libm-test-in: Mark various tests with
42219         xfail-rounding:ldbl-128ibm.
42220         * math/auto-libm-test-out: Regenerated.
42222 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42224         [BZ #16386]
42225         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42226         numbers with subnormal high part when calculating exponent.
42228         [BZ #16385]
42229         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42230         fabs.
42232         [BZ #16384]
42233         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42234         M_LN2l.
42235         (__ieee754_acoshl): Use __log1pl not __log1p.
42237 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42239         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42240         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42241         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42242         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42243         (reused_arena, arena_get2): Convert to GNU style.
42244         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42245         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42246         (memalign_check, __malloc_set_state): Likewise.
42247         * malloc/mallocbug.c (main): Likewise.
42248         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42249         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42250         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42251         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42252         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42253         (__posix_memalign, malloc_info): Likewise.
42254         * malloc/malloc.h: Likewise.
42255         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42256         (mallochook, memalignhook, reallochook, mabort): Likewise.
42257         * malloc/mcheck.h: Likewise.
42258         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42259         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42260         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42261         * malloc/morecore.c (__default_morecore): Likewise.
42262         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42263         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42264         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42265         (print_and_abort): Likewise.
42266         * malloc/obstack.h: Likewise.
42267         * malloc/set-freeres.c (__libc_freeres): Likewise.
42268         * malloc/tst-mallocstate.c (main): Likewise.
42269         * malloc/tst-mtrace.c (main): Likewise.
42270         * malloc/tst-realloc.c (do_test): Likewise.
42272 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42274         [BZ #16366]
42275         * nscd/netgroupcache.c (do_notfound): New function.
42276         (addgetnetgrentX): Use it.
42278         [BZ # 16365]
42279         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42280         NSS_STATUS_NOTFOUND.
42282 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42284         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42287 2014-01-01  Allan McRae  <allan@archlinux.org>
42289         * scripts/update-copyrights: Update configure input file suffix.
42291         * NEWS: Update copyright year.
42292         * catgets/gencat.c: Likewise.
42293         * csu/version.c: Likewise.
42294         * debug/catchsegv.sh: Likewise.
42295         * debug/pcprofiledump.c: Likewise.
42296         * debug/xtrace.sh: Likewise.
42297         * elf/ldconfig.c: Likewise.
42298         * elf/ldd.bash.in: Likewise.
42299         * elf/pldd.c: Likewise.
42300         * elf/sotruss.ksh: Likewise.
42301         * elf/sprof.c: Likewise.
42302         * iconv/iconv_prog.c: Likewise.
42303         * iconv/iconvconfig.c: Likewise.
42304         * locale/programs/locale.c: Likewise.
42305         * locale/programs/localedef.c: Likewise.
42306         * login/programs/pt_chown.c: Likewise.
42307         * malloc/memusage.sh: Likewise.
42308         * malloc/memusagestat.c: Likewise.
42309         * malloc/mtrace.pl: Likewise.
42310         * manual/libc.texinfo: Likewise.
42311         * nscd/nscd.c: Likewise.
42312         * nss/getent.c: Likewise.
42313         * nss/makedb.c: Likewise.
42314         * posix/getconf.c: Likewise.
42315         * scripts/test-installation.pl: Likewise.
42317         * All files with FSF copyright notices: Update copyright dates
42318         using scripts/update-copyrights.
42319         * intl/plural.c: Regenerated.
42320         * locale/programs/charmap-kw.h: Likewise.
42321         * locale/programs/locfile-kw.h: Likewise.
42323 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42325         * sysdeps/unix/sysv/linux/configure: Regenerated.
42326         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42327         the linux/fanotify.h header.
42328         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42329         HAVE_LINUX_FANOTIFY_H is defined.
42331 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42333         * benchtests/cos-inputs: New inputs.
42334         * benchtests/sin-inputs: Likewise.
42336         * benchtests/atan-inputs: New inputs. Fix name of multiple
42337         precision fallback inputs.
42339         * benchtests/atanh-inputs: New inputs.
42340         * benchtests/tanh-inputs: Likewise.
42342         * benchtests/acosh-inputs: New inputs.
42343         * benchtests/asinh-inputs: Likewise.
42345         * benchtests/cosh-inputs: New inputs.
42346         * benchtests/sinh-inputs: Likewise.
42348         * benchtests/acos-inputs: Add more inputs.
42349         * benchtests/asin-inputs: Likewise.
42351 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42353         [BZ #16375]
42354         * manual/arith.texi: Fix spelling.
42355         * manual/charset.texi: Likewise.
42356         * manual/errno.texi: Likewise.
42357         * manual/filesys.texi: Likewise.
42358         * manual/lang.texi: Likewise.
42359         * manual/llio.texi: Likewise.
42360         * manual/locale.texi: Likewise.
42361         * manual/message.texi: Likewise.
42362         * manual/resource.texi: Likewise.
42363         * manual/search.texi: Likewise.
42364         * manual/setjmp.texi: Likewise.
42365         * manual/stdio.texi: Likewise.
42366         * manual/string.texi: Likewise.
42367         * manual/sysinfo.texi: Likewise.
42368         * manual/time.texi: Likewise.
42370 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42372         * po/sl.po: New file.
42374 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42376         * .gitignore: Add core/.gdbinit/.gdb_history.
42378 2013-12-27  Allan McRae  <allan@archlinux.org>
42380         [BZ #16369]
42381         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42382         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42384 2013-12-24  Brooks Moses  <bmoses@google.com>
42386         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42387         all compilers that claim C++98 compliance, not just GCC.
42388         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42389         Likewise.
42391 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42393         * NEWS: Restore accidentally deleted bug-fix entries.
42395 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42396             Ondřej Bílka  <neleai@seznam.cz>
42398         [BZ #15073]
42399         * malloc/malloc.c (_int_free): Perform sanity check only if we
42400         have_lock.
42402 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42404         [BZ #12986]
42405         * manual/stdio.texi (String Input Conversions): Clarify that character
42406         classes are not supported.
42408 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42412 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42414         [BZ #16337]
42415         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42416         Calculate results for small negative arguments directly rather
42417         than using reflection formula with special underflow handling.
42419         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42420         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42421         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42422         (fchflags): Likewise.
42423         (revoke): Likewise.
42424         (setlogin): Likewise.
42425         (sigaltstack): Likewise.
42426         (wait4): Likewise.
42427         (sigblock): Remove.
42428         (sigsetmask): Likewise.
42429         (wait3): Likewise.
42430         (waitpid): Likewise.
42431         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42432         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42433         file.
42434         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42435         * sysdeps/unix/bsd/Makefile: ... here.
42436         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42437         * sysdeps/unix/bsd/Versions: ... here.
42438         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42439         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42440         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42441         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42442         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42443         * sysdeps/unix/bsd/sigblock.c: ... here.
42444         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42445         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42446         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42447         * sysdeps/unix/bsd/sigvec.c: ... here.
42448         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42449         * sysdeps/unix/bsd/tcdrain.c: ... here.
42450         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42451         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42452         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42453         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42454         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42455         * sysdeps/unix/bsd/wait.c: ... here.
42456         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42457         * sysdeps/unix/bsd/wait3.c: ... here.
42458         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42459         * sysdeps/unix/bsd/waitpid.c: ... here.
42461 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42463         [BZ #16356]
42464         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42465         round-to-nearest for [!USE_AS_EXPM1L].
42466         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42467         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42468         more tests of exp and exp10.  Expect some exp10 tests to miss
42469         exceptions or fail in directed rounding modes.
42470         * math/auto-libm-test-out: Regenerated.
42471         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42472         (exp10_test_tonearest): New function.
42473         (exp10_towardzero_test_data): New array.
42474         (exp10_test_towardzero): New function.
42475         (exp10_downward_test_data): New array.
42476         (exp10_test_downward): New function.
42477         (exp10_upward_test_data): New array.
42478         (exp10_test_upward): New function.
42479         (main): Call the new functions.
42480         * sysdeps/i386/fpu/libm-test-ulps: Update.
42481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42483 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42485         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42486         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42487         * math/auto-libm-test-out: Regenerated.
42488         * math/libm-test.inc (acosh_test_data): Add more tests.
42489         (atanh_test_data): Likewise.
42490         (ceil_test_data): Likewise.
42491         (copysign_test_data): Likewise.
42492         * sysdeps/i386/fpu/libm-test-ulps: Update.
42493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42495         * timezone/checktab.awk: Update from tzcode 2013i.
42496         * timezone/private.h: Likewise.
42497         * timezone/scheck.c: Likewise.
42498         * timezone/tzfile.h: Likewise.
42499         * timezone/tzselect.ksh: Likewise.
42500         * timezone/zdump.c: Likewise.
42501         * timezone/zic.c: Likewise.
42503         * math/auto-libm-test-in: Add tests of cpow.
42504         * math/auto-libm-test-out: Regenerated.
42505         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42506         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42507         mpc_cc_c.
42508         (func_calc_desc): Add mpc_cc_c union field.
42509         (test_functions): Add cpow.
42510         (special_fill_2pi): New function.
42511         (special_real_inputs): Add 2pi.
42512         (calc_generic_results): Handle mpc_cc_c.
42513         * sysdeps/i386/fpu/libm-test-ulps: Update.
42514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42516         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42517         csqrt, ctan and ctanh.
42518         * math/auto-libm-test-out: Regenerated.
42519         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42520         (TEST_COND_x86): Likewise.
42521         (ccos_test_data): Use AUTO_TESTS_c_c.
42522         (ccosh_test_data): Likewise.
42523         (cexp_test_data): Likewise.
42524         (clog_test_data): Likewise.
42525         (csqrt_test_data): Likewise.
42526         (ctan_test_data): Likewise.
42527         (ctan_tonearest_test_data): Likewise.
42528         (ctan_towardzero_test_data): Likewise.
42529         (ctan_downward_test_data): Likewise.
42530         (ctan_upward_test_data): Likewise.
42531         (ctanh_test_data): Likewise.
42532         (ctanh_tonearest_test_data): Likewise.
42533         (ctanh_towardzero_test_data): Likewise.
42534         (ctanh_downward_test_data): Likewise.
42535         (ctanh_upward_test_data): Likewise.
42536         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42537         mpc_c_c.
42538         (func_calc_desc): Add mpc_c_c union field.
42539         (FUNC_mpc_c_c): New macro.
42540         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42541         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42542         ctanh.
42543         (special_fill_min_subnorm_p120): New function.
42544         (special_real_inputs): Add min_subnorm_p120.
42545         (calc_generic_results): Handle mpc_c_c.
42546         * sysdeps/i386/fpu/libm-test-ulps: Update.
42547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42549 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42551         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42552         (do_sin_slow): New functions.
42553         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42554         (cslow2, csloww1, csloww2): Use the new functions.
42556         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42557         Use M to change sign of result instead of X.  Assume X is
42558         positive.
42559         (csloww1): Likewise.
42560         (__sin): Adjust.
42561         (__cos): Adjust.
42563         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42564         arguments A and DA.
42565         (__sin): Adjust.
42566         (__cos): Likewise.
42568         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42569         (__cos): Likewise.
42570         (sloww1): Don't adjust sign of DX.
42571         (csloww1): Likewise.
42572         (sloww2): Use X directly and don't adjust sign of DX.
42573         (csloww2): Likewise.
42575 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42577         * math/auto-libm-test-in: Add tests of cabs and carg.
42578         * math/auto-libm-test-out: Regenerated.
42579         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42580         (carg_test_data): Likewise.
42581         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42582         mpc_c_f.
42583         (func_calc_desc): Add mpc_c_f union field.
42584         (test_functions): Add cabs and carg.
42585         (calc_generic_results): Handle mpc_c_f.
42587         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42588         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42589         as a macro and a compat symbol.
42590         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42591         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42592         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42593         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42594         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42595         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42596         not use .hidden.
42597         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42598         Likewise.
42599         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42600         Likewise.
42601         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42602         Likewise.
42603         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42604         Likewise.
42605         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42606         Likewise.
42607         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42608         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42609         from GLIBC_2.3.2.
42611 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42615 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42617         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42618         trailing whitespace removed.
42619         * scripts/config.guess: Update to version 2013-11-29.
42620         * scripts/config.sub: Update to version 2013-10-01.
42622         * math/auto-libm-test-in: Add tests of sincos.
42623         * math/auto-libm-test-out: Regenerated.
42624         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42625         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42626         mpfr_f_11.
42627         (func_calc_desc): Add mpfr_f_11 union field.
42628         (test_functions): Add sincos.
42629         (calc_generic_results): Handle mpfr_f_11.
42630         * sysdeps/i386/fpu/libm-test-ulps: Update.
42631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42633 2013-12-19  Andreas Schwab  <schwab@suse.de>
42635         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42636         CALL_MCOUNT.
42637         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42638         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42639         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42641 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42643         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42644         * sysdeps/i386/fpu/libm-test-ulps: Update.
42645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42647         [BZ #16293]
42648         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42649         round-to-nearest mode when using frndint.
42650         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42651         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42652         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42653         Likewise.
42654         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42655         sinh test to fail.
42656         * math/auto-libm-test-out: Regenerated.
42657         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42658         (TEST_COND_x86): Likewise.
42659         (expm1_tonearest_test_data): New array.
42660         (expm1_test_tonearest): New function.
42661         (expm1_towardzero_test_data): New array.
42662         (expm1_test_towardzero): New function.
42663         (expm1_downward_test_data): New array.
42664         (expm1_test_downward): New function.
42665         (expm1_upward_test_data): New array.
42666         (expm1_test_upward): New function.
42667         (main): Run the new test functions.
42668         * sysdeps/i386/fpu/libm-test-ulps: Update.
42669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42671         * include/features.h: Update comment documenting feature test
42672         macros.  Mention _DEFAULT_SOURCE in comment.
42673         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42674         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42675         _BSD_SOURCE and _SVID_SOURCE.
42676         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42677         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42678         !_SVID_SOURCE]: Likewise.
42679         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42680         (__USE_POSIX_IMPLICITLY): Define.
42681         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42682         (_POSIX_SOURCE): Undefine and redefine.
42683         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42684         (_POSIX_C_SOURCE): Likewise.
42685         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42686         (Feature Test Macros): Update documentation of default features.
42688 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42690         * benchtests/Makefile: Add bench-strtok.
42691         * benchtests/bench-strtok.c: New file: strtok benchtest.
42693 2013-12-19  Allan McRae  <allan@archlinux.org>
42695         * manual/install.texi: Suppress menu for plain text output.
42696         * INSTALL: Regenerated.
42698 2013-12-18  Brooks Moses  <bmoses@google.com>
42700         [BZ #15846]
42701         * misc/getauxval.c: Include errno.h.
42702         (__getauxval): Set errno to ENOENT if the requested type is not
42703         found.
42704         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42705         don't declare with __attribute_const__.
42706         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42707         * manual/startup.texi: Document that getauxval sets errno.
42709 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42711         * math/auto-libm-test-in: Add tests of jn and yn.
42712         * math/auto-libm-test-out: Regenerated.
42713         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42714         (yn_test_data): Likewise.
42715         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42716         mpfr_if_f.
42717         (func_calc_desc): Add mpfr_if_f union field.
42718         (FUNC_mpfr_if_f): New macro.
42719         (test_functions): Add jn and yn.
42720         (calc_generic_results): Assert type of second input for
42721         mpfr_ff_f.  Handle mpfr_if_f.
42722         (output_for_one_input_case): Disable all checking for arguments
42723         fitting floating-point types in case of an integer argument.
42724         * sysdeps/i386/fpu/libm-test-ulps: Update.
42725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42728         Don't expect fegetround reference in libm.so.
42730 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42732         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42733         $(config-cflags-nofma).
42735 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42737         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42738         * math/auto-libm-test-out: Regenerated.
42740         [BZ #16338]
42741         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42742         to determine exponent and adjust argument to have exponent of -1.
42743         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42744         log2.
42745         * math/auto-libm-test-out: Regenerated.
42746         * sysdeps/i386/fpu/libm-test-ulps: Update.
42747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42749 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42751         * manual/probes.texi: Remove cases when per-thread arenas are
42752         disabled.
42754 2013-12-18  Andreas Schwab  <schwab@suse.de>
42756         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42757         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42758         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42759         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42760         * sysdeps/i386/i686/multiarch/Makefile: Update.
42761         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42763 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42765         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42766         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42768 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42770         [BZ #15968]
42771         Support TZ transition times < 00:00:00.
42772         This is needed for version-3 tz-format files; it supports time
42773         stamps past 2037 for America/Godthab (the only entry in the tz
42774         database for which this change is relevant).
42775         * manual/time.texi (TZ Variable): Document transition times
42776         from -167:59:59 through -00:00:01.
42777         * time/tzset.c (tz_rule): Time of day is now signed.
42778         (__tzset_parse_tz): Parse negative time of day.
42780         Document TZ transition times >= 25:00:00.
42781         * manual/time.texi (TZ Variable): Document transition times from
42782         25:00:00 through 167:59:59.  These are already supported, and this
42783         support will help with version-3 tz-format files.
42785         * manual/time.texi (TZ Variable): Modernize North America example
42786         to reflect current (i.e., 2007-and-later) daylight saving rules.
42788         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42790 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42792         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42793         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42794         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42795         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42796         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42797         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42798         * sysdeps/unix/bsd/clock.c: Likewise.
42799         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42800         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42801         * sysdeps/unix/bsd/init-posix.c: Likewise.
42802         * sysdeps/unix/bsd/poll.c: Likewise.
42803         * sysdeps/unix/bsd/ptsname.c: Likewise.
42804         * sysdeps/unix/bsd/seekdir.c: Likewise.
42805         * sysdeps/unix/bsd/setegid.c: Likewise.
42806         * sysdeps/unix/bsd/seteuid.c: Likewise.
42807         * sysdeps/unix/bsd/setgid.c: Likewise.
42808         * sysdeps/unix/bsd/setrgid.c: Likewise.
42809         * sysdeps/unix/bsd/setruid.c: Likewise.
42810         * sysdeps/unix/bsd/setsid.c: Likewise.
42811         * sysdeps/unix/bsd/setuid.c: Likewise.
42812         * sysdeps/unix/bsd/sigaction.c: Likewise.
42813         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42814         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42815         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42816         * sysdeps/unix/bsd/telldir.c: Likewise.
42817         * sysdeps/unix/bsd/times.c: Likewise.
42818         * sysdeps/unix/bsd/usleep.c: Likewise.
42820         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42821         ($(objpfx)libbsd-compat.a): Remove rule.
42823         * include/features.h (__FAVOR_BSD): Do not define.
42824         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42825         features conflicting with POSIX.
42826         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42827         (_BSD_SOURCE): Remove description of not being a subset of other
42828         feature test macros.
42829         * manual/job.texi (getpgrp): Do not document BSD version.
42830         (getpgid): Do not document by reference to BSD getpgrp.
42831         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42832         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42833         * signal/signal.h [__FAVOR_BSD]: Likewise.
42834         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42835         instead of making contents conditional on [__FAVOR_BSD].
42836         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42838 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42842 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42844         [BZ #16314]
42845         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42846         values below 2**-450, not 2**-500.
42847         * math/auto-libm-test-in: Don't allow spurious underflow from
42848         hypot.
42849         * math/auto-libm-test-out: Regenerated.
42851         [BZ #16316]
42852         [BZ #16330]
42853         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42854         values of ha and hb and sort them after adjusting subnormal
42855         arguments.
42856         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42857         Likewise.
42858         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42859         values of ea and eb and sort them after adjusting subnormal
42860         arguments.
42861         * math/auto-libm-test-in: Do not expect some hypot tests of
42862         subnormals to fail.  Add more hypot tests.
42863         * math/auto-libm-test-out: Regenerated.
42865 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42867         [BZ #13304]
42868         * sysdeps/sh/s_fma.c: New file.
42869         * sysdeps/sh/s_fmaf.c: New file.
42870         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42871         version.
42872         * sysdeps/sh/Implies: Add sh/soft-fp.
42874 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42876         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42877         level of indirection to members `objname', `errstring', `malloced'.
42878         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42879         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42880         it as the __longjmp argument (just pass 1 instead).
42881         (_dl_catch_error): Initialize C with argument pointers and address of
42882         volatile local ERRCODE rather than copying values out of C at return.
42884 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42886         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42887         * math/auto-libm-test-out: Regenerated.
42888         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42889         (hypot_test_data): Likewise.
42890         (pow_test_data): Likewise.
42891         (pow_tonearest_test_data): Likewise.
42892         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42893         mpfr_ff_f.
42894         (func_calc_desc): Add mpfr_ff_f union field.
42895         (FUNC_mpfr_ff_f): New macro.
42896         (test_functions): Add atan2, hypot and pow.
42897         (special_fill_min): New function.
42898         (special_fill_minus_min): Likewise.
42899         (special_fill_min_subnorm): Likewise.
42900         (special_fill_minus_min_subnorm): Likewise.
42901         (special_real_inputs): Add min, -min, min_subnorm and
42902         -min_subnorm.
42903         (calc_generic_results): Handle mpfr_ff_f.
42904         * sysdeps/i386/fpu/libm-test-ulps: Update.
42905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42907 2013-12-16  Will Newton  <will.newton@linaro.org>
42909         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42910         (Aligned Memory Blocks): Add documentation for aligned_alloc
42911         and suggest it as an alternative to posix_memalign.
42912         (Hooks for Malloc): Document __memalign_hook is also called
42913         for aligned_alloc.  (Summary of Malloc): Add summary for
42914         aligned alloc.  Document __memalign_hook is also called
42915         for aligned_alloc.
42917 2013-12-16  Will Newton  <will.newton@linaro.org>
42919         * manual/memory.texi (Malloc Examples): Clarify default
42920         alignment documentation.  Suggest posix_memalign rather
42921         than memalign or valloc.
42922         (Aligned Memory Blocks): Remove suggestion to use memalign
42923         or valloc.  Remove obsolete comment about BSD.
42924         Document memalign errno values and mark the function obsolete.
42925         Document posix_memalign returned error codes.  Mark valloc
42926         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42927         called for posix_memalign and valloc.
42928         (Summary of Malloc): Add posix_memalign to function summary.
42929         __memalign_hook is also called for posix_memalign and valloc.
42931 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42933         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42934         TAYLOR_SIN.
42935         (__sin): Adjust.
42936         (__cos): Likewise.
42937         (sloww): Use mynumber union.  Expand ternary operator into
42938         if-else statements.
42939         (cslow): use mynumber union.
42941 2013-12-16  Allan McRae  <allan@archlinux.org>
42943         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42944         * configure: Regenerated.
42946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42948         [BZ #14120]
42949         * configure.ac: Added --enable-maintainer-mode. Check for
42950         autoconf when enabled.
42951         * configure: Regenerated.
42953         * nscd/nscd.service: New file.
42954         * nscd/nscd.tmpfiles: New file.
42956 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42958         [BZ #12100]
42959         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42960         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42961         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42962         (strstr): Add __strstr_sse2_unaligned ifunc.
42963         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42964         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42965         (strcasestr): Remove __strcasestr_sse42 ifunc.
42966         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42967         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42970 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42972         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42973         * sysdeps/sh/bits/fenv.h: ... here.
42974         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42976 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42978         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42980         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42981         hypotf multiarch implementations.
42982         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42983         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42984         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42985         multiarch hypot for PPC64.
42986         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42987         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42988         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42989         multiarch hypotf for PPC64.
42991         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42992         modff multiarch implementations.
42993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42996         multiarch modf for PPC64.
42997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43000         multiarch modff for PPC64.
43002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43003         and logl multiarch implementations.
43004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43007         multiarch logb for PPC64.
43008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43011         multiarch logb for PPC64.
43012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43015         multiarch logb for PPC64.
43017         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43018         isinff multiarch implementation.
43019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43020         file.
43021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43023         multiarch isinf for PPC64.
43024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43025         file.
43026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43027         multiarch isinff for PPC64.
43029         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43030         finitef multiarch implementation.
43031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43032         file.
43033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43035         multiarch finite for PPC64.
43036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43037         file.
43038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43039         multiarch finitef for PPC64.
43041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43042         lrint multiarch implementation.
43043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43044         file.
43045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43047         multiarch llrint for PPC64.
43048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43049         multiarch lrint for PPC64.
43051         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43052         copysignf multiarch implementation.
43053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43054         file.
43055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43056         file.
43057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43058         multiarch copysign for PPC64.
43059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43060         multiarch copysignf for PPC64.
43062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43063         multiarch implementation.
43064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43065         file.
43066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43067         file.
43068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43069         file.
43070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43071         file.
43072         multiarch llround for PPC64.
43073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43074         multiarch trunc for PPC64.
43075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43076         multiarch truncf for PPC64.
43078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43079         multiarch implementation.
43080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43081         file.
43082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43083         file.
43084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43085         file.
43086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43087         file.
43088         multiarch llround for PPC64.
43089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43090         multiarch round for PPC64.
43091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43092         multiarch roundf for PPC64.
43094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43095         multiarch implementation.
43096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43097         file.
43098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43099         file.
43100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43101         file.
43102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43103         file.
43104         multiarch llround for PPC64.
43105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43106         multiarch floor for PPC64.
43107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43108         multiarch floorf for PPC64.
43110         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43111         multiarch implementation.
43112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43113         file.
43114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43115         file.
43116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43117         file.
43118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43119         file.
43120         multiarch llround for PPC64.
43121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43122         multiarch ceil for PPC64.
43123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43124         multiarch ceilf for PPC64.
43126         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43127         multiarch implementation.
43128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43129         file.
43130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43131         file.
43132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43133         file.
43134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43135         multiarch llround for PPC64.
43136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43137         multiarch lround for PPC64.
43139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43140         multiarch implementation.
43141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43144         file.
43145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43148         multiarch isnan for PPC64.
43149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43150         multiarch isnanf for PPC64.
43152         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43153         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43154         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43155         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43156         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43159         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43160         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43161         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43162         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43165         multiarch implementations.
43166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43167         (__libc_ifunc_impl_list): Likewise.
43168         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43169         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43170         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43171         multiarch stpcpy for PPC64.
43173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43174         multiarch implementations.
43175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43176         (__libc_ifunc_impl_list): Likewise.
43177         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43178         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43179         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43180         multiarch strcpy for PPC64.
43182         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43183         redefine function name.
43184         (_wordcopy_fwd_dest_aligned): Likewise.
43185         (_wordcopy_bwd_aligned): Likewise.
43186         (_wordcopy_bwd_dest_aligned): Likewise.
43187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43188         multiarch implementations.
43189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43190         (__libc_ifunc_impl_list): Likewise.
43191         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43192         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43193         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43194         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43195         multiarch wcscpy for PPC64.
43197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43198         multiarch implementations.
43199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43200         (__libc_ifunc_impl_list): Likewise.
43201         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43202         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43203         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43204         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43205         multiarch wcscpy for PPC64.
43207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43208         multiarch implementations.
43209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43210         (__libc_ifunc_impl_list): Likewise.
43211         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43212         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43213         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43214         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43215         multiarch wcsrchr for PPC64.
43217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43218         multiarch implementations.
43219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43220         (__libc_ifunc_impl_list): Likewise.
43221         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43222         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43223         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43224         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43225         multiarch wcschr for PPC64.
43227         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43228         multiarch implementations.
43229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43230         (__libc_ifunc_impl_list): Likewise.
43231         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43232         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43233         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43234         multiarch strchrnul for PPC64.
43236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43237         implementations.
43238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43239         (__libc_ifunc_impl_list): Likewise.
43240         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43241         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43242         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43243         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43244         strchr for PPC64.
43246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43247         implementations.
43248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43249         (__libc_ifunc_impl_list): Likewise.
43250         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43251         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43252         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43253         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43254         strncmp for PPC64.
43256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43257         multiarch implementations.
43258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43259         (__libc_ifunc_impl_list): Likewise.
43260         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43261         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43262         strncasecmp for PPC64.
43263         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43264         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43265         multiarch strncasecmp_l for PPC64.
43267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43268         multiarch implementations.
43269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43270         (__libc_ifunc_impl_list): Likewise.
43271         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43272         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43273         multiarch strcasecmp for PPC64.
43274         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43275         file.
43276         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43277         multiarch strcasecmp_l for PPC64.
43279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43280         implementations.
43281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43282         (__libc_ifunc_impl_list): Likewise.
43283         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43284         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43285         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43286         strnlen for PPC64.
43288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43289         implementations.
43290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43291         (__libc_ifunc_impl_list): Likewise.
43292         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43293         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43294         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43295         strlen for PPC64.
43297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43298         implementations.
43299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43300         (__libc_ifunc_impl_list): Likewise.
43301         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43302         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43303         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43304         rawmemrchr for PPC64.
43306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43307         implementation.
43308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43309         (__libc_ifunc_impl_list): Likewise.
43310         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43311         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43312         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43313         memrchr for PPC64.
43315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43316         implementation.
43317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43318         (__libc_ifunc_impl_list): Likewise.
43319         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43320         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43321         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43322         memchr for PPC64.
43324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43325         implementation.
43326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43327         (__libc_ifunc_impl_list): Likewise.
43328         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43329         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43330         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43331         mempcpy for PPC64.
43333         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43334         avoid cretion of __bzero symbol.
43335         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43336         Likewise.
43337         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43338         Likewise.
43339         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43340         Likewise.
43341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43342         multiarch implementations.
43343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43344         (__libc_ifunc_impl_list): Likewise.
43345         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43346         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43347         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43348         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43349         bzero for PPC32.
43350         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43351         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43352         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43353         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43354         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43355         memset for PPC64.
43356         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43358         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43360         implementations.
43361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43362         (__libc_ifunc_impl_list): Likewise.
43363         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43364         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43365         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43366         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43367         memcmp for PPC64.
43369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43370         multiarch for POWER/PPC64.
43371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43372         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43373         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43374         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43375         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43376         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43377         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43378         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43379         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43380         memcpy for PPC64.
43382         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43383         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43384         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43385         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43386         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43387         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43388         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43389         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43390         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43391         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43392         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43393         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43394         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43395         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43396         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43405 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43407         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43409 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43411         * benchtests/Makefile (bench): Add exp2 and log2.
43412         (LDLIBS-bench-exp2): Add -lm.
43413         (LDLIBS-bench-log2): Likewise.
43414         * benchtests/exp2-inputs: New inputs file.
43415         * benchtests/log2-inputs: New inputs file.
43416         * benchtests/log-inputs: Add new inputs.
43417         * benchtests/tan-inputs: Likewise.
43419 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43421         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43422         definition...
43423         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43424         (csloww2): ... from here.
43426         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43427         instead of structures.
43428         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43429         (POLYNOMIAL): Likewise.
43430         (TAYLOR_SLOW): Likewise.
43431         (__sin): Likewise.
43432         (__cos): Likewise.
43433         (slow1): Likewise.
43434         (slow2): Likewise.
43435         (sloww): Likewise.
43436         (sloww1); Likewise.
43437         (sloww2): Likewise.
43438         (bsloww1): Likewise.
43439         (bsloww2): Likewise.
43440         (cslow2): Likewise.
43441         (csloww): Likewise.
43442         (csloww1): Likewise.
43443         (csloww2): Likewise.
43445 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43447         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43448         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43449         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43450         * malloc/hooks.c (realloc_check): Likewise.
43452         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43453         * malloc/arena.c: Remove PER_THREAD conditional.
43454         [!PER_THREAD]: Remove code.
43455         (ptmalloc_unlock_all2): Likewise.
43456         (ptmalloc_init): Likewise.
43457         (_int_new_arena): Likewise.
43458         (arena_get2): Likewise.
43459         * malloc/hooks.c (__malloc_get_state): Likewise.
43460         (__malloc_set_state): Likewise.
43461         * malloc/malloc.c: Likewise.
43462         (struct malloc_state): Likewise.
43463         (struct malloc_par): Likewise.
43464         (__libc_realloc): Likewise.
43465         (__libc_mallopt): Likewise.
43467 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43469         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43471 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43473         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43474         macro to a function.  Check for zero perturb_byte.
43475         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43477         * malloc/malloc.c: (force_reg): Remove.
43478         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43479         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43480         force_reg by atomic_forced_read.
43481         * malloc/arena.c (ptmalloc_init): Likewise.
43482         * malloc/hooks.c (top_check): Likewise.
43484 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43488 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43492 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43494         * math/auto-libm-test-in: Add tests of lgamma.
43495         * math/auto-libm-test-out: Regenerated.
43496         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43497         (M_LOG_2_SQRT_PIl): Likewise.
43498         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43499         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43500         mpfr_f_f1.
43501         (func_calc_desc): Add mpfr_f_f1 union field.
43502         (ARGS1): New macro.
43503         (ARGS2): Likewise.
43504         (ARGS3): Likewise.
43505         (ARGS4): Likewise.
43506         (RET1): Likewise.
43507         (RET2): Likewise.
43508         (CALC): Likewise.
43509         (FUNC): Likewise.
43510         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43511         (test_functions): Add lgamma.
43512         (calc_generic_results): Handle mpfr_f_f1.
43513         * sysdeps/i386/fpu/libm-test-ulps: Update.
43514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43516 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43518         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43519         __mpn_add_n for PowerPC64/POWER7.
43520         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43521         __mpn_sub_n for PowerPC64/POWER7.
43523         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43524         __mpn_addmul_1 for PowerPC64.
43525         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43526         __mpn_submul_1 for PowerPC64.
43527         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43528         for PowerPC64.
43529         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43530         for PowerPC64.
43532 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43534         [BZ #15089]
43535         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43537 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43539         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43541         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43542         add multiarch folders.
43543         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43544         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43545         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43546         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43547         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43548         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43549         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43550         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43551         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43552         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43553         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43562         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43564         New file.
43565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43566         New file.
43567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43568         multiarch __ieee754_hypot for PowerPC32.
43569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43570         New file.
43571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43572         New file.
43573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43574         multiarch __ieee754_hypotf for PowerPC32.
43576         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43577         long_double_symbol only if __logbl is defined.
43578         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43579         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43580         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43581         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43582         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43583         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43584         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43585         path for implementation.
43586         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43587         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43589         logb, and logbl multiarch implementations for PowerPC32.
43590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43591         file.
43592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43593         file.
43594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43595         multiarch logb for PowerPC32.
43596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43597         file.
43598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43599         file.
43600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43601         multiarch logbf for PowerPC32.
43602         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43604         file.
43605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43606         multiarch logbl implementation for PowerPC32.
43608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43609         and modff multiarch implementations.
43610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43611         New file.
43612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43613         New file.
43614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43615         multiarch modf for PowerPC32.
43616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43617         New file.
43618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43619         New file.
43620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43621         multiarch modff for PowerPC32.
43623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43624         and lrintf multiarch implementations.
43625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43626         New file.
43627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43628         New file.
43629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43630         multiarch lrint for PowerPC32.
43631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43632         file: multiarch lrintf for PowerPC32.
43634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43635         and lroundf multiarch implementations.
43636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43637         New file.
43638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43639         New file.
43640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43641         New file.
43642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43643         multiarch lround for PowerPC32.
43644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43645         file: multiarch lroundf for PowerPC32.
43647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43648         copysign and copysignf multiarch implementations.
43649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43650         New file.
43651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43652         New file.
43653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43654         file: multiarch copysign for PowerPC32.
43655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43656         file: multiarch copysignf for PowerPC32.
43658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43659         and truncf multiarch implementations.
43660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43661         New file.
43662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43663         file.
43664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43665         multiarch trunc for PowerPC32.
43666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43667         New file.
43668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43669         New file.
43670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43671         multiarch truncf for PowerPC32.
43673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43674         and roundf multiarch implementations.
43675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43676         New file.
43677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43678         file.
43679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43680         multiarch round for PowerPC32.
43681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43682         New file.
43683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43684         New file.
43685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43686         multiarch roundf for PowerPC32.
43688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43689         and floorf multiarch implementations.
43690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43691         New file.
43692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43693         file.
43694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43695         multiarch floor for PowerPC32.
43696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43697         New file.
43698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43699         New file.
43700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43701         multiarch floorf for PowerPC32.
43703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43704         and ceilf multiarch implementations.
43705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43706         New file.
43707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43708         file.
43709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43710         multiarch ceil for PowerPC32.
43711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43712         New file.
43713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43714         file.
43715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43716         multiarch ceilf for PowerPC32.
43718         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43719         is defined.
43720         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43721         FINITEF is defined.
43722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43723         and finitef multiarch implementations.
43724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43725         New file.
43726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43727         file.
43728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43729         multiarch finite for PowerPC32.
43730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43731         New file.
43732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43733         file: multiarch finitef for PowerPC32.
43735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43736         and isinff multiarch implementations.
43737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43738         file.
43739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43740         file.
43741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43742         multiarch isinf for PowerPC32.
43743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43744         New file.
43745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43746         multiarch isinff for PowerPC32.
43748         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43749         alias when __isnan is defined.
43750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43751         and isnanf multiarch implementations.
43752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43753         file.
43754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43755         file.
43756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43757         file.
43758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43759         file.
43760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43761         multiarch isnan for PowerPC32.
43762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43763         New file.
43764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43765         New file.
43766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43767         multiarch isnanf for PowerPC32.
43769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43770         and sqrtf multiarch implementations.
43771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43772         file.
43773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43774         file.
43775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43776         multiarch sqrt for PowerPC32.
43777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43778         file.
43779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43780         file.
43781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43782         multiarch sqrtf for PowerPC32.
43784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43785         and llroundf multiarch implementations.
43786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43787         New file.
43788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43789         New file.
43790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43791         New file.
43792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43793         file: multiarch llround for PowerPC32.
43794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43795         file: multiarch llroundf for PowerPC32.
43797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43798         multiarch PowerPC32 fpu implementations.
43799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43800         New file.
43801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43802         New file.
43803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43804         multiarch llrint for PowerPC32.
43805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43806         New file.
43807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43808         New file.
43809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43810         file.
43812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43814         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43815         file.
43816         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43817         file.
43818         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43819         file.
43820         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43821         multiarch wordcopy for PPC32.
43822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43823         wordcopy objects.
43824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43825         (__libc_ifunc_impl_list): Likewise.
43826         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43827         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43828         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43829         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43830         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43831         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43833         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43835         file.
43836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43837         file.
43838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43839         file.
43840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43841         multiarch wcscpy for PPC32.
43842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43843         multiarch objects.
43844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43845         (__libc_ifunc_impl_list): Likewise.
43846         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43847         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43848         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43849         sysdeps/powerpc/power6/wcscpy.c.
43851         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43852         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43853         file.
43854         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43855         file.
43856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43857         file.
43858         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43859         multiarch wcsrchr for PPC32.
43860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43861         multiarch objects.
43862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43863         (__libc_ifunc_impl_list): Likewise.
43864         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43865         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43866         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43867         sysdeps/powerpc/power6/wcsrchr.c.
43869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43870         file.
43871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43872         file.
43873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43874         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43875         multiarch wcschr for PPc32.
43876         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43877         multiarch objects.
43878         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43879         (__libc_ifunc_impl_list): Likewise.
43880         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43881         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43882         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43883         sysdeps/powerpc/power6/wcschr.c.
43885         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43886         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43887         file.
43888         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43889         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43890         file: multiarch strchr for PPC32.
43891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43892         multiarch objects.
43893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43894         (__libc_ifunc_impl_list): Likewise.
43896         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43897         name.
43898         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43899         file.
43900         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43901         file.
43902         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43903         multiarch strchrnul for PPC32.
43904         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43905         multiarch objects.
43906         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43907         (__libc_ifunc_impl_list): Likewise.
43909         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43910         file.
43911         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43912         multiarch strncasecmp for PPC32.
43913         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43914         file.
43915         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43916         multiarch strncasecmp_l for PPC32.
43917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43918         strncasecmp multiarch objects.
43919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43920         (__libc_ifunc_impl_list): Likewise.
43922         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43923         file.
43924         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43925         multiarch strncasecmp for PPC32.
43926         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43927         New file.
43928         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43929         multiarch strcasecmp_l for PPC32.
43930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43931         multiarch objects.
43932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43933         (__libc_ifunc_impl_list): Likewise.
43935         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43936         file.
43937         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43938         file.
43939         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43940         multiarch strncmp for PPC32.
43941         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43942         multiarch objects.
43943         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43944         (__libc_ifunc_impl_list): Likewise.
43946         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43947         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43948         file.
43949         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43950         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43952         multiarch objects.
43953         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43954         (__libc_ifunc_impl_list): Likewise.
43956         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43957         file.
43958         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43959         file.
43960         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43961         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43962         multiarch objects.
43963         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43964         (__libc_ifunc_impl_list): Likewise.
43966         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43967         file.
43968         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43969         file.
43970         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43971         multiarch rawmemchr for PPC32.
43972         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43973         multiarch objects.
43974         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43975         (__libc_ifunc_impl_list): Likewise.
43977         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43978         file.
43979         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43980         file.
43981         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43982         file: memrchr multiarch for PPC32.
43983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43984         multiarch objects.
43985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43986         (__libc_ifunc_impl_list): Likewise.
43988         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43989         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43990         file.
43991         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43992         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43993         multiarch memchr for PPC32.
43994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43995         multiarch objects.
43996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43997         (__libc_ifunc_impl_list): Likewise.
43999         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44000         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44001         file.
44002         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44003         file.
44004         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44005         file: multiarch mempcpy for PPC32.
44006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44007         multiarch objects.
44008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44009         (__libc_ifunc_impl_list): Likewise.
44011         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44012         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44013         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44014         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44015         multiarch bzero for PPC32.
44016         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44017         file.
44018         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44019         file.
44020         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44021         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44022         file: multiarch memset for PPC32.
44023         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44025         memset multiarch objects.
44026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44027         (__libc_ifunc_impl_list): Likewise.
44029         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44030         file.
44031         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44032         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44033         memcmp for PPC32.
44034         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44036         multiarch objects.
44037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44038         (__libc_ifunc_impl_list): Likewise.
44040         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44041         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44042         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44043         file.
44044         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44045         file.
44046         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44047         file.
44048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44049         multiarch memcpy for PPC32.
44050         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44051         multiarch objects.
44052         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44053         (__libc_ifunc_impl_list): Likewise.
44055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44056         support multiarch for POWER/PPC32.
44057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44058         Likewise.
44059         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44061         Implies file to make multiarch folder appers before the fpu and
44062         default folder for power4 configuration.
44064 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44066         * scripts/bench.pl: Append volatile keyword to type.
44068 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44070         * sysdeps/sh/sotruss-lib.c: New file.
44071         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44073 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44077 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44079         [BZ #6810]
44080         * math/w_tgamma.c: Include <errno.h>.
44081         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44082         * math/w_tgammaf.c: Include <errno.h>.
44083         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44084         * math/w_tgammal.c: Include <errno.h>.
44085         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44086         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44087         underflow.  Add more tgamma tests.
44088         * math/auto-libm-test-out: Regenerated.
44089         * sysdeps/i386/fpu/libm-test-ulps: Update.
44090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44092         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44093         sin, sinh, tan, tanh, tgamma, y0 and y1.
44094         * math/auto-libm-test-out: Regenerated.
44095         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44096         (TEST_COND_x86): Likewise.
44097         (M_E2l): Remove macro.
44098         (M_E3l): Likewise.
44099         (M_2_SQRT_PIl): Likewise.
44100         (M_SQRT_PIl): Likewise.
44101         (M_1_DIV_El): Likewise.
44102         (log_test_data): Use AUTO_TESTS_f_f.
44103         (log10_test_data): Likewise.
44104         (log1p_test_data): Likewise.
44105         (log2_test_data): Likewise.
44106         (sin_test_data): Likewise.
44107         (sin_tonearest_test_data): Likewise.
44108         (sin_towardzero_test_data): Likewise.
44109         (sin_downward_test_data): Likewise.
44110         (sin_upward_test_data): Likewise.
44111         (sinh_test_data): Likewise.
44112         (sinh_tonearest_test_data): Likewise.
44113         (sinh_towardzero_test_data): Likewise.
44114         (sinh_downward_test_data): Likewise.
44115         (sinh_upward_test_data): Likewise.
44116         (tan_test_data): Likewise.
44117         (tan_tonearest_test_data): Likewise.
44118         (tan_towardzero_test_data): Likewise.
44119         (tan_downward_test_data): Likewise.
44120         (tan_upward_test_data): Likewise.
44121         (tanh_test_data): Likewise.
44122         (tgamma_test_data): Likewise.
44123         (y0_test_data): Likewise.
44124         (y1_test_data): Likewise.
44125         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44126         (special_real_inputs): Add pi/4.
44127         * sysdeps/i386/fpu/libm-test-ulps: Update.
44128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44130 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44132         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44133         "longjmp_target" static probes.
44134         (__longjmp): Rename to __longjmp_symbol.
44135         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44136         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44137         on which longjmp to generate.
44138         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44139         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44140         probe.
44141         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44142         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44143         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44144         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44145         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44146         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44148         __longjmp_symbol based on which __longjmp to generate.
44149         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44150         probe.
44151         (setjmp): Rename to setjmp_symbol.
44152         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44153         (_setjmp): Rename to _setjmp_symbol.
44154         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44155         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44156         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44157         which setjmp to generate.
44158         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44159         "longjmp_target" static probes.
44161 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44163         * benchtests/README: Add note about output arguments.
44164         * benchtests/bench-sincos.c: Remove file.
44165         * benchtests/sincos-inputs: New file.
44166         * scripts/bench.pl: Identify output arguments and define
44167         static variables for them.
44169         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44171         [BZ #15941]
44172         * Makefile (INSTALL): Add install-plain.texi as the primary
44173         dependency.
44174         * manual/install-plain.texi: New file.
44175         * manual/install.texi: Include node directive only for
44176         non-plaintext output.
44178 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44180         * stdlib/longlong.h: Update from GCC.
44182         [BZ #6807]
44183         [BZ #15901]
44184         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44185         * math/w_j0f.c (y0f): Likewise.
44186         * math/w_j0l.c (__y0l): Likewise.
44187         * math/w_j1.c (y1): Likewise.
44188         * math/w_j1f.c (y1f): Likewise.
44189         * math/w_j1l.c (__y1l): Likewise.
44190         * math/w_jn.c (yn): Likewise.
44191         * math/w_jnf.c (ynf): Likewise.
44192         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44193         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44194         value for Bessel function domain errors outside _SVID_ mode.
44195         Adjust sign of return value for yn (negative integer, 0).
44196         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44197         by zero in return for negative x and set sign appropriately for
44198         negative n.
44199         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44200         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44201         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44202         expectations in error cases.
44203         (y1_test_data): Likewise.
44204         (yn_test_data): Likewise.
44205         * sysdeps/i386/fpu/libm-test-ulps: Update.
44206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44208 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44210         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44211         "64" to "64-v1".  Add "64-v2".
44212         (abi-64-options): Rename to ...
44213         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44214         (abi-64-condition): Rename to ...
44215         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44216         (abi-64-ld-soname): Rename to ...
44217         (abi-64-v1-ld-soname): ... this.
44218         (abi-64-v2-options): Define.
44219         (abi-64-v2-condition): Likewise.
44220         (abi-64-v2-ld-soname): Likewise.
44221         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44222         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44227 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44228             Alan Modra  <amodra@gmail.com>
44230         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44231         New versions for use with the ELFv2 ABI.
44232         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44233         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44234         declaration.
44235         (struct La_ppc64v2_retval): Likewise.
44236         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44237         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44238         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44239         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44240         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44241         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44242         Do not save or restore CR.
44243         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44244         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44245         return values for ELFv2 ABI.  Fix location of FPR return registers.
44246         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44247         updated values for _CALL_ELF == 2.
44248         (La_regs, La_retval, int_retval): Likewise.
44250 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44252         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44253         (FRAME_MIN_SIZE_PARM): Likewise.
44254         (FRAME_BACKCHAIN): Likewise.
44255         (FRAME_CR_SAVE): Likewise.
44256         (FRAME_LR_SAVE): Likewise.
44257         (FRAME_TOC_SAVE): Likewise.
44258         (FRAME_PARM_SAVE): Likewise.
44259         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44260         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44261         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44262         (call_mcount_parm_offset): New macro.
44263         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44264         (PROF): Use symbolic stack frame offsets.
44265         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44266         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44267         Redefine in terms of FRAME_MIN_SIZE.
44268         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44269         (_dl_profile_resolve): Likewise.  Update comment.
44270         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44271         symbols stack frame offsets.
44272         (__sigsetjmp): Likewise.
44273         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44274         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44275         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44276         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44279         (FRAME_BACKCHAIN): Remove.
44280         (FRAME_CR_SAVE): Likewise.
44281         (FRAME_LR_SAVE): Likewise.
44282         (FRAME_COMPILER_DW): Likewise.
44283         (FRAME_LINKER_DW): Likewise.
44284         (FRAME_TOC_SAVE): Likewise.
44285         (FRAME_PARM_SAVE): Likewise.
44286         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44287         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44288         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44290         (CHECK_SP): Use symbolic stack frame offsets.
44291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44292         zone" instead of caller's parameter save area for temp storage.
44293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44294         Likewise.  Also, use symbolic stack frame offsets.
44295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44296         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44297         our own stack frame instead of the caller's.
44298         (__socket): Use symbolic stack frame offsets.
44300 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44301             Alan Modra  <amodra@gmail.com>
44303         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44304         Define.
44305         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44306         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44307         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44308         New function.
44309         (elf_machine_fixup_plt): Call it.
44310         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44311         reloc arguments.
44312         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44313         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44314         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44315         r2 before calling target.
44317 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44318             Alan Modra  <amodra@gmail.com>
44320         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44321         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44322         versions of macros to support ELFv2 ABI.
44323         (LOCALENTRY): New macro.
44324         (ENTRY, EALIGN): Use it.
44325         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44326         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44327         fall through into ENTRY entry point.
44328         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44329         Only define if _CALL_ELF != 2.
44331         (elf_machine_matches_host): Verify ABI version matches.
44332         (RTLD_START): Use LOCALENTRY.
44333         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44334         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44335         (PLT_ENTRY_WORDS): New macro.
44336         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44337         (elf_machine_runtime_setup): Support ELFv2 ABI.
44338         (elf_machine_fixup_plt): Likewise.
44339         (elf_machine_plt_conflict): Likewise.
44340         (resolve_ifunc): Likewise.
44341         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44342         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44343         Likewise.
44344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44345         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44347         (makecontext): Support ELFv2 ABI.
44348         * elf/elf.h (EF_PPC64_ABI): Define.
44350 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44352         * sysdeps/powerpc/powerpc64/sysdep.h
44353         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44354         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44355         (ENTRY) [ASSEMBLER]: ... but instead here ...
44356         (EALIGN) [ASSEMBLER]: ... and here.
44357         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44358         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44359         (ENTRY_2) [!ASSEMBLER]: Use it.
44360         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44361         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44362         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44363         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44364         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44366         Use PPC64_LOAD_FUNCPTR.
44368         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44370 2013-12-04  Alan Modra  <amodra@gmail.com>
44372         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44373         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44374         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44375         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44377         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44378         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44379         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44380         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44381         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44382         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44384 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44387         (__makecontext): Fix incorrect CFI when backtracing out of
44388         context created via makecontext.
44389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44390         (__setcontext): Fix incorrect CFI during switch to new context.
44391         (__novec_setcontext): Likewise.
44393 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44395         [BZ #4772]
44396         * time/strptime_l.c (__strptime_internal): Allow modifiers
44397         in strptime.
44398         * time/tst-strptime.c (day_tests): Add testcase.
44400 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44402         * scripts/bench.pl: Skip over blank lines.
44404 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44406         [BZ #926]
44407         * manual/time.texi (Calendar Time): Clarify what timezone functions
44408         use.
44410 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44414 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44416         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44417         implementation.
44418         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44419         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44420         * debug/memset_chk.c (__memset_chk): Likewise.
44421         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44422         * debug/strncpy_chk.c: Likewise.
44424 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44426         [BZ #15268]
44427         [BZ #15425]
44428         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44429         (__ieee754_exp): For possibly underflowing results, check size of
44430         result and force underflow exception if required.
44431         * math/auto-libm-test-in: Add more tests of exp.
44432         * math/auto-libm-test-out: Regenerated.
44433         * sysdeps/i386/fpu/libm-test-ulps: Update.
44434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44436         [BZ #16283]
44437         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44438         * math/w_exp2f.c (__exp2f): Likewise.
44439         * math/w_exp2l.c (__exp2l): Likewise.
44440         * math/auto-libm-test-in: Do not allow missing errno on exp2
44441         underflow.
44442         * math/auto-libm-test-out: Regenerated.
44444 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44446         [BZ #16274]
44447         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44448         handle filename validation.
44449         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44450         (do_open): Delete.
44452 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44454         [BZ #6786]
44455         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44456         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44457         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44458         <float.h>.
44459         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44460         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44461         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44462         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44463         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44464         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44465         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44466         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44467         Add more erfc tests.
44468         * math/auto-libm-test-out: Regenerated.
44469         * sysdeps/i386/fpu/libm-test-ulps: Update.
44470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44472         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44473         exp2, expm1, j0 and j1.
44474         * math/auto-libm-test-out: Regenerated.
44475         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44476         (erfc_test_data): Likewise.
44477         (exp_test_data): Likewise.
44478         (exp_tonearest_test_data): Likewise.
44479         (exp_towardzero_test_data): Likewise.
44480         (exp_downward_test_data): Likewise.
44481         (exp_upward_test_data): Likewise.
44482         (exp10_test_data): Likewise.
44483         (exp2_test_data): Likewise.
44484         (expm1_test_data): Likewise.
44485         (j0_test_data): Likewise.
44486         (j1_test_data): Likewise.
44487         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44488         (input_flag_type): Add flag_xfail_rounding.
44489         (input_flags): Add xfail-rounding.
44490         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44491         (output_for_one_input_case): Handle flag_xfail_rounding.
44492         * sysdeps/i386/fpu/libm-test-ulps: Update.
44493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44495 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44497         [BZ #16289]
44498         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44499         division by 0.
44501 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44503         [BZ #16195]
44504         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44505         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44506         (STAP_PROBE0): New macro.
44507         (STAP_PROBE1): Likewise.
44508         (STAP_PROBE2): Likewise.
44509         (STAP_PROBE3): Likewise.
44510         (STAP_PROBE4): Likewise.
44512 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44514         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44516 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44518         * benchtests/Makefile (bench): Add sqrt.
44519         (LDLIBS-bench-sqrt): New.
44520         * benchtests/sqrt-input: New.
44522 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44524         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44525         (GAIH_EAI): Likewise.
44526         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44527         (gaih_inet): Likewise.
44528         (getaddrinfo): Don't use GAIH_EAI.
44530         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44531         (struct gaih): Remove definition.
44533 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44535         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44536         Use HERRNOP directly.
44538 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44542 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44544         * math/gen-auto-libm-tests.c (test_functions): Add more
44545         single-argument functions.
44546         (special_fill_pi_2): New function.
44547         (special_fill_minus_pi_2): Likewise.
44548         (special_fill_pi_6): Likewise.
44549         (special_fill_minus_pi_6): Likewise.
44550         (special_fill_pi_3): Likewise.
44551         (special_fill_2pi_3): Likewise.
44552         (special_fill_e): Likewise.
44553         (special_fill_1_e): Likewise.
44554         (special_fill_e_minus_1): Likewise.
44555         (special_real_inputs): Add more special inputs.
44556         (output_for_one_input_case): Do not require ERANGE on underflow to
44557         zero if round-to-nearest result does not underflow to zero, unless
44558         exact results required.
44559         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44560         atan, atanh, cbrt, cos and cosh.
44561         * math/auto-libm-test-out: Regenerated.
44562         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44563         (acos_tonearest_test_data): Likewise.
44564         (acos_towardzero_test_data): Likewise.
44565         (acos_downward_test_data): Likewise.
44566         (acos_upward_test_data): Likewise.
44567         (acosh_test_data): Likewise.
44568         (asin_test_data): Likewise.
44569         (asin_tonearest_test_data): Likewise.
44570         (asin_towardzero_test_data): Likewise.
44571         (asin_upward_test_data): Likewise.
44572         (asinh_test_data): Likewise.
44573         (atan_test_data): Likewise.
44574         (atanh_test_data): Likewise.
44575         (cbrt_test_data): Likewise.
44576         (cos_test_data): Likewise.
44577         (cos_tonearest_test_data): Likewise.
44578         (cos_towardzero_test_data): Likewise.
44579         (cos_downward_test_data): Likewise.
44580         (cos_upward_test_data): Likewise.
44581         (cosh_test_data): Likewise.
44582         (cosh_tonearest_test_data): Likewise.
44583         (cosh_towardzero_test_data): Likewise.
44584         (cosh_downward_test_data): Likewise.
44585         (cosh_upward_test_data): Likewise.
44586         * sysdeps/i386/fpu/libm-test-ulps: Update.
44587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44589 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44591         [BZ #6787]
44592         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44593         * math/w_exp10f.c (__exp10f): Likewise.
44594         * math/w_exp10l.c (__exp10l): Likewise.
44595         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44596         errno settings in existing tests.
44598         [BZ #14032]
44599         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44600         precision control set to double precision.
44601         * sysdeps/i386/fpu/w_sqrt.c: New file.
44602         * math/auto-libm-test-in: Add more tests.
44603         * math/auto-libm-test-out: Update.
44605         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44606         (sqrt_test_tonearest): New function.
44607         (sqrt_towardzero_test_data): New variable.
44608         (sqrt_test_towardzero): New function.
44609         (sqrt_downward_test_data): New variable.
44610         (sqrt_test_downward): New function.
44611         (sqrt_upward_test_data): New variable.
44612         (sqrt_test_upward): New function.
44613         (main): Call the new functions.
44615         * math/gen-auto-libm-tests.c: New file.
44616         * math/auto-libm-test-in: Likewise.
44617         * math/auto-libm-test-out: New generated file.
44618         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44619         variables.
44620         (%beautify): Add generated representations of zero.
44621         (top level): Set $auto_input and call parse_auto_input.
44622         (beautify): Remove trailing "f" from hex float constants.
44623         (parse_args): Handle XFAIL_TEST.
44624         (convert_condition): New function.
44625         (or_value): Likewise.
44626         (or_cond_value): Likewise.
44627         (generate_testfile): Handle AUTO_TESTS_* lines.
44628         (parse_auto_input): New function.
44629         * math/libm-test.inc (XFAIL_TEST): New macro.
44630         (ERRNO_UNCHANGED): Update value.
44631         (ERRNO_EDOM): Likewise.
44632         (ERRNO_ERANGE): Likewise.
44633         (IGNORE_RESULT): Likewise.
44634         (TEST_COND_flt_32): New macro.
44635         (TEST_COND_dbl_64): Likewise.
44636         (TEST_COND_ldbl_96_intel): Likewise.
44637         (TEST_COND_ldbl_96_m68k): Likewise.
44638         (TEST_COND_ldbl_128): Likewise.
44639         (TEST_COND_ldbl_128ibm): Likewise.
44640         (TEST_COND_long32): Likewise.
44641         (TEST_COND_long64): Likewise.
44642         (TEST_COND_before_rounding): Likewise.
44643         (TEST_COND_after_rounding): Likewise.
44644         (enable_test): Handle XFAIL_TEST flag.
44645         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44646         with finite results.
44647         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44648         auto-libm-test-out.
44650 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44651             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44653         [BZ #16214]
44654         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44655         __tls_get_addr_internal instead of __tls_get_offset in order to
44656         avoid GOT pointer dependency.  Make rtld export
44657         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44658         __tls_get_addr since we are a __tls_get_offset platform.
44659         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44660         GOT pointer being set up before.
44661         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44663 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44665         * manual/math.texi (Errors in Math Functions): Document accuracy
44666         goals.
44668         [BZ #15004]
44669         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44670         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44671         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44672         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44673         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44674         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44675         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44676         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44677         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44678         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44679         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44680         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44681         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44682         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44683         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44684         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44686         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44687         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44688         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44689         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44690         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44691         Likewise.
44692         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44693         Likewise.
44694         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44695         Likewise.
44696         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44697         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44698         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44699         atomic-feupdateenv and flt-rounds.
44700         * sysdeps/powerpc/nofpu/Versions (libc): Add
44701         __atomic_feholdexcept, __atomic_feclearexcept,
44702         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44703         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44704         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44705         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44706         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44707         here.
44708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44709         Update.
44711         * manual/arith.texi (FP Exceptions): Document that exceptions may
44712         not be raised when matherr is used.
44713         (Math Error Reporting): Document overflow in directed rounding
44714         modes.  Document that errno may not be set when finite values are
44715         returned on overflow.  Document intent to set errno on underflow
44716         only for underflow to zero.
44718         [BZ #16271]
44719         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44720         round-to-nearest then adjust result for other rounding modes.
44721         * include/fenv.h (fegetround): Use libm_hidden_proto.
44722         * math/fegetround.c (fegetround): Use libm_hidden_def.
44723         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44724         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44725         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44726         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44727         Likewise.
44728         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44729         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44730         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44731         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44733 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44735         [BZ #16077]
44736         * nss/Versions (libnss_files): Add
44737         _nss_files_gethostbyname3_r.
44738         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44739         New function.
44740         (HOST_DB_LOOKUP): Remove macro.
44741         (_nss_files_gethostbyname_r): Implement function without the
44742         HOST_DB_LOOKUP macro.
44743         (_nss_files_gethostbyname2_r): Likewise.
44745 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44747         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44749 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44751         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44752         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44753         warning.
44755 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44757         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44758         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44759         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44760         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44761         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44762         __fe_nomask_env_priv and attribute_hidden.
44763         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44764         (libc_feupdateenv_test_ppc): Likewise.
44765         (libc_feresetround_ppc): Likewise.
44766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44767         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44768         compat_symbol macro.
44769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44770         (__fe_nomask_env): Likewise.
44771         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44773 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44775         * string/Makefile: Remove ifunc tests.
44776         * string/test-string.h: Define TEST_IFUNC.
44777         * string/test-bcopy-ifunc.c: Remove.
44778         * string/test-bzero-ifunc.c: Likewise.
44779         * string/test-memccpy-ifunc.c: Likewise.
44780         * string/test-memchr-ifunc.c: Likewise.
44781         * string/test-memcmp-ifunc.c: Likewise.
44782         * string/test-memcpy-ifunc.c: Likewise.
44783         * string/test-memmem-ifunc.c: Likewise.
44784         * string/test-memmove-ifunc.c: Likewise.
44785         * string/test-mempcpy-ifunc.c: Likewise.
44786         * string/test-memrchr-ifunc.c: Likewise.
44787         * string/test-memset-ifunc.c: Likewise.
44788         * string/test-rawmemchr-ifunc.c: Likewise.
44789         * string/test-stpcpy-ifunc.c: Likewise.
44790         * string/test-stpncpy-ifunc.c: Likewise.
44791         * string/test-strcasecmp-ifunc.c: Likewise.
44792         * string/test-strcasestr-ifunc.c: Likewise.
44793         * string/test-strcat-ifunc.c: Likewise.
44794         * string/test-strchr-ifunc.c: Likewise.
44795         * string/test-strchrnul-ifunc.c: Likewise.
44796         * string/test-strcmp-ifunc.c: Likewise.
44797         * string/test-strcpy-ifunc.c: Likewise.
44798         * string/test-strcspn-ifunc.c: Likewise.
44799         * string/test-strlen-ifunc.c: Likewise.
44800         * string/test-strncasecmp-ifunc.c: Likewise.
44801         * string/test-strncat-ifunc.c: Likewise.
44802         * string/test-strncmp-ifunc.c: Likewise.
44803         * string/test-strncpy-ifunc.c: Likewise.
44804         * string/test-strnlen-ifunc.c: Likewise.
44805         * string/test-strpbrk-ifunc.c: Likewise.
44806         * string/test-strrchr-ifunc.c: Likewise.
44807         * string/test-strspn-ifunc.c: Likewise.
44808         * string/test-strstr-ifunc.c: Likewise.
44810 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44812         * benchtests/Makefile: Remove ifunc tests.
44813         * benchtests/bench-string.h: Define TEST_IFUNC.
44814         * benchtests/bench-bcopy-ifunc.c: Remove.
44815         * benchtests/bench-bzero-ifunc.c: Likewise.
44816         * benchtests/bench-memccpy-ifunc.c: Likewise.
44817         * benchtests/bench-memchr-ifunc.c: Likewise.
44818         * benchtests/bench-memcmp-ifunc.c: Likewise.
44819         * benchtests/bench-memcpy-ifunc.c: Likewise.
44820         * benchtests/bench-memmem-ifunc.c: Likewise.
44821         * benchtests/bench-memmove-ifunc.c: Likewise.
44822         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44823         * benchtests/bench-memrchr-ifunc.c: Likewise.
44824         * benchtests/bench-memset-ifunc.c: Likewise.
44825         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44826         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44827         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44828         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44829         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44830         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44831         * benchtests/bench-strcat-ifunc.c: Likewise.
44832         * benchtests/bench-strchr-ifunc.c: Likewise.
44833         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44834         * benchtests/bench-strcmp-ifunc.c: Likewise.
44835         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44836         * benchtests/bench-strcpy-ifunc.c: Likewise.
44837         * benchtests/bench-strcspn-ifunc.c: Likewise.
44838         * benchtests/bench-strlen-ifunc.c: Likewise.
44839         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44840         * benchtests/bench-strncat-ifunc.c: Likewise.
44841         * benchtests/bench-strncmp-ifunc.c: Likewise.
44842         * benchtests/bench-strncpy-ifunc.c: Likewise.
44843         * benchtests/bench-strnlen-ifunc.c: Likewise.
44844         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44845         * benchtests/bench-strrchr-ifunc.c: Likewise.
44846         * benchtests/bench-strsep-ifunc.c: Likewise.
44847         * benchtests/bench-strspn-ifunc.c: Likewise.
44848         * benchtests/bench-strstr-ifunc.c: Likewise.
44850 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44852         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44854 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44856         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44857         * rt/aio.h: Likewise.
44858         * sysdeps/gnu/bits/utmp.h: Likewise.
44859         * sysdeps/gnu/bits/utmpx.h: Likewise.
44860         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44861         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44862         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44863         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44864         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44865         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44866         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44867         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44868         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44869         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44870         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44871         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44872         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44874         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44875         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44876         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44877         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44878         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44879         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44880         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44881         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44882         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44883         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44884         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44885         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44886         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44887         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44888         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44889         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44890         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44891         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44892         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44893         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44894         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44895         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44896         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44897         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44898         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44899         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44900         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44901         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44903 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44905         [BZ #16245]
44906         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44907         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44909 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44911         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44912         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44913         Likewise.
44915 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44917         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44918         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44919         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44920         (__fesetround): Remove define.
44921         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44922         rounding and exceptions handling.
44923         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44924         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44925         (__fe_nomask_env): Likewise.
44926         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44927         __fegetround instead of fegetround.
44928         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44929         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44931 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44933         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44934         it's there.
44936         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44938 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44940         [BZ #11157]
44941         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44942         (encrypt_r): Likewise.
44943         * malloc/obstack.h (obstack_free): Likewise.
44944         * posix/unistd.h (encrypt): Likewise.
44946 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44948         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44949         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44950         DL_CALL_DT_FINI() that call the functions directly.
44951         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44952         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44953         * elf/dl-fini.c: Likewise.
44955 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44957         * malloc/hooks.c (memalign_check): Add alignment rounding.
44958         * malloc/malloc.c (_mid_memalign): New function.
44959         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44960         Implement by calling _mid_memalign.
44961         * manual/probes.texi (Memory Allocation Probes): Remove
44962         memory_valloc_retry and memory_pvalloc_retry.
44964 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44966         * locale/programs/locarchive.c (open_archive): Add const
44967         qualifier to ARCHIVEFNAME and copy default fname to
44968         DEFAULT_FNAME.
44970         [BZ #15601]
44971         * libio/tst-widetext.input: Rename Oriya to Odia.
44972         * locale/iso-639.def: Likewise.
44974         * manual/probes.texi (Mathematical Function Probes): Add
44975         documentation for sin, cos, asin and acos probes.
44976         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44977         (__sin32): Add slowasin probe.
44978         (__cos32): Add slowacos probe.
44979         (__mpsin): Add slowsin probe.
44980         (__mpcos): Add slowcos probe.
44982 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44984         [BZ #15483]
44985         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44986         thread-local __sim_exceptions_thread and global
44987         __sim_exceptions_global.
44988         (__sim_disabled_exceptions): Change to thread-local
44989         __sim_disabled_exceptions_thread and global
44990         __sim_disabled_exceptions_global.
44991         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44992         and global __sim_round_mode_global.
44993         (__simulate_exceptions): Use thread-local floating-point state and
44994         set global state from it as needed.
44995         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44996         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44997         __sim_round_mode_thread.
44998         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44999         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45000         and global __sim_exceptions_global.
45001         (__sim_disabled_exceptions): Change to thread-local
45002         __sim_disabled_exceptions_thread and global
45003         __sim_disabled_exceptions_global.
45004         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45005         and global __sim_round_mode_global.
45006         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45007         (SIM_SET_GLOBAL): Likewise.
45008         * sysdeps/powerpc/soft-fp/sfp-machine.h
45009         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45010         __sim_round_mode_thread.
45011         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45012         __sim_disabled_exceptions_thread.
45013         (__sim_exceptions): Change to __sim_exceptions_thread.
45014         (__sim_disabled_exceptions): Change to
45015         __sim_disabled_exceptions_thread.
45016         (__sim_round_mode): Change to __sim_round_mode_thread.
45017         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45018         thread-local floating-point state and set global state from it as
45019         needed.
45020         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45021         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45022         (__sim_disabled_exceptions): Remove extern declaration.
45023         (feenableexcept): Use thread-local floating-point state and set
45024         global state from it as needed.
45025         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45026         extern declaration.
45027         (__sim_disabled_exceptions): Likewise.
45028         (__sim_round_mode): Likewise.
45029         (__fegetenv): Use thread-local floating-point state.
45030         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45031         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45032         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45033         floating-point state and set global state from it as needed.
45034         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45035         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45036         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45037         Likewise.
45038         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45039         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45040         Likewise.
45041         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45042         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45043         Use __sim_round_mode_thread.
45044         * math/test-fenv-tls.c: New file.
45045         * math/Makefile (tests): Add test-fenv-tls.
45046         ($(objpfx)test-fenv-tls): Depend on
45047         $(common-objpfx)nptl/libpthread.so.
45049 2013-11-19  Andreas Schwab  <schwab@suse.de>
45051         * locale/programs/locale.c (show_info): Decode wordarray elements.
45052         * locale/categories.def (LC_MONETARY): Add element for
45053         _NL_MONETARY_CRNCYSTR.
45054         * locale/C-monetary.c (conversion_rate): New variable.
45055         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45056         element.
45058 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45060         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45061         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45063 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45065         * elf/Makefile (tst-auxv): New test.
45066         * elf/tst-auxv.c: New
45067         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45069 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45071         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45072         (hidden_proto): Caller changed.
45073         (hidden_tls_proto): New macro.
45074         (libc_hidden_tls_proto): Likewise.
45075         (rtld_hidden_tls_proto): Likewise.
45076         (libm_hidden_tls_proto): Likewise.
45077         (libresolv_hidden_tls_proto): Likewise.
45078         (librt_hidden_tls_proto): Likewise.
45079         (libdl_hidden_tls_proto): Likewise.
45080         (libnss_files_hidden_tls_proto): Likewise.
45081         (libnsl_hidden_tls_proto): Likewise.
45082         (libnss_nisplus_hidden_tls_proto): Likewise.
45083         (libutil_hidden_tls_proto): Likewise.
45085 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45087         [BZ #10253]
45088         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45089         (decompose_rpath): Defer expansion to fillin_rpath.
45090         (_dl_init_paths): Pass linkmap to fillin_rpath.
45092 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45094         * benchtests/Makefile: Add strsep.
45095         * benchtests/bench-strsep.c: New file: strsep benchtest.
45096         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45098 2013-11-18  Andreas Schwab  <schwab@suse.de>
45100         * locale/programs/locale.c (show_info) [case byte]: Check for
45101         '\377' instead of '\177'.
45102         * locale/C-monetary.c (not_available): Always use "\377".
45103         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45104         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45105         detect unavailable sign_posn locale elements.
45106         * locale/localeconv.c (__localeconv): For grouping and
45107         mon_grouping handle "\177" and "\377" like no grouping.
45108         (INT_ELEM): New macro.  Use it to set all numeric members.
45109         * locale/programs/ld-monetary.c (monetary_read)
45110         <tok_mon_grouping>: Normalize single -1 to the empty string.
45111         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45112         Likewise.
45114 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45116         [BZ #16055]
45117         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45118         when we match (nil).
45119         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45121 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45123         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45124         (NO_TEST_INLINE): Update value.
45125         (ERRNO_UNCHANGED): Likewise.
45126         (ERRNO_EDOM): Likewise.
45127         (ERRNO_ERANGE): Likewise.
45128         (IGNORE_RESULT): Likewise.
45129         (check_float_internal): Check signs of NaN results if
45130         TEST_NAN_SIGN used.
45131         (check_complex): Pass TEST_NAN_SIGN flag through to second
45132         check_float_internal call.
45133         (copysign_test_data): Add tests with quiet NaNs as second
45134         argument.  Use TEST_NAN_SIGN.
45135         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45136         TEST_NAN_SIGN.
45137         (signbit_test_data): Add tests of quiet NaN argument.
45138         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45140         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45141         $ignore_result.
45142         (parse_args): Handle function results specified as IGNORE.
45143         * math/libm-test.inc (IGNORE_RESULT): New macro.
45144         (check_float_internal): Do not check numerical result if flag
45145         IGNORE_RESULT set.
45146         (check_complex): Pass through IGNORE_RESULT to second
45147         check_float_internal call.
45148         (check_int): Do not check numerical result if flag IGNORE_RESULT
45149         set.
45150         (check_long): Likewise.
45151         (check_bool): Likewise.
45152         (check_longlong): Likewise.
45153         (lrint_test_data): Add tests of infinite and NaN arguments.
45154         (lrint_tonearest_test_data): Likewise.
45155         (lrint_towardzero_test_data): Likewise.
45156         (lrint_downward_test_data): Likewise.
45157         (lrint_upward_test_data): Likewise.
45158         (llrint_test_data): Likewise.
45159         (llrint_tonearest_test_data): Likewise.
45160         (llrint_towardzero_test_data): Likewise.
45161         (llrint_downward_test_data): Likewise.
45162         (llrint_upward_test_data): Likewise.
45163         (lround_test_data): Likewise.
45164         (llround_test_data): Likewise.
45166         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45167         (ERRNO_UNCHANGED): Update value.
45168         (ERRNO_EDOM): Likewise.
45169         (ERRNO_ERANGE): Likewise.
45170         (NO_TEST_INLINE_FLOAT): New macro.
45171         (NO_TEST_INLINE_DOUBLE): Likewise.
45172         (enable_test): New function.
45173         (RUN_TEST_f_f): Check enable_test before running test.
45174         (RUN_TEST_2_f): Likewise.
45175         (RUN_TEST_fff_f): Likewise.
45176         (RUN_TEST_c_f): Likewise.
45177         (RUN_TEST_f_f1): Likewise.
45178         (RUN_TEST_fF_f1): Likewise.
45179         (RUN_TEST_fI_f1): Likewise.
45180         (RUN_TEST_ffI_f1): Likewise.
45181         (RUN_TEST_c_c): Likewise.
45182         (RUN_TEST_cc_c): Likewise.
45183         (RUN_TEST_f_i): Likewise.
45184         (RUN_TEST_f_i_tg): Likewise.
45185         (RUN_TEST_ff_i_tg): Likewise.
45186         (RUN_TEST_f_b): Likewise.
45187         (RUN_TEST_f_b_tg): Likewise.
45188         (RUN_TEST_f_l): Likewise.
45189         (RUN_TEST_f_L): Likewise.
45190         (RUN_TEST_fFF_11): Likewise.
45191         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45192         conditionals.
45193         (cosh_test_data): Likewise.
45194         (exp_test_data): Likewise.
45195         (expm1_test_data): Likewise.
45196         (hypot_test_data): Likewise.
45197         (pow_test_data): Likewise.
45198         (sinh_test_data): Likewise.
45199         (tanh_test_data): Likewise.
45200         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45201         flags argument.
45203         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45204         tests with quiet NaN input and output.
45205         (acosh_test_data): Likewise.
45206         (asin_test_data): Likewise.
45207         (asinh_test_data): Likewise.
45208         (atan_test_data): Likewise.
45209         (atanh_test_data): Likewise.
45210         (atan2_test_data): Likewise.
45211         (cbrt_test_data): Likewise.
45212         (cos_test_data): Likewise.
45213         (cosh_test_data): Likewise.
45214         (erf_test_data): Likewise.
45215         (erfc_test_data): Likewise.
45216         (exp_test_data): Likewise.
45217         (exp10_test_data): Likewise.
45218         (exp2_test_data): Likewise.
45219         (expm1_test_data): Likewise.
45220         (hypot_test_data): Likewise.
45221         (j0_test_data): Likewise.
45222         (j1_test_data): Likewise.
45223         (jn_test_data): Likewise.
45224         (lgamma_test_data): Likewise.
45225         (log_test_data): Likewise.
45226         (log10_test_data): Likewise.
45227         (log1p_test_data): Likewise.
45228         (log2_test_data): Likewise.
45229         (pow_test_data): Likewise.
45230         (scalb_test_data): Likewise.
45231         (sin_test_data): Likewise.
45232         (sincos_test_data): Likewise.
45233         (sinh_test_data): Likewise.
45234         (tan_test_data): Likewise.
45235         (tanh_test_data): Likewise.
45236         (tgamma_test_data): Likewise.
45237         (y0_test_data): Likewise.
45238         (y1_test_data): Likewise.
45239         (yn_test_data): Likewise.
45241         [BZ #16167]
45242         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45243         argument being NaN and avoid computations with second argument in
45244         that case.
45245         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45246         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45247         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45249 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45251         * locale/iso-639.def: Add Chitwani Tharu (the).
45253 2013-11-14  Andreas Schwab  <schwab@suse.de>
45255         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45256         word instead of empty string.
45258 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45261         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45263         (__fe_nomask_env): Likewise.
45265 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45267         * benchtests/bench-timing.h: Include time.h.
45269 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45271         [BZ #15997]
45272         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45273         to 3.4.0 for x32.
45274         * sysdeps/unix/sysv/linux/configure: Regenerated.
45276 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45278         [BZ #16151]
45279         * stdlib/strtod_l.c (round_and_return): Do not consider
45280         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45281         exponent one less than half the least subnormal exponent.
45282         * stdlib/test-strtod-round-data: Add more tests.
45283         * stdlib/tst-strtod-round.c (tests): Regenerated.
45285 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45287         [BZ #14143]
45288         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45289         (__fe_mask_env): Likewise.
45290         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45291         libm_hidden_proto and add function prototype.
45292         (__fe_mask_env): Add function prototype.
45293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45294         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45296         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45298         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45300 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45302         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45303         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45305 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45307         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45308         of htab_find_slot().
45310 2013-11-11  David S. Miller  <davem@davemloft.net>
45312         [BZ #16150]
45313         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45314         symbol in the non-vis3 case in static builds.
45315         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45316         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45317         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45318         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45320 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45322         [BZ #387]
45323         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45324         it is empty.
45326 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45328         * benchtests/Makefile: Add bench-strtod.
45329         * benchtests/bench-strtod.c: New file: strtod benchtest
45331 2013-11-11  Andreas Schwab  <schwab@suse.de>
45333         [BZ #16153]
45334         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45335         terminating NUL in key length.
45337 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45339         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45340         Add artificial ODP entry for vDSO symbol for PPC64.
45341         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45342         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45344 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45346         [BZ #15374]
45347         * nss/getent.c (services_keys): Recognize services starting with digit.
45349 2013-11-06  David S. Miller  <davem@davemloft.net>
45351         [BZ #15985]
45352         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45353         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45355 2013-11-06  Will Newton  <will.newton@linaro.org>
45357         * manual/memory.texi (Malloc Examples): Remove register
45358         keyword from examples.
45360 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45362         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45364 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45366         [BZ #6981]
45367         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45368         depending on [__GCC_IEC_559 > 0].
45369         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45370         depending on [__GCC_IEC_559_COMPLEX > 0].
45372 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45374         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45375         to iso-639.def.
45377 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45379         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45381 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45383         [BZ #16112]
45384         * malloc/malloc (malloc_info): Do not handle first bin as
45385         special case.
45387 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45389         * locale/iso-639.def: Add Central Nahuatl (nhn).
45391 2013-11-01  Bruno Haible  <bruno@clisp.org>
45393         [BZ #7003]
45394         * manual/math.texi (BSD Random): Specify range upper bound as
45395         in POSIX.
45397 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45399         * locale/iso-639.def: Add Meadow Mari (mhr).
45401 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45403         [BZ #14752], [BZ #15763]
45404         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45405         Validate name.
45406         * rt/tst_shm.c: Add test for escaping directory.
45408 2013-10-31  Andreas Schwab  <schwab@suse.de>
45410         [BZ #15917]
45411         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45412         followed by 'x' as part of digit sequence.
45413         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45415 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45417         [BZ #16037]
45418         * configure.ac: allow GNU Make 4.0 and greater.
45419         * configure: Regenerated.
45421 2013-10-30  Will Newton  <will.newton@linaro.org>
45423         [BZ #16038]
45424         * malloc/hooks.c (memalign_check): Limit alignment to the
45425         maximum representable power of two.
45426         * malloc/malloc.c (__libc_memalign): Likewise.
45427         * malloc/tst-memalign.c (do_test): Add test for very
45428         large alignment values.
45429         * malloc/tst-posix_memalign.c (do_test): Likewise.
45431 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45433         [BZ #11087]
45434         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45435         (munmap_chunk): Likewise.
45436         (mremap_chunk): Likewise.
45438 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45440         [BZ #15799]
45441         * stdlib/div.c (div): Remove obsolete code.
45442         * stdlib/ldiv.c (ldiv): Likewise.
45443         * stdlib/lldiv.c (lldiv): Likewise.
45445 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45447         [BZ #16071]
45448         * nss/nss_files/files-XXX.c (get_contents_ret): New
45449         enumerator.
45450         (get_contents): New function.
45451         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45453 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45455         * configure.in: Moved to ...
45456         * configure.ac: ... here. Change reference to configure.in
45457         to configure.ac.
45458         * sysdeps/arm/preconfigure.ac: ... here.
45459         configure.in to configure.ac.
45460         * sysdeps/gnu/configure.in: Moved to ...
45461         * sysdeps/gnu/configure.ac: ... here.
45462         * sysdeps/i386/configure.in: Moved to ...
45463         * sysdeps/i386/configure.ac: ... here.
45464         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45465         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45466         * sysdeps/mach/configure.in: Moved to ...
45467         * sysdeps/mach/configure.ac: ... here.
45468         * sysdeps/mach/hurd/configure.in: Moved to ...
45469         * sysdeps/mach/hurd/configure.ac: ... here.
45470         * sysdeps/powerpc/configure.in: Moved to ...
45471         * sysdeps/powerpc/configure.ac: ... here.
45472         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45473         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45474         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45475         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45476         * sysdeps/s390/s390-32/configure.in: Moved to ...
45477         * sysdeps/s390/s390-32/configure.ac: ... here.
45478         * sysdeps/s390/s390-64/configure.in: Moved to ...
45479         * sysdeps/s390/s390-64/configure.ac: ... here.
45480         * sysdeps/sh/configure.in: Moved to ...
45481         * sysdeps/sh/configure.ac: ... here.
45482         * sysdeps/sparc/configure.in: Moved to ...
45483         * sysdeps/sparc/configure.ac: ... here.
45484         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45485         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45486         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45487         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45488         * sysdeps/x86_64/configure.in: Moved to ...
45489         * sysdeps/x86_64/configure.ac: ... here.
45490         * sysdeps/x86_64/preconfigure.in: Moved to ...
45491         * sysdeps/x86_64/preconfigure.ac: ... here.
45492         * aclocal.m4: Change reference to configure.in to configure.ac.
45493         * config.h.in: Likewise.
45494         * manual/install.texi: Likewise.
45495         * manual/maint.texi: Likewise.
45496         * Makefile: Likewise.
45497         * malloc/Makefile: Likewise.
45498         * nscd/Makefile: Likewise.
45499         * Makeconfig: Change reference to configure.in and
45500         preconfigure.in to configure.ac and preconfigure.ac
45501         respectively.
45502         * INSTALL: Regenerated.
45503         * configure: Likewise.
45504         * sysdeps/gnu/configure: Likewise.
45505         * sysdeps/i386/configure: Likewise.
45506         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45507         * sysdeps/mach/configure: Likewise.
45508         * sysdeps/mach/hurd/configure: Likewise.
45509         * sysdeps/powerpc/configure: Likewise.
45510         * sysdeps/powerpc/powerpc32/configure: Likewise.
45511         * sysdeps/powerpc/powerpc64/configure: Likewise.
45512         * sysdeps/s390/s390-32/configure: Likewise.
45513         * sysdeps/s390/s390-64/configure: Likewise.
45514         * sysdeps/sh/configure: Likewise.
45515         * sysdeps/sparc/configure: Likewise.
45516         * sysdeps/unix/sysv/linux/configure: Likewise.
45517         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45518         * sysdeps/x86_64/configure: Likewise.
45519         * sysdeps/x86_64/preconfigure: Likewise.
45521 2013-10-29  Andreas Schwab  <schwab@suse.de>
45523         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45525 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45527         * benchtests/pow-inputs: Add new inputs.
45529         * benchtests/exp-inputs: Add new inputs.
45531         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45532         conditional check for return value.
45533         (__cos32): Likewise.
45535 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45537         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45538         to provide a boost for large inputs with word alignment.
45539         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45540         implementation based on optimized PPC64 strcpy.
45541         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45542         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45543         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45544         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45546 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45548         [BZ #2801]
45549         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45551 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45553         [BZ #14876]
45554         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45555         * time/tst-strptime.c (day_tests): Add testcase.
45557 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45559         [BZ #14029]
45560         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45562 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45564         [BZ #16074]
45565         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45566         MAP_FAILED on error.
45568 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45570         [BZ #16072]
45571         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45572         heap for large requests.
45574 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45576         [BZ #9954]
45577         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45578         result if the result has no associated interface.
45579         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45580         interface for all 127.X.Y.Z addresses.
45582 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45584         * locale/iso-639.def: Add Ligurian (lij)
45586 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45588         [BZ #15825]
45589         * sunrpc/rpc_main.c: Document rpcgen -5.
45591 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45593         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45595 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45597         [BZ #10278]
45598         * posix/glob.c: Match only directories when trailing slash is present.
45599         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45600         (main): Add testcase.
45602 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45604         [BZ #15670]
45605         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45607 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45609         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45610         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45611         AUTH_DES and cindex for FIPS 140-2.
45612         (DES Encryption): Add cindex FIPS 46-3.
45614         * locale/locarchive.h (struct locarhandle): Add fname.
45615         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45616         if an optional argument was specified to --list-archive,
45617         otherwise NULL.
45618         * locale/programs/locarchive.c (show_archive_content): Take new
45619         argument fname and pass it via ah.fname to open_archive.
45620         * locale/programs/localedef.h: Update decl.
45621         (open_archive): If AH->fname is non-null, open that file
45622         rather than the default file name, and don't ignore ENOENT.
45623         (create_archive): Set AH.fname to NULL.
45624         (delete_locales_from_archive): Likewise.
45625         (add_locales_to_archive): Likewise.
45626         * locale/programs/locfile.c (write_all_categories): Likewise.
45628 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45629             Aldy Hernandez  <aldyh@redhat.com>
45631         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45632         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45633         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45634         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45635         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45636         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45637         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45638         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45639         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45640         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45641         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45642         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45643         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45644         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45645         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45646         Likewise.
45647         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45648         Likewise.
45649         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45650         Likewise.
45651         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45652         Likewise.
45653         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45654         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45655         Likewise.
45656         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45657         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45658         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45659         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45660         Likewise.
45661         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45662         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45663         * sysdeps/powerpc/preconfigure: Likewise.
45664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45665         Likewise.
45666         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45667         Replace contents of file by #include of <fenv_libc.h>.
45668         * sysdeps/powerpc/soft-fp/sfp-machine.h
45669         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45670         and <sys/prctl.h>.
45671         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45672         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45673         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45674         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45675         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45676         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45678         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45679         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45680         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45681         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45682         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45684         Allow copysignl PLT reference to be missing.
45686 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45687             Joseph Myers  <joseph@codesourcery.com
45689         [BZ #15948]
45690         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45691         single character.
45692         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45694 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45696         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45697         * elf/tst-tls1.c: Likewise.
45698         * elf/tst-tls10.h: Likewise.
45699         * elf/tst-tls14.c: Likewise.
45700         * elf/tst-tls2.c: Likewise.
45701         * elf/tst-tls3.c: Likewise.
45702         * elf/tst-tls4.c: Likewise.
45703         * elf/tst-tls5.c: Likewise.
45704         * elf/tst-tls6.c: Likewise.
45705         * elf/tst-tls7.c: Likewise.
45706         * elf/tst-tls8.c: Likewise.
45707         * elf/tst-tls9.c: Likewise.
45708         * elf/tst-tlsmod1.c: Likewise.
45709         * elf/tst-tlsmod13.c: Likewise.
45710         * elf/tst-tlsmod13a.c: Likewise.
45711         * elf/tst-tlsmod14a.c: Likewise.
45712         * elf/tst-tlsmod16a.c: Likewise.
45713         * elf/tst-tlsmod16b.c: Likewise.
45714         * elf/tst-tlsmod2.c: Likewise.
45715         * elf/tst-tlsmod3.c: Likewise.
45716         * elf/tst-tlsmod4.c: Likewise.
45717         * elf/tst-tlsmod5.c: Likewise.
45718         * elf/tst-tlsmod6.c: Likewise.
45720 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45722         [BZ #12486]
45723         * malloc/malloc.c: remove checks for statistics.
45725 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45727         [BZ #15277]
45728         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45729         * inet/tst-network.c: Add testcase.
45731 2013-10-17  Andreas Schwab  <schwab@suse.de>
45733         [BZ #15218]
45734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45735         to determine canonical name.
45737 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45739         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45740         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45741         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45742         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45743         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45744         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45745         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45746         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45747         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45748         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45749         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45750         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45751         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45752         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45753         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45754         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45755         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45756         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45757         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45758         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45759         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45760         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45761         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45762         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45763         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45764         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45765         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45766         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45767         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45768         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45769         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45770         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45771         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45772         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45773         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45774         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45775         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45776         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45777         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45778         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45779         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45780         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45781         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45782         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45783         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45784         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45785         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45786         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45787         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45788         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45789         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45790         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45791         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45792         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45793         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45794         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45795         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45796         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45798 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45800         [BZ #16041]
45801         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45802         make result into a quiet NaN.
45804 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45806         * soft-fp/adddf3.c: Fix horizontal whitespace.
45807         * soft-fp/addsf3.c: Likewise.
45808         * soft-fp/addtf3.c: Likewise.
45809         * soft-fp/divdf3.c: Likewise.
45810         * soft-fp/divsf3.c: Likewise.
45811         * soft-fp/divtf3.c: Likewise.
45812         * soft-fp/double.h: Likewise.
45813         * soft-fp/eqdf2.c: Likewise.
45814         * soft-fp/eqsf2.c: Likewise.
45815         * soft-fp/eqtf2.c: Likewise.
45816         * soft-fp/extenddftf2.c: Likewise.
45817         * soft-fp/extended.h: Likewise.
45818         * soft-fp/extendsfdf2.c: Likewise.
45819         * soft-fp/extendsftf2.c: Likewise.
45820         * soft-fp/extendxftf2.c: Likewise.
45821         * soft-fp/fixdfdi.c: Likewise.
45822         * soft-fp/fixdfsi.c: Likewise.
45823         * soft-fp/fixdfti.c: Likewise.
45824         * soft-fp/fixsfdi.c: Likewise.
45825         * soft-fp/fixsfsi.c: Likewise.
45826         * soft-fp/fixsfti.c: Likewise.
45827         * soft-fp/fixtfdi.c: Likewise.
45828         * soft-fp/fixtfsi.c: Likewise.
45829         * soft-fp/fixtfti.c: Likewise.
45830         * soft-fp/fixunsdfdi.c: Likewise.
45831         * soft-fp/fixunsdfsi.c: Likewise.
45832         * soft-fp/fixunsdfti.c: Likewise.
45833         * soft-fp/fixunssfdi.c: Likewise.
45834         * soft-fp/fixunssfsi.c: Likewise.
45835         * soft-fp/fixunssfti.c: Likewise.
45836         * soft-fp/fixunstfdi.c: Likewise.
45837         * soft-fp/fixunstfsi.c: Likewise.
45838         * soft-fp/fixunstfti.c: Likewise.
45839         * soft-fp/floatdidf.c: Likewise.
45840         * soft-fp/floatdisf.c: Likewise.
45841         * soft-fp/floatditf.c: Likewise.
45842         * soft-fp/floatsidf.c: Likewise.
45843         * soft-fp/floatsisf.c: Likewise.
45844         * soft-fp/floatsitf.c: Likewise.
45845         * soft-fp/floattidf.c: Likewise.
45846         * soft-fp/floattisf.c: Likewise.
45847         * soft-fp/floattitf.c: Likewise.
45848         * soft-fp/floatundidf.c: Likewise.
45849         * soft-fp/floatundisf.c: Likewise.
45850         * soft-fp/floatunditf.c: Likewise.
45851         * soft-fp/floatunsidf.c: Likewise.
45852         * soft-fp/floatunsisf.c: Likewise.
45853         * soft-fp/floatunsitf.c: Likewise.
45854         * soft-fp/floatuntidf.c: Likewise.
45855         * soft-fp/floatuntisf.c: Likewise.
45856         * soft-fp/floatuntitf.c: Likewise.
45857         * soft-fp/fmadf4.c: Likewise.
45858         * soft-fp/fmasf4.c: Likewise.
45859         * soft-fp/fmatf4.c: Likewise.
45860         * soft-fp/gedf2.c: Likewise.
45861         * soft-fp/gesf2.c: Likewise.
45862         * soft-fp/getf2.c: Likewise.
45863         * soft-fp/ledf2.c: Likewise.
45864         * soft-fp/lesf2.c: Likewise.
45865         * soft-fp/letf2.c: Likewise.
45866         * soft-fp/muldf3.c: Likewise.
45867         * soft-fp/mulsf3.c: Likewise.
45868         * soft-fp/multf3.c: Likewise.
45869         * soft-fp/negdf2.c: Likewise.
45870         * soft-fp/negsf2.c: Likewise.
45871         * soft-fp/negtf2.c: Likewise.
45872         * soft-fp/op-1.h: Likewise.
45873         * soft-fp/op-2.h: Likewise.
45874         * soft-fp/op-4.h: Likewise.
45875         * soft-fp/op-8.h: Likewise.
45876         * soft-fp/op-common.h: Likewise.
45877         * soft-fp/quad.h: Likewise.
45878         * soft-fp/single.h: Likewise.
45879         * soft-fp/soft-fp.h: Likewise.
45880         * soft-fp/sqrtdf2.c: Likewise.
45881         * soft-fp/sqrtsf2.c: Likewise.
45882         * soft-fp/sqrttf2.c: Likewise.
45883         * soft-fp/subdf3.c: Likewise.
45884         * soft-fp/subsf3.c: Likewise.
45885         * soft-fp/subtf3.c: Likewise.
45886         * soft-fp/truncdfsf2.c: Likewise.
45887         * soft-fp/trunctfdf2.c: Likewise.
45888         * soft-fp/trunctfsf2.c: Likewise.
45889         * soft-fp/trunctfxf2.c: Likewise.
45890         * soft-fp/unorddf2.c: Likewise.
45891         * soft-fp/unordsf2.c: Likewise.
45892         * soft-fp/unordtf2.c: Likewise.
45894 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45896         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45897         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45899 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45901         * elf/dl-libc.c: Clear initfini list after freeing.
45903 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45905         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45906         * soft-fp/addsf3.c: Likewise.
45907         * soft-fp/addtf3.c: Likewise.
45908         * soft-fp/divdf3.c: Likewise.
45909         * soft-fp/divsf3.c: Likewise.
45910         * soft-fp/divtf3.c: Likewise.
45911         * soft-fp/double.h: Likewise.
45912         * soft-fp/eqdf2.c: Likewise.
45913         * soft-fp/eqsf2.c: Likewise.
45914         * soft-fp/eqtf2.c: Likewise.
45915         * soft-fp/extenddftf2.c: Likewise.
45916         * soft-fp/extended.h: Likewise.
45917         * soft-fp/extendsfdf2.c: Likewise.
45918         * soft-fp/extendsftf2.c: Likewise.
45919         * soft-fp/extendxftf2.c: Likewise.
45920         * soft-fp/fixdfdi.c: Likewise.
45921         * soft-fp/fixdfsi.c: Likewise.
45922         * soft-fp/fixdfti.c: Likewise.
45923         * soft-fp/fixsfdi.c: Likewise.
45924         * soft-fp/fixsfsi.c: Likewise.
45925         * soft-fp/fixsfti.c: Likewise.
45926         * soft-fp/fixtfdi.c: Likewise.
45927         * soft-fp/fixtfsi.c: Likewise.
45928         * soft-fp/fixtfti.c: Likewise.
45929         * soft-fp/fixunsdfdi.c: Likewise.
45930         * soft-fp/fixunsdfsi.c: Likewise.
45931         * soft-fp/fixunsdfti.c: Likewise.
45932         * soft-fp/fixunssfdi.c: Likewise.
45933         * soft-fp/fixunssfsi.c: Likewise.
45934         * soft-fp/fixunssfti.c: Likewise.
45935         * soft-fp/fixunstfdi.c: Likewise.
45936         * soft-fp/fixunstfsi.c: Likewise.
45937         * soft-fp/fixunstfti.c: Likewise.
45938         * soft-fp/floatdidf.c: Likewise.
45939         * soft-fp/floatdisf.c: Likewise.
45940         * soft-fp/floatditf.c: Likewise.
45941         * soft-fp/floatsidf.c: Likewise.
45942         * soft-fp/floatsisf.c: Likewise.
45943         * soft-fp/floatsitf.c: Likewise.
45944         * soft-fp/floattidf.c: Likewise.
45945         * soft-fp/floattisf.c: Likewise.
45946         * soft-fp/floattitf.c: Likewise.
45947         * soft-fp/floatundidf.c: Likewise.
45948         * soft-fp/floatundisf.c: Likewise.
45949         * soft-fp/floatunsidf.c: Likewise.
45950         * soft-fp/floatunsisf.c: Likewise.
45951         * soft-fp/floatuntidf.c: Likewise.
45952         * soft-fp/floatuntisf.c: Likewise.
45953         * soft-fp/floatuntitf.c: Likewise.
45954         * soft-fp/fmadf4.c: Likewise.
45955         * soft-fp/fmasf4.c: Likewise.
45956         * soft-fp/fmatf4.c: Likewise.
45957         * soft-fp/gedf2.c: Likewise.
45958         * soft-fp/gesf2.c: Likewise.
45959         * soft-fp/getf2.c: Likewise.
45960         * soft-fp/ledf2.c: Likewise.
45961         * soft-fp/lesf2.c: Likewise.
45962         * soft-fp/letf2.c: Likewise.
45963         * soft-fp/muldf3.c: Likewise.
45964         * soft-fp/mulsf3.c: Likewise.
45965         * soft-fp/multf3.c: Likewise.
45966         * soft-fp/negdf2.c: Likewise.
45967         * soft-fp/negsf2.c: Likewise.
45968         * soft-fp/negtf2.c: Likewise.
45969         * soft-fp/op-1.h: Likewise.
45970         * soft-fp/op-2.h: Likewise.
45971         * soft-fp/op-4.h: Likewise.
45972         * soft-fp/op-8.h: Likewise.
45973         * soft-fp/op-common.h: Likewise.
45974         * soft-fp/quad.h: Likewise.
45975         * soft-fp/single.h: Likewise.
45976         * soft-fp/soft-fp.h: Likewise.
45977         * soft-fp/sqrtdf2.c: Likewise.
45978         * soft-fp/sqrtsf2.c: Likewise.
45979         * soft-fp/sqrttf2.c: Likewise.
45980         * soft-fp/subdf3.c: Likewise.
45981         * soft-fp/subsf3.c: Likewise.
45982         * soft-fp/subtf3.c: Likewise.
45983         * soft-fp/truncdfsf2.c: Likewise.
45984         * soft-fp/trunctfdf2.c: Likewise.
45985         * soft-fp/trunctfsf2.c: Likewise.
45986         * soft-fp/trunctfxf2.c: Likewise.
45987         * soft-fp/unorddf2.c: Likewise.
45988         * soft-fp/unordsf2.c: Likewise.
45989         * soft-fp/unordtf2.c: Likewise.
45991 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45993         [BZ #15672]
45994         * misc/error.c (error_tail): Fix possible buffer overflow.
45996 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45998         [BZ #13028]
45999         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46000         address.
46002 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46004         [BZ #832]
46005         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46006         testing pipefail option.
46008 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46010         * soft-fp/double.h: Indent preprocessor directives inside #if.
46011         * soft-fp/extended.h: Likewise.
46012         * soft-fp/op-2.h: Likewise.
46013         * soft-fp/op-4.h: Likewise.
46014         * soft-fp/op-common.h: Likewise.
46015         * soft-fp/quad.h: Likewise.
46016         * soft-fp/single.h: Likewise.
46017         * soft-fp/soft-fp.h: Likewise.
46019 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46021         * iconv/iconv_prog.c: Fix typos.
46022         * stdio-common/psiginfo-data.h: Likewise.
46024 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46026         [BZ #15764]
46027         * locale/setlocale.c: Fix typo.
46029 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46031         [BZ #16036]
46032         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46033         signaling NaN arguments.
46034         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46035         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46037         [BZ #14910]
46038         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46039         unordered operands.
46040         * soft-fp/gesf2.c (__gesf2): Likewise.
46041         * soft-fp/getf2.c (__getf2): Likewise.
46042         * soft-fp/ledf2.c (__ledf2): Likewise.
46043         * soft-fp/lesf2.c (__lesf2): Likewise.
46044         * soft-fp/letf2.c (__letf2): Likewise.
46046         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46047         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46048         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46049         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46050         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46051         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46052         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46053         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46054         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46055         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46056         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46057         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46058         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46059         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46060         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46061         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46062         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46063         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46064         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46065         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46066         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46067         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46068         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46069         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46070         * soft-fp/floattidf.c (__floattidf): Likewise.
46071         * soft-fp/floattisf.c (__floattisf): Likewise.
46072         * soft-fp/floattitf.c (__floattitf): Likewise.
46073         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46074         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46075         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46076         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46077         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46078         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46079         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46080         * soft-fp/gesf2.c (__gesf2): Likewise.
46081         * soft-fp/getf2.c (__getf2): Likewise.
46082         * soft-fp/ledf2.c (__ledf2): Likewise.
46083         * soft-fp/lesf2.c (__lesf2): Likewise.
46084         * soft-fp/letf2.c (__letf2): Likewise.
46086         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46087         Undefine and redefine.
46088         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46089         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46090         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46091         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46092         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46093         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46094         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46095         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46096         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46097         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46098         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46099         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46100         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46101         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46102         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46104         [BZ #16032]
46105         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46106         without decrementing exponent if mantissa >= that for the
46107         denominator, not >.
46108         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46109         denominator, not >.  Decrement exponent in < case instead of
46110         incrementing in >= case.
46111         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46112         without decrementing exponent if mantissa >= that for the
46113         denominator, not >.
46115         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46116         computing saturated result for unsigned overflow.
46118 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46119             Jeff Law  <law@redhat.com>
46121         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46122         (atan2Mp): Add systemtap probe marker.
46123         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46124         (__ieee754_log): Add systemtap probe marker.
46125         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46126         (atanMp): Add systemtap probe marker.
46127         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46128         (tanMp): Add systemtap probe marker.
46129         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46130         (__slowexp): Add systemtap probe marker.
46131         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46132         (__slowpow): Add systemtap probe marker.
46133         * manual/probes.texi: Document probes.
46135 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46137         [BZ #15362]
46138         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46139         written.
46140         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46141         written.
46142         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46143         written to buffer but not flushed.
46144         * libio/iofwrite_u.c:  Likewise.
46145         * libio/iopadn.c:  Return bytes returned even if EOF was
46146         encountered.
46147         * libio/iowpadn.c:  Likewise.
46148         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46149         if _IO_padn does not write the whole buffer.
46150         [!COMPILE_WPRINTF] (PAD): Likewise.
46152 2013-10-10  David S. Miller  <davem@davemloft.net>
46154         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46155         directory block.
46157 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46159         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46160         instead of FSF address.
46161         * soft-fp/fixdfti.c: Likewise.
46162         * soft-fp/fixsfti.c: Likewise.
46163         * soft-fp/fixtfti.c: Likewise.
46164         * soft-fp/fixunsdfti.c: Likewise.
46165         * soft-fp/fixunssfti.c: Likewise.
46166         * soft-fp/fixunstfti.c: Likewise.
46167         * soft-fp/floattidf.c: Likewise.
46168         * soft-fp/floattisf.c: Likewise.
46169         * soft-fp/floattitf.c: Likewise.
46170         * soft-fp/floatuntidf.c: Likewise.
46171         * soft-fp/floatuntisf.c: Likewise.
46172         * soft-fp/floatuntitf.c: Likewise.
46173         * soft-fp/trunctfxf2.c: Likewise.
46175         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46176         * soft-fp/fixdfti.c: Likewise.
46177         * soft-fp/fixsfti.c: Likewise.
46178         * soft-fp/fixtfti.c: Likewise.
46179         * soft-fp/fixunsdfti.c: Likewise.
46180         * soft-fp/fixunssfti.c: Likewise.
46181         * soft-fp/fixunstfti.c: Likewise.
46182         * soft-fp/floattidf.c: Likewise.
46183         * soft-fp/floattisf.c: Likewise.
46184         * soft-fp/floattitf.c: Likewise.
46185         * soft-fp/floatuntidf.c: Likewise.
46186         * soft-fp/floatuntisf.c: Likewise.
46187         * soft-fp/floatuntitf.c: Likewise.
46188         * soft-fp/trunctfxf2.c: Likewise.
46190 2013-10-10  David S. Miller  <davem@davemloft.net>
46192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46194 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46196         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46197         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46198         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46199         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46200         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46201         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46202         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46204         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46205         for NaNs before doing comparisons on argument.
46206         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46207         Likewise.
46209 2013-10-10  Will Newton  <will.newton@linaro.org>
46211         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46212         passed to _int_memalign does not overflow.
46214 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46216         * scripts/bench.pl: Add include-sources directive.
46217         * benchtests/README: Update documentation.
46219 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46221         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46222         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46223         instead of FP_INIT_ROUNDMODE.
46224         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46225         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46227         [BZ #16034]
46228         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46229         copy class of input value.
46230         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46231         not handle exceptions.
46232         * soft-fp/negsf2.c (__negsf2): Likewise.
46233         * soft-fp/negtf2.c (__negtf2): Likewise.
46234         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46236 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46238         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46239         semicolon.  From Linux kernel.
46241 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46243         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46245 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46247         [BZ #156]
46248         * manual/socket.texi: Added statement about buffer
46249         for gethostbyname2_r.
46251 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46253         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46254         Use .p2align directive instead, throughout.
46255         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46256         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46257         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46258         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46259         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46260         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46261         * sysdeps/x86_64/strchr.S: Likewise.
46262         * sysdeps/x86_64/strrchr.S: Likewise.
46264 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46266         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46268         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46270         * sysdeps/generic/math_private.h (__mpsin1): Remove
46271         declaration.
46272         (__mpcos1): Likewise.
46273         (__mpsin): New argument __range_reduce.
46274         (__mpcos): Likewise.
46275         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46276         (slow): Use __mpsin and __mpcos.
46277         (slow1): Likewise.
46278         (slow2): Likewise.
46279         (sloww): Likewise.
46280         (sloww1): Likewise.
46281         (sloww2): Likewise.
46282         (bsloww): Likewise.
46283         (bsloww1): Likewise.
46284         (bsloww2): Likewise.
46285         (cslow2): Likewise.
46286         (csloww): Likewise.
46287         (csloww1): Likewise.
46288         (csloww2): Likewise.
46289         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46290         range_reduce.  Merge in __mpsin1.
46291         (__mpcos): Likewise.
46292         (__mpsin1): Remove.
46293         (__mpcos1): Likewise.
46295 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46297         * locale/loadlocale.c (_nl_intern_locale_data): Use
46298         LOCFILE_ALIGNED_P.
46299         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46300         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46301         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46302         obstack data is appropriately aligned.
46303         (obstack_int32_grow_fast): Likewise.
46304         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46305         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46306         (add_locale_uint32_array): Likewise.
46308 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46310         * benchtests/Makefile: Remove ARGLIST and RET variables.
46311         ($(objpfx)bench-%.c): Pass only function name to the script.
46312         * benchtests/README: Update documentation.
46313         * benchtests/acos-inputs: Add new directives.
46314         * benchtests/acosh-inputs: Likewise.
46315         * benchtests/asin-inputs: Likewise.
46316         * benchtests/asinh-inputs: Likewise.
46317         * benchtests/atan-inputs: Likewise.
46318         * benchtests/atanh-inputs: Likewise.
46319         * benchtests/cos-inputs: Likewise.
46320         * benchtests/cosh-inputs: Likewise.
46321         * benchtests/exp-inputs: Likewise.
46322         * benchtests/log-inputs: Likewise.
46323         * benchtests/pow-inputs: Likewise.
46324         * benchtests/rint-inputs: Likewise.
46325         * benchtests/sin-inputs: Likewise.
46326         * benchtests/sinh-inputs: Likewise.
46327         * benchtests/tan-inputs: Likewise.
46328         * benchtests/tanh-inputs: Likewise.
46329         * scripts/bench.pl: Add support for new directives.
46331 2013-10-07  Alan Modra  <amodra@gmail.com>
46333         * README: Fix careless merge.
46335 2013-10-05  Alan Modra  <amodra@gmail.com>
46337         * NEWS: Mention powerpc64le support and bugs fixed.
46338         * README: Both big-endian and little-endian powerpc64 supported.
46340 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46342         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46343         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46344         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46345         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46347 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46349         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46350         match prototype.
46352 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46354         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46355         Move -mhard-float appending from
46356         ports/sysdeps/powerpc/powerpc32/Makefile.
46357         [$(with-fp) = yes] (ASFLAGS): Likewise.
46358         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46359         * sysdeps/powerpc/nofpu: Move directory from
46360         ports/sysdeps/powerpc/nofpu.
46361         * sysdeps/powerpc/soft-fp: Move directory from
46362         ports/sysdeps/powerpc/soft-fp.
46363         * sysdeps/powerpc/powerpc32/405: Move directory from
46364         ports/sysdeps/powerpc/powerpc32/405.
46365         * sysdeps/powerpc/powerpc32/440: Move directory from
46366         ports/sysdeps/powerpc/powerpc32/440.
46367         * sysdeps/powerpc/powerpc32/464: Move directory from
46368         ports/sysdeps/powerpc/powerpc32/464.
46369         * sysdeps/powerpc/powerpc32/476: Move directory from
46370         ports/sysdeps/powerpc/powerpc32/476.
46371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46372         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46374         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46376         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46378         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46380         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46381         * README: Update for powerpc-*-linux-gnu software floating point
46382         support in libc.
46384         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46385         case to powerpc/powerpc32*.
46386         * sysdeps/unix/sysv/linux/configure: Regenerated.
46388         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46389         (_FPU_MASK_OM): Define as 0x04.
46390         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46391         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46392         0x00c10080.
46393         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46394         0x0000003c.
46395         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46398         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46399         getcontext_e500.
46400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46401         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46402         setcontext_e500.
46403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46404         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46405         and setcontext_e500.
46407 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46409         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46411 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46413         * manual/threads.texi (Default Thread Attributes): Fix typo.
46415 2013-10-04  Will Newton  <will.newton@linaro.org>
46417         * malloc/Makefile: Add tst-memalign.
46418         * malloc/tst-memalign.c: New file.
46420         * malloc/tst-posix_memalign.c: Add comments.
46421         (do_test): Add comments and call free on all potentially
46422         allocated pointers. Add space after cast.
46424         * malloc/tst-pvalloc.c: Add comments.
46425         (do_test): Add comments and call free on all potentially
46426         allocated pointers. Remove duplicate check for NULL pointer.
46427         Add space after cast.
46429         * malloc/tst-valloc.c: Add comments.
46430         (do_test): Add comments and call free on all potentially
46431         allocated pointers. Remove duplicate check for NULL pointer.
46432         Add space after cast.
46434 2013-10-04  Alan Modra  <amodra@gmail.com>
46436         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46437         Use stdint types in rather than __attribute__((mode())).
46438         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46440 2013-10-04  Alan Modra  <amodra@gmail.com>
46442         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46443         Correct handling of unaligned relocs for little-endian.
46444         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46446 2013-10-04  Alan Modra  <amodra@gmail.com>
46448         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46449         * configure: Regenerate.
46450         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46451         * shlib-versions: Likewise.
46453 2013-10-04  Alan Modra  <amodra@gmail.com>
46455         * string/tester.c (test_memrchr): Increment reported test cycle.
46457 2013-10-04  Alan Modra  <amodra@gmail.com>
46459         * string/test-memcpy.c (do_one_test): When reporting errors, print
46460         string address and don't overrun end of string.
46462 2013-10-04  Alan Modra  <amodra@gmail.com>
46464         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46465         insrdi.  Make better use of reg selection to speed exit slightly.
46466         Schedule entry path a little better.  Remove useless "are we done"
46467         checks on entry to main loop.  Handle wrapping around zero address.
46468         Correct main loop count.  Handle single left-over word from main
46469         loop inline rather than by using loop_small.  Remove extra word
46470         case in loop_small caused by wrong loop count.  Add little-endian
46471         support.
46472         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46473         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46474         cache hint.
46475         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46476         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46477         support.  Avoid rlwimi.
46478         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46480 2013-10-04  Alan Modra  <amodra@gmail.com>
46482         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46483         insrdi.  Formatting.
46484         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46485         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46486         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46487         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46488         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46489         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46491 2013-10-04  Alan Modra  <amodra@gmail.com>
46493         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46494         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46495         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46496         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46497         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46498         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46499         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46500         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46501         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46502         use of regs.  Use power7 mtocrf.  Tidy function tails.
46504 2013-10-04  Alan Modra  <amodra@gmail.com>
46506         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46507         Formatting.  Consistently use rXXX register defines or rN defines.
46508         Use early exit labels that avoid restoring unused non-volatile regs.
46509         Make cr field use more consistent with rWORDn compares.  Rename
46510         regs used as shift registers for unaligned loop, using rN defines
46511         for short lifetime/multiple use regs.
46512         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46513         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46514         addi 1,1,64 to pop stack frame.  Simplify return value code.
46515         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46517 2013-10-04  Alan Modra  <amodra@gmail.com>
46519         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46520         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46521         rather than rlwimi.
46522         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46523         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46524         little-endian support.  Correct typos.
46525         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46526         rather than rlwimi.
46527         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46528         in loop and entry code to keep "and." results.
46529         (strchr): Add little-endian support.  Comment.  Move cntlzd
46530         earlier in tail.
46531         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46533 2013-10-04  Alan Modra  <amodra@gmail.com>
46535         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46536         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46537         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46538         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46540 2013-10-04  Alan Modra  <amodra@gmail.com>
46542         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46543         (rTMP): Define as r11.
46544         (strcmp): Add little-endian support.  Optimise tail.
46545         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46546         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46547         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46548         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46549         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46550         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46551         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46553 2013-10-04  Alan Modra  <amodra@gmail.com>
46555         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46556         little-endian support.  Remove unnecessary "are we done" tests.
46557         Handle "s" wrapping around zero and extremely large "size".
46558         Correct main loop count.  Handle single left-over word from main
46559         loop inline rather than by using small_loop.  Correct comments.
46560         Delete "zero" tail, use "end_max" instead.
46561         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46563 2013-10-04  Alan Modra  <amodra@gmail.com>
46565         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46566         support.  Don't branch over align.
46567         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46568         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46569         support.  Rearrange tmp reg use to suit.  Comment.
46570         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46572 2013-10-04  Alan Modra  <amodra@gmail.com>
46574         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46576 2013-10-04  Alan Modra  <amodra@gmail.com>
46578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46579         conditional form of branch and link when obtaining pc.
46580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46582 2013-10-04  Alan Modra  <amodra@gmail.com>
46584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46585         HIWORD/LOWORD.
46586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46589 2013-10-04  Alan Modra  <amodra@gmail.com>
46591         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46592         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46593         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46594         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46595         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46596         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46597         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46598         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46599         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46600         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46602 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46603             Alistair Popple <alistair@ozlabs.au.ibm.com>
46604             Alan Modra <amodra@gmail.com>
46606         [BZ #15723]
46607         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46608         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46609         _dl_hwcap access for little-endian.
46610         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46611         destroy vmx regs when saving unaligned.
46612         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46613         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46614         destroy vmx regs when saving unaligned.
46616 2013-10-04  Alan Modra  <amodra@gmail.com>
46618         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46619         Don't use a union to pack hi/low value.
46621 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46623         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46624         for little-endian.
46625         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46626         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46627         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46628         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46629         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46631 2013-10-04  Alan Modra  <amodra@gmail.com>
46633         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46634         constants to usual value for .cst8 section, and remove redundant
46635         high address load.
46636         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46637         constant for 0x1p52.  Load little-endian words of double from
46638         correct stack offsets.
46640 2013-10-04  Alan Modra  <amodra@gmail.com>
46642         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46643         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46644         words of double from correct stack offsets.
46645         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46646         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46647         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46648         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46649         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46650         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46651         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46652         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46653         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46654         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46655         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46656         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46657         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46658         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46659         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46660         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46661         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46663 2013-10-04  Alan Modra  <amodra@gmail.com>
46665         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46666         64-bit int/double union.
46667         (_FPU_SETCW): Likewise.
46668         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46669         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46671 2013-10-04  Alan Modra  <amodra@gmail.com>
46673         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46674         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46676 2013-10-04  Alan Modra  <amodra@gmail.com>
46678         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46679         use vector int constants.
46680         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46682 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46684         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46685         array with long long.
46686         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46687         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46688         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46689         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46690         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46691         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46692         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46693         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46694         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46695         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46696         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46697         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46698         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46700 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46702         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46703         (__signbit): Likewise.  Correct for little-endian.
46704         (__signbitl): Call __signbit.
46705         (lrint): Correct for little-endian.
46706         (lrintf): Call lrint.
46708 2013-10-04  Alan Modra  <amodra@gmail.com>
46710         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46711         union 32-bit int array member with 64-bit int array.
46712         (t515, tm256): Double rather than long double.
46713         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46715 2013-10-04  Alan Modra  <amodra@gmail.com>
46717         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46718         Delete.
46719         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46720         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46721         version of math_ldbl.h.
46723 2013-10-04  Alan Modra  <amodra@gmail.com>
46725         [BZ #15734], [BZ #15735]
46726         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46727         all uses of ieee875 long double macros and unions.  Simplify test
46728         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46729         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46730         normalize after ldbl_extract_mantissa, and don't add hidden bit
46731         already handled.  Don't treat low word of ieee854 mantissa like
46732         low word of IBM long double and mask off bit when testing for
46733         zero.
46734         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46735         all uses of ieee875 long double macros and unions.  Simplify tests
46736         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46737         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46738         two1022, instead use their values.  Recognise that tests for large
46739         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46740         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46741         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46742         test for 0.0L and nan.  Correct negation.
46743         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46744         ieee875 long double macros and unions.  Correct output for large
46745         magnitude x.  Correct absolute value calculation.
46746         (__erfcl): Likewise.
46747         * math/libm-test.inc: Add tests for errors discovered in IBM long
46748         double versions of fmodl, remainderl, erfl and erfcl.
46750 2013-10-04  Alan Modra  <amodra@gmail.com>
46752         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46753         all uses of ieee854 long double macros and unions.  Simplify tests
46754         for long doubles that are fully specified by the high double.
46755         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46756         Likewise.
46757         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46758         Remove dead code too.
46759         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46760         (__ieee754_ynl): Likewise.
46761         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46762         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46763         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46764         Remove dead code too.
46765         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46766         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46767         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46768         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46769         Simplify.
46770         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46771         Simplify.
46772         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46773         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46774         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46775         Comment on variable precision.
46776         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46777         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46778         Likewise.
46779         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46780         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46781         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46782         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46783         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46785 2013-10-04  Alan Modra  <amodra@gmail.com>
46787         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46788         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46789         all uses of ieee854 long double macros and unions.
46790         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46791         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46792         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46793         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46794         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46795         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46796         Likewise.
46797         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46798         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46799         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46800         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46801         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46802         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46803         Simplify sign and nan test too.
46804         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46805         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46806         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46807         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46808         Likewise.
46809         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46810         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46811         Likewise.
46812         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46813         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46814         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46815         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46816         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46817         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46819 2013-10-04  Alan Modra  <amodra@gmail.com>
46821         * stdio-common/printf_size.c (__printf_size): Don't use
46822         union ieee854_long_double in fpnum union.
46823         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46824         signbit macro to retrieve sign from long double.
46825         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46826         retrieve sign from long double.
46827         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46828         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46829         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46830         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46831         * math/test-misc.c (main): Don't use union ieee854_long_double.
46833 2013-10-04  Alan Modra  <amodra@gmail.com>
46835         [BZ #15680]
46836         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46837         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46838         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46839         calculation.  Remove unnecessary test for denormal exponent.
46840         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46841         Correct handling of denormals.  Avoid undefined shift behaviour.
46842         Correct normalisation of low mantissa when low double is denormal.
46843         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46844         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46845         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46846         Correct normalisation of low mantissa.  Test for overflow of high
46847         mantissa and normalise.
46848         (ldbl_nearbyint): Use more readable constant for two52.
46849         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46850         (__mpn_construct_long_double): Fix test for overflow of high
46851         mantissa and correct normalisation.  Avoid undefined shift.
46853 2013-10-04  Alan Modra  <amodra@gmail.com>
46855         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46856         (union ibm_extended_long_double): Define as an array of ieee754_double.
46857         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46858         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46859         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46860         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46861         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46862         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46863         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46864         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46865         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46866         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46867         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46869 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46871         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46872         page size instead of calling getpagesize.
46874         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46875         (LOCFILE_ALIGN_MASK): Likewise.
46876         (LOCFILE_ALIGN_UP): Likewise.
46877         (LOCFILE_ALIGNED_P): Likewise.
46878         * locale/programs/ld-collate.c (collate_output): Use the new
46879         macros instead of __alignof__ (int32_t).
46880         * locale/weight.h (findidx): Likewise.
46882 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46884         [BZ #431]
46885         * manual/string.texi: Fix strncat and wcsncat.
46887 2013-10-03  Brooks Moses  <bmoses@google.com>
46889         [BZ #15915]
46890         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46891         * Makerules: ...here, and adjust associated comments.
46893 2013-10-02  Will Newton  <will.newton@linaro.org>
46895         * malloc/Makefile: Add tst-pvalloc.
46896         * malloc/tst-pvalloc.c: New file.
46898 2013-10-02  Will Newton  <will.newton@linaro.org>
46900         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46901         improve test coverage.
46903 2013-10-02  Will Newton  <will.newton@linaro.org>
46905         * malloc/Makefile: Add tst-posix_memalign.
46906         * malloc/tst-posix_memalign.c: New file.
46908 2013-10-01  Eric Blake  <eblake@redhat.com>
46910         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46911         Use __THROWNL rather than __THROW on static functions.
46913 2013-09-30  Petr Machata  <pmachata@redhat.com>
46915         * elf/elf.h (R_AARCH64_ABS16): New macro.
46916         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46917         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46918         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46919         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46920         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46921         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46922         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46923         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46924         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46925         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46926         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46927         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46928         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46929         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46930         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46931         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46932         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46933         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46934         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46935         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46936         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46937         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46938         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46939         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46940         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46941         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46942         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46943         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46944         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46945         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46946         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46947         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46948         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46949         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46950         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46951         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46952         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46953         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46954         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46955         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46956         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46957         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46958         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46959         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46960         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46961         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46962         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46963         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46964         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46965         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46966         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46967         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46968         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46969         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46970         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46971         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46972         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46973         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46974         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46975         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46976         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46977         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46978         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46979         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46980         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46981         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46982         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46983         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46984         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46985         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46986         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46987         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46988         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46989         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46990         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46991         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46992         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46993         (R_AARCH64_TLSDESC_LDR): Likewise.
46994         (R_AARCH64_TLSDESC_ADD): Likewise.
46995         (R_AARCH64_TLSDESC_CALL): Likewise.
46997 2013-09-30  Andreas Schwab  <schwab@suse.de>
46999         [BZ #15048]
47000         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47001         the nss database lookup.
47002         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47005 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47007         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47009 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47011         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47012         ${Bash-specific parameter/pattern/string} parameter expansion.
47013         * sysdeps/unix/make-syscalls.sh: Likewise.
47015 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47017         * sysdeps/sh/stackguard-macros.h: New file.
47019 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47023         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47024         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47025         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47026         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47028 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47030         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47031         Fix thread ID register.
47033 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47035         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47036         [POSIX || UNIX98]: Require rather than permitting all symbols from
47037         <time.h>.
47038         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47039         element of struct sched_param.
47040         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47041         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47042         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47043         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47044         constant.
47046 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47048         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47049         argument calculation.
47051 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47053         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47054         Expect macro.
47055         [POSIX] (pthread_attr_t): Do not require type.
47056         [POSIX] (pthread_cond_t): Likewise.
47057         [POSIX] (pthread_condattr_t): Likewise.
47058         [POSIX] (pthread_key_t): Likewise.
47059         [POSIX] (pthread_mutex_t): Likewise.
47060         [POSIX] (pthread_mutexattr_t): Likewise.
47061         [POSIX] (pthread_once_t): Likewise.
47062         [POSIX] (pthread_t): Likewise.
47063         [POSIX-based standards] (pthread_atfork): Expect function.
47065 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47066             Richard Sandiford  <richard@codesourcery.com>
47068         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47069         (swap_endianness_p): New extern variable.
47070         (set_big_endian): New inline function.
47071         (maybe_swap_uint32): Likewise.
47072         (maybe_swap_uint32_array): Likewise.
47073         (maybe_swap_uint32_obstack): Likewise.
47074         * locale/programs/locfile.c: Include <stdbool.h>.
47075         (swap_endianness_p): New variable.
47076         (add_locale_uint32): Call maybe_swap_uint32.
47077         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47078         (write_locale_data): Call maybe_swap_uint32_array.
47079         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47080         maybe_swap_uint32.
47081         (obstack_int32_grow_fast): Likewise.
47082         (output_weightwc): Call maybe_swap_uint32_obstack.
47083         (collate_output): Likewise.
47084         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47085         (OPT_LITTLE_ENDIAN): Likewise.
47086         (options): Add --little-endian and --big-endian options.
47087         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47088         * locale/programs/locarchive.c: Include "locfile.h".
47089         (GET): New macro.
47090         (SET): Likewise.
47091         (INC): Likewise.
47092         (create_archive): Use the new macros to access fields of
47093         structures directly mapped from or written to locale archives.
47094         (oldlocrecentcmp): Likewise.
47095         (enlarge_archive): Likewise.
47096         (insert_name): Likewise.
47097         (add_alias): Likewise.
47098         (add_locale): Likewise.
47099         (delete_locales_from_archive): Likewise.
47100         (show_archive_content): Likewise.
47101         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47102         locale data.
47104 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47106         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47107         http://www.gnu.org/doc/freemanuals.texi.
47108         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47110 2013-09-24  Will Newton  <will.newton@linaro.org>
47112         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47113         macro.
47115 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47117         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47118         unsigned char.
47120 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47122         * manual/threads.texi (POSIX Threads): Fix a typo.
47124 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47126         [BZ #14547]
47127         * string/tst-strcoll-overflow.c: New test case.
47128         * string/Makefile (xtests): Add tst-strcoll-overflow.
47129         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47130         cache if string sizes may cause integer overflow.
47132         [BZ #14547]
47133         * string/strcoll_l.c (coll_seq): New members rule, idx,
47134         save_idx and back_us.
47135         (get_next_seq_nocache): New function.
47136         (do_compare_nocache): New function.
47137         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47138         when malloc fails.
47140 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47142         [BZ #15754]
47143         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47144         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47145         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47147         [BZ #15754]
47148         * elf/Makefile (tests): Add tst-ptrguard1.
47149         (tests-static): Add tst-ptrguard1-static.
47150         (tst-ptrguard1-ARGS): Define.
47151         (tst-ptrguard1-static-ARGS): Define.
47152         * elf/tst-ptrguard1.c: New file.
47153         * elf/tst-ptrguard1-static.c: New file.
47154         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47155         * sysdeps/i386/stackguard-macros.h: Likewise.
47156         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47157         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47158         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47159         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47160         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47161         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47163 2013-09-23  Hector Marco  <hecmargi@upv.es>
47164             Ismael Ripoll  <iripoll@disca.upv.es>
47165             Carlos O'Donell  <carlos@redhat.com>
47167         [BZ #15754]
47168         * sysdeps/generic/stackguard-macros.h: Define
47169         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47170         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47171         Define __pointer_chk_guard_local.
47172         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47173         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47175 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47177         [BZ #15859]
47178         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47180 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47182         * include/string.h (__ffs): Declare as hidden.
47183         * string/ffs.c (__ffs): Define as hidden.
47184         * sysdeps/i386/ffs.c (__ffs): Likewise.
47185         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47186         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47187         * sysdeps/s390/ffs.c (__ffs): Likewise.
47188         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47190 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47192         * NEWS: Mention malloc probes.
47194         * malloc/arena.c (new_heap): New memory_heap_new probe.
47195         (grow_heap): New memory_heap_more probe.
47196         (shrink_heap): New memory_heap_less probe.
47197         (heap_trim): New memory_heap_free probe.
47198         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47199         (systrim): New memory_sbrk_less probe.
47200         * manual/probes.texi: Document them.
47202         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47203         * manual/probes.texi: Document it.
47205         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47206         (__libc_realloc): Add memory_realloc_retry probe.
47207         (__libc_memalign): Add memory_memalign_retry probe.
47208         (__libc_valloc): Add memory_valloc_retry probe.
47209         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47210         (__libc_calloc): Add memory_calloc_retry probe.
47211         * manual/probes.texi: Document them.
47213         * malloc/arena.c (get_free_list): Add probe
47214         memory_arena_reuse_free_list.
47215         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47216         and memory_arena_reuse.
47217         (arena_get2) [!PER_THREAD]: Likewise.
47218         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47219         memory_arena_reuse_realloc.
47220         * manual/probes.texi: Document them.
47222         * malloc/malloc.c (__libc_free): Add
47223         memory_mallopt_free_dyn_thresholds probe.
47224         (__libc_mallopt): Add multiple memory_mallopt probes.
47225         * manual/probes.texi: Document them.
47227         * malloc/malloc.c: Include stap-probe.h.
47228         (__libc_mallopt): Add memory_mallopt probe.
47229         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47230         * manual/probes.texi: New.
47231         * manual/Makefile (chapters): Add probes.
47232         * manual/threads.texi: Set next node.
47234 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47236         [BZ #15963, #13985]
47237         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47238         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47239         Add `Chinese' to `nan' entry name.
47241 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47243         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47244         (POLYNOMIAL): Likewise.
47245         (TAYLOR_SINCOS): Likewise.
47246         (TAYLOR_SLOW): Likewise.
47247         (__sin): Use TAYLOR_SINCOS.
47248         (__cos): Likewise.
47249         (slow): Use TAYLOR_SLOW.
47250         (sloww): Likewise.
47251         (bsloww): Likewise.
47252         (csloww): Likewise.
47254 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47256         * stdlib/strtod_l.c: Fix buffer overrun.
47258 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47260         * benchtests/Makefile (bench): Add sincos.
47261         * benchtests/bench-sincos.c: New file.
47263         * math/libm-test.inc (cos_test_data): New test inputs.
47264         (sin_test_data): Likewise.
47266         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47267         macro.
47268         (__sin): Use it.
47269         (__cos): Likewise.
47270         (slow1): Likewise.
47271         (slow2): Likewise.
47272         (sloww1): Likewise.
47273         (sloww2): Likewise.
47274         (bsloww1): Likewise.
47275         (bsloww2): Likewise.
47276         (cslow2): Likewise.
47277         (csloww1): Likewise.
47278         (csloww2): Likewise.
47280         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47281         function.
47282         (__sin): Use it.
47283         (__cos): Likewise.
47285         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47286         gotos.
47287         (__cos): Likewise.
47289 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47291         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47292         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47293         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47294         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47295         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47296         * elf/cache.c (print_entry): Handle the new cache flags.
47298 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47299             Aldy Hernandez  <aldyh@redhat.com>
47301         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47302         Change condition to [_SOFT_FLOAT].
47303         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47304         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47314         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47315         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47316         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47317         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47318         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47319         declaration.
47321 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47323         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47324         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47325         (__longjmp): Use LOAD_GP to load saved GPRs.
47326         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47327         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47328         (__sigsetjmp): Use SAVE_GP to save GPRs.
47330         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47331         Do not append -msoft-float.
47332         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47334 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47336         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47338 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47340         [BZ #15966]
47341         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47342         (_FPU_GETCW): Use initial "__" on variable and field names but not
47343         on macro parameter name.
47344         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47345         parentheses around reference to macro parameter.
47347 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47349         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47350         prototype.
47351         (ctype_startup): Use uint32_t in cast and sizeof for
47352         ctype->charnames.
47354 2013-09-11  Jia Liu  <proljc@gmail.com>
47356         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47357         __daddr_t_defined.
47358         [__FreeBSD__]: Likewise.
47360 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47362         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47363         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47364         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47365         (strchr): Remove __strchr_sse42 ifunc selection.
47366         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47367         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47369 2013-09-11  Will Newton  <will.newton@linaro.org>
47371         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47372         parameter to RES. Remove hardcoded 1000 value.
47373         * benchtests/bench-skeleton.c (main): Pass RES parameter
47374         to TIMING_INIT and multiply result by 1000.
47376 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47380 2013-09-11  Andreas Schwab  <schwab@suse.de>
47382         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47383         if not defined.
47384         (O_TMPFILE) [__USE_GNU]: Define.
47385         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47386         Define.
47388 2013-09-11  Will Newton  <will.newton@linaro.org>
47390         [BZ #15857]
47391         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47392         does not overflow.
47394 2013-09-11  Will Newton  <will.newton@linaro.org>
47396         [BZ #15856]
47397         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47398         does not overflow.
47400 2013-09-11  Will Newton  <will.newton@linaro.org>
47402         [BZ #15855]
47403         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47404         does not overflow.
47406 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47408         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47409         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47410         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47411         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47412         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47414 2013-09-10  Allan McRae  <allan@archlinux.org>
47416         [BZ #15748]
47417         * manual/arith.texi (Parsing of Floats): Clarify
47418         cross-reference.
47420         [BZ #15849]
47421         * manual/install.texi (Running make install): Mention
47422         --enable-pt-chown.
47423         * INSTALL: Regenerated.
47425 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47427         * csu/init-first.c (_init): Remove the !SHARED condition around
47428         FPU control word initialization.
47429         * elf/dl-support.c (_dl_fpu_control): New variable.
47430         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47431         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47432         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47433         * math/test-fpucw-static.c: New file.
47434         * math/test-fpucw-ieee.c: New file.
47435         * math/test-fpucw-ieee-static.c: New file.
47436         * math/Makefile (tests): Add `test-fpucw-ieee' and
47437         `$(tests-static)'.
47438         (tests-static): New variable.
47439         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47440         dependency to...
47441         [($(build-shared),yes)]
47442         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47443         ... this.
47444         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47445         New dependency.
47447 2013-09-09  Allan McRae  <allan@archlinux.org>
47449         [BZ #15939]
47450         * manual/string.texi (Collation Functions): Fix typo in
47451         strcoll example.
47452         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47454         [BZ #15893]
47455         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47457         [BZ #15892]
47458         * libio/memstream.c (open_memstream): Fix memory leak.
47459         * libio/wmemstream.c (open_wmemstream): Likewise.
47461         [BZ #15895]
47462         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47464 2013-09-09  Will Newton  <will.newton@linaro.org>
47466         * malloc/Makefile: Add tst-realloc to tests.
47467         * malloc/tst-realloc.c: New file.
47469 2013-09-09  Allan McRae  <allan@archlinux.org>
47471         [BZ #15844]
47472         * COPYING: Update from GNU website to fix FSF address.
47473         * COPYING.LIB: Likewise.
47475 2013-09-06  David S. Miller  <davem@davemloft.net>
47477         * po/zh_TW.po: Update Chinese (traditional) translation from
47478         translation project.
47480 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47481             Joseph Myers  <joseph@codesourcery.com>
47483         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47484         "localeinfo.h".
47485         (obstack_chunk_alloc): New macro.
47486         (obstack_chunk_free): Likewise.
47487         (record_offset): New function.
47488         (init_locale_data): Likewise.
47489         (align_locale_data): Likewise.
47490         (add_locale_empty): Likewise.
47491         (add_locale_raw_data): Likewise.
47492         (add_locale_raw_obstack): Likewise.
47493         (add_locale_string): Likewise.
47494         (add_locale_wstring): Likewise.
47495         (add_locale_uint32): Likewise.
47496         (add_locale_uint32_array): Likewise.
47497         (add_locale_char): Likewise.
47498         (start_locale_structure): Likewise.
47499         (end_locale_structure): Likewise.
47500         (start_locale_prelude): Likewise.
47501         (end_locale_prelude): Likewise.
47502         (write_locale_data): Take locale_file structure rather than an
47503         iovec.
47504         * locale/programs/locfile.h: Include "obstack.h".
47505         (struct locale_file): Change to store locale file contents instead
47506         of header.
47507         (init_locale_data): New prototype.
47508         (align_locale_data): Likewise.
47509         (add_locale_empty): Likewise.
47510         (add_locale_raw_data): Likewise.
47511         (add_locale_raw_obstack): Likewise.
47512         (add_locale_string): Likewise.
47513         (add_locale_wstring): Likewise.
47514         (add_locale_uint32): Likewise.
47515         (add_locale_uint32_array): Likewise.
47516         (add_locale_char): Likewise.
47517         (start_locale_structure): Likewise.
47518         (end_locale_structure): Likewise.
47519         (start_locale_prelude): Likewise.
47520         (end_locale_prelude): Likewise.
47521         (write_locale_data): Update prototype.
47522         * locale/programs/3level.h (struct TABLE): Remove result field.
47523         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47524         Use new locale_file interface.
47525         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47526         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47527         * locale/programs/ld-address.c (address_output): Use new
47528         locale_file interface.
47529         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47530         NO_ADD_LOCALE.
47531         (collate_finish): Don't call collseq_table_finalize.
47532         (collate_output): Use new locale_file interface.
47533         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47534         in file.
47535         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47536         (TABLE): Move defines earlier in file.
47537         (ELEMENT): Likewise.
47538         (DEFAULT): Likewise.
47539         (wctrans_table_add): Move macro and inline function earlier in
47540         file.
47541         (struct wctype_table): Move type earlier in file.
47542         (add_locale_wctype_table): New static prototype.
47543         (struct locale_ctype_t): Use logical types instead of struct iovec
47544         pointers for members.
47545         (ctype_output): Use new locale_file interface.
47546         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47547         new locale_file interface.
47548         (allocate_arrays): Update for use of new locale_file interface.
47549         * locale/programs/ld-identification.c (identification_output): Use
47550         new locale_file interface.
47551         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47552         * locale/programs/ld-messages.c (messages_output): Likewise.
47553         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47554         * locale/programs/ld-name.c (name_output): Likewise.
47555         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47556         * locale/programs/ld-paper.c (paper_output): Likewise.
47557         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47558         * locale/programs/ld-time.c (time_output): Likewise.
47560 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47562         * benchtests/Makefile: Add memrchr benchmark.
47563         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47564         benchmark as memrchr.
47565         * benchtests/bench-memrchr-ifunc.c: New file.
47566         * benchtests/bench-memrchr.c: New file.
47568 2013-09-06   Will Newton  <will.newton@linaro.org>
47570         * benchtests/Makefile (string-bench): Add memcpy.
47572 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47573             Cong Wang  <amwang@redhat.com>
47575         [BZ #15850]
47576         * sysdeps/unix/sysv/linux/bits/in.h
47577         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47578         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47579         before __USE_KERNEL_IPV6_DEFS uses.
47580         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47581         IPPROTO_BEETPH.
47582         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47583         sockaddr_in6, or ipv6_mreq.
47585 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47587         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47588         memory access for final bytes in some large inputs.
47589         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47591 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47593         * string/test-memrchr.c: New file.
47594         * string/test-memrchr-ifunc.c: New file.
47595         * string/Makefile: Add new memrchr testcase.
47597 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47599         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47600         fanotify_init returns EPERM.
47602 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47604         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47605         errors.
47606         (top level): Treat second token from macro or constant entries for
47607         allowed headers as allowed.
47608         * include/complex.h: Condition internal declarations on
47609         [!_ISOMAC].
47610         * include/fenv.h: Condition include of <stdbool.h> and internal
47611         declarations on [!_ISOMAC].
47613 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47615         [BZ #15923]
47616         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47618 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47620         * configure.in (--enable-versioning): Remove configure option.
47621         (libc_cv_asm_symver_directive): Remove configure test.
47622         (libc_cv_ld_version_script_option): Likewise.
47623         (VERSIONING): Remove variable and AC_SUBST.
47624         (DO_VERSIONING): Remove AC_DEFINE.
47625         * configure: Regenerated.
47626         * config.h.in (DO_VERSIONING): Remove macro.
47627         * Makerules [$(versioning) = yes]: Change conditionals to
47628         [$(build-shared) = yes].
47629         * config.make.in (versioning): Remove variable.
47630         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47631         [$(build-shared) = yes].
47632         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47633         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47634         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47635         [$(build-shared) = yes].
47636         * extra-lib.mk [$(versioning) = yes]: Likewise.
47637         * hurd/Makefile [$(versioning) = yes]: Likewise.
47638         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47639         [SHARED].
47640         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47641         [SHARED].
47642         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47643         [SHARED && !NO_HIDDEN].
47644         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47645         [SHARED].
47646         [SHARED && DO_VERSIONING]: Likewise..
47647         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47648         [$(build-shared) = yes].
47649         * manual/install.texi (--disable-versioning): Remove
47650         documentation.
47651         * INSTALL: Regenerated.
47652         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47653         to [SHARED].
47654         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47655         [$(build-shared) = yes].
47656         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47657         * sysdeps/i386/i686/multiarch/strstr-c.c
47658         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47659         [SHARED && !NO_HIDDEN].
47660         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47661         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47662         * sysdeps/powerpc/powerpc32/dl-machine.c
47663         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47664         * sysdeps/powerpc/powerpc32/sysdep.h
47665         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47666         to [SHARED && PIC && !NO_HIDDEN].
47667         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47668         conditional to [SHARED].
47670 2013-09-04   Will Newton  <will.newton@linaro.org>
47672         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47673         * benchtests/bench-string.h: Include bench-timing.h instead
47674         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47675         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47676         call to HP_TIMING_DIFF_INIT.
47677         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47678         instead of hp-timing.h macros.
47679         * benchtests/bench-memchr.c: Likewise.
47680         * benchtests/bench-memcmp.c: Likewise.
47681         * benchtests/bench-memcpy.c: Likewise.
47682         * benchtests/bench-memmem.c: Likewise.
47683         * benchtests/bench-memmove.c: Likewise.
47684         * benchtests/bench-memset.c: Likewise.
47685         * benchtests/bench-rawmemchr.c: Likewise.
47686         * benchtests/bench-strcasecmp.c: Likewise.
47687         * benchtests/bench-strcasestr.c: Likewise.
47688         * benchtests/bench-strcat.c: Likewise.
47689         * benchtests/bench-strchr.c: Likewise.
47690         * benchtests/bench-strcmp.c: Likewise.
47691         * benchtests/bench-strcpy.c: Likewise.
47692         * benchtests/bench-strcpy_chk.c: Likewise.
47693         * benchtests/bench-strlen.c: Likewise.
47694         * benchtests/bench-strncasecmp.c: Likewise.
47695         * benchtests/bench-strncat.c: Likewise.
47696         * benchtests/bench-strncmp.c: Likewise.
47697         * benchtests/bench-strncpy.c: Likewise.
47698         * benchtests/bench-strnlen.c: Likewise.
47699         * benchtests/bench-strpbrk.c: Likewise.
47700         * benchtests/bench-strrchr.c: Likewise.
47701         * benchtests/bench-strspn.c: Likewise.
47702         * benchtests/bench-strstr.c: Likewise.
47704 2013-09-04  Will Newton  <will.newton@linaro.org>
47706         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47708 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47710         [BZ #15427]
47711         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47712         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47713         * math/libm-test.inc (lgamma_test_data): Add more tests.
47714         * sysdeps/i386/fpu/libm-test-ulps: Update.
47715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47717 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47719         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47720         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47721         Add ifunc.
47722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47723         Add strcmp-sse2-unaligned
47724         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47726 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47728         * Versions.def (libc): Add GLIBC_2.19.
47730 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47732         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47733         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47735 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47737         [BZ #14155]
47738         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47739         intermediate calculations in recurrence.
47740         (__ieee754_ynf): Likewise.
47741         * math/libm-test.inc (jn_test_data): Do not allow spurious
47742         underflow exception.  Add more tests.
47743         (yn_test_data): Add more tests.
47744         * sysdeps/i386/fpu/libm-test-ulps: Update.
47745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47747 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47749         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47751 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47753         * csu/init-first.c: Fix then/than typos.
47754         * locale/programs/ld-collate.c: Likewise.
47755         * locale/programs/linereader.h: Likewise.
47756         * manual/charset.texi: Likewise.
47757         * manual/filesys.texi: Likewise.
47758         * manual/stdio.texi: Likewise.
47759         * manual/string.texi: Likewise.
47760         * stdlib/fmtmsg.c: Likewise.
47761         * sysdeps/i386/stpncpy.S: Likewise.
47762         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47763         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47764         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47765         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47767 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47769         * elf/dl-open.c: Fix typos.
47770         * iconvdata/gbbig5.c: Likewise.
47771         * iconvdata/iso-2022-jp.c: Likewise.
47772         * iconv/gconv_int.h: Likewise.
47773         * iconv/loop.c: Likewise.
47774         * nis/rpcsvc/nis.h: Likewise.
47775         * resolv/ns_name.c: Likewise.
47776         * stdio-common/vfscanf.c: Likewise.
47777         * streams/stropts.h: Likewise.
47778         * sunrpc/rpc_thread.c: Likewise.
47779         * sysdeps/i386/strpbrk.S: Likewise.
47780         * sysdeps/ieee754/k_standard.c: Likewise.
47781         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47782         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47783         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47784         * sysdeps/mach/hurd/profil.c: Likewise.
47785         * sysdeps/s390/dl-procinfo.h: Likewise.
47786         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47787         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47788         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47789         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47790         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47792 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47794         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47795         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47797 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47799         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47800         aix specific files.
47801         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47802         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47803         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47804         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47805         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47806         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47807         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47808         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47810 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47811             Roland McGrath  <roland@hack.frob.com>
47813         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47814         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47816 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47818         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47819         __executable_start symbol instead of _start.
47821 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47823         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47824         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47825         Move macros to...
47826         * sysdeps/gnu/ldsodefs.h: ... this new file.
47828         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47829         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47830         instead of ELFOSABI_LINUX.
47832         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47833         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47834         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47835         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47836         Likewise.
47837         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47838         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47839         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47840         Likewise.
47841         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47842         (ibm_extended_long_double): Add ieee_nan member.
47843         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47844         (do_test): New function.
47846         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47847         TEST_TRUNC.
47848         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47849         functions, renamed from truncdfsf_test, trunctfsf_test,
47850         trunctfdf_test.
47851         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47852         functions.
47853         (do_test): Run all these.
47855 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47857         * argp/argp-help.c: Fix typos.
47858         * argp/argp-parse.c: Likewise.
47859         * debug/backtracesyms.c: Likewise.
47860         * elf/elf.h: Likewise.
47861         * malloc/malloc.c: Likewise.
47862         * nis/nis_print.c: Likewise.
47863         * resolv/res_comp.c: Likewise.
47864         * stdlib/stdlib.h: Likewise.
47865         * sunrpc/clnt_tcp.c: Likewise.
47866         * sunrpc/clnt_udp.c: Likewise.
47867         * sunrpc/clnt_unix.c: Likewise.
47868         * sysdeps/unix/bsd/ptsname.c: Likewise.
47869         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47870         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47872         Likewise.
47873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47874         Likewise.
47875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47876         Likewise.
47877         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47879 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47881         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47882         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47884 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47886         [BZ #15897]
47887         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47888         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47889         ($(objpfx)bug-dl-leaf): New rule.
47890         ($(objpfx)bug-dl-leaf.so): Likewise.
47891         ($(objpfx)bug-dl-leaf.out): Likewise.
47892         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47893         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47894         * dlfcn/bug-dl-leaf.c: New test.
47895         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47896         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47897         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47898         (dlclose): Likewise.
47899         (dlmopen): Likewise.
47901 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47903         * include/netdb.h [!_ISOMAC]:
47904         Don't include <tls.h>.
47905         (h_errno, __libc_h_errno): Move declaration and macros out of
47906         [_LIBC_REENTRANT].
47908         * include/resolv.h [_RESOLV_H_]:
47909         Don't include <tls.h>.
47910         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47911         * resolv/res_libc.c: Don't include <tls.h>.
47912         (_res): Use __attribute__ ((nocommon)) in place of
47913         __attribute__ ((section (".bss"))).
47915         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47916         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47918         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47920         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47921         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47923         * resolv/res_mkquery.c: Include <sys/time.h>.
47925         * inet/ifreq.c: Moved to ...
47926         * sysdeps/unix/ifreq.c: ... here.
47927         * inet/ifreq.c: New file, true stub version.
47929         * socket/sa_len.c: New file.
47930         * socket/Makefile (aux): Add it.
47931         * sysdeps/unix/sysv/linux/Makefile
47932         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47933         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47934         and #include <socket/sa_len.c>.
47935         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47936         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47938         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47939         * bits/socket.h: ... here.
47941         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47942         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47943         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47945 2013-08-27  Andreas Schwab  <schwab@suse.de>
47947         [BZ #15736]
47948         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47949         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47950         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47951         * string/test-strcasecmp.c (test_main): Run tests in several
47952         locales.
47953         * string/test-strncasecmp.c (test_main): Likewise.
47955         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47956         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47957         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47958         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47959         (__strncasecmp_ssse3) [PIC]: Likewise.
47961 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47963         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47965         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47966         instead of explicitly declaring xdecrypt.
47967         * nis/nss_nis/nis-publickey.c: Likewise.
47969 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47971         [BZ #15890]
47972         * nscd/aicache.c: Include res_hconf.h.
47973         (addhstaiX): Initialize res_hconf.
47975 2013-08-26  Andreas Schwab  <schwab@suse.de>
47977         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47978         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47980 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47982         * nscd/aicache.c (addhstaiX): Fix indentation.
47984 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47986         * configure.ac: Quote $build_pt_chown test.
47987         * configure: Regenerated.
47989 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47991         [BZ #15532]
47992         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47993         * math/s_cexpf.c (__cexpf): Likewise.
47994         * math/s_cexpl.c (__cexpl): Likewise.
47995         * math/libm-test.inc (cexp_test_data): Correct expected return
47996         value for NaN + i0.  Add another test.
47998 2013-08-22  David S. Miller  <davem@davemloft.net>
48000         * po/ca.po: Update Catalan translation from translation project.
48001         * po/uk.po: Add Ukrainian translations from translation project.
48003 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48005         [BZ #15797]
48006         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48007         is infinite, not alongside NaN test.
48008         * math/s_fdimf.c (__fdimf): Likewise.
48009         * math/s_fdiml.c (__fdiml): Likewise.
48010         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48011         errno is unchanged.
48013 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48015         * argp/argp-help.c: Fix typos.
48016         * crypt/speeds.c: Likewise.
48017         * csu/check_fds.c: Likewise.
48018         * elf/dl-load.c: Likewise.
48019         * elf/dl-open.c: Likewise.
48020         * elf/reldep3.c: Likewise.
48021         * elf/reldep.c: Likewise.
48022         * elf/sprof.c: Likewise.
48023         * iconv/iconv_charmap.c: Likewise.
48024         * iconv/skeleton.c: Likewise.
48025         * iconv/strtab.c: Likewise.
48026         * io/lockf64.c: Likewise.
48027         * libio/libioP.h: Likewise.
48028         * resolv/gai_notify.c: Likewise.
48029         * resolv/ns_name.c: Likewise.
48030         * resolv/ns_samedomain.c: Likewise.
48031         * resolv/res_send.c: Likewise.
48032         * stdlib/random.c: Likewise.
48033         * sunrpc/rpc/xdr.h: Likewise.
48034         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48035         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48036         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48037         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48038         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48039         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48040         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48041         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48042         * sysdeps/mach/hurd/check_fds.c: Likewise.
48043         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48044         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48045         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48046         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48047         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48048         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48049         * sysdeps/pthread/aio_notify.c: Likewise.
48050         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48051         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48052         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48053         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48054         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48056 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48058         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48059         version if bit_Slow_SSE4_2 is set.
48060         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48061         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48063 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48065         [BZ #15867]
48066         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48067         trampoline stack frame information.
48068         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48069         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48070         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48071         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48072         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48073         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48074         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48075         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48076         sa_flags value.
48077         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48078         interrupting a syscall and set with option SA_SIGINFO.
48080 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48082         [BZ #15531]
48083         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48084         argument is infinite.
48085         * math/s_cprojf.c (__cprojf): Likewise.
48086         * math/s_cprojl.c (__cprojl): Likewise.
48087         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48088         * math/libm-test.inc (cproj_test_data): Add more tests.
48090         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48092         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48093         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48094         size.  Use __ffs to determine corresponding shift.
48096 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48097             Roland McGrath  <roland@hack.frob.com>
48099         * Makefile (INSTALL): Remove trailing blank lines from output of
48100         makeinfo.
48102 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48104         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48105         Align 32 bit compat elf_greg to 8 bytes.
48107 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48109         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48111 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48113         * string/strcoll_l.c (coll_seq): New structure.
48114         (get_next_seq_cached): New function.
48115         (get_next_seq): New function.
48116         (do_compare): New function.
48117         (STRCOLL): Use GNU style definition.  Simplify implementation
48118         by using get_next_seq, get_next_seq_cached and do_compare.
48120 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48122         [BZ #14699]
48123         CVE-2013-4237
48124         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48125         member.
48126         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48127         member.
48128         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48129         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48130         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48131         conditional.
48132         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48133         GETDENTS_64BIT_ALIGNED.
48134         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48135         * manual/filesys.texi (Reading/Closing Directory): Document
48136         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48137         strongly.
48138         * manual/conf.texi (Limits for Files): Add portability note to
48139         NAME_MAX, PATH_MAX.
48140         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48142 2013-08-13  Andreas Schwab  <schwab@suse.de>
48144         [BZ #15749]
48145         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48146         of fabs.
48147         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48148         LDBL_MAX_EXP >= 16384]: Add tests for it.
48150 2013-08-12  David S. Miller  <davem@davemloft.net>
48152         * version.h (RELEASE): Set to "development".
48153         (VERSION): Set to "2.18.90".
48154         * NEWS: Add 2.19 section.
48156 2013-08-03  David S. Miller  <davem@davemloft.net>
48158         * po/ko.po: Update Korean translation from translation project.
48160 2013-08-01  David S. Miller  <davem@davemloft.net>
48162         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48163         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48164         Bilka.
48166 2013-07-30  David S. Miller  <davem@davemloft.net>
48168         * po/fr.po: Update French translation from translation project.
48170 2013-07-28  David S. Miller  <davem@davemloft.net>
48172         * po/cs.po: Update Czech translation from translation project.
48174         * po/sv.po: Update Swedish translation from translation project.
48176 2013-07-27  David S. Miller  <davem@davemloft.net>
48178         * po/eo.po: Update Esperanto translation from translation project.
48180         * po/vi.po: Update Vietnamese translation from translation project.
48182         * po/de.po: Update German translation from translation project.
48184 2013-07-26  David S. Miller  <davem@davemloft.net>
48186         * po/bg.po: Update Bulgarian translation from translation project.
48188         * po/nl.po: Update Dutch translation from translation project.
48189         * po/pl.po: Update Polish translation from translation project.
48190         * po/ru.po: Update Russian translation from translation project.
48192 2013-07-24  David S. Miller  <davem@davemloft.net>
48194         * po/libc.pot: Update.
48196 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48198         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48199         variable page size.
48200         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48201         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48202         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48204 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48206         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48208 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48209             Andreas Schwab  <schwab@suse.de>
48210             Roland McGrath  <roland@hack.frob.com>
48211             Joseph Myers  <joseph@codesourcery.com>
48212             Carlos O'Donell  <carlos@redhat.com>
48214         [BZ #15755]
48215         * config.h.in: Define HAVE_PT_CHOWN.
48216         * config.make.in (build-pt-chown): New variable.
48217         * configure.in (--enable-pt_chown): New configure option.
48218         * configure: Regenerate.
48219         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48220         build-pt-chown is enabled.
48221         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48222         pt_chown to fix pty ownership.
48223         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48224         CLOSE_ALL_FDS.
48225         * manual/install.texi (Configuring and compiling): Mention
48226         --enable-pt_chown. Add @findex for grantpt.
48227         * INSTALL: Regenerate.
48229 2013-07-20  David S. Miller  <davem@davemloft.net>
48231         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48232         difference between 32-bit and 64-bit.
48234 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48236         [BZ #15711]
48237         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48238         Avoid system header dependency with -ffreestanding.
48239         ($(objpfx)bits/syscall%d): Likewise.
48241 2013-07-13  David S. Miller  <davem@davemloft.net>
48243         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48244         underflows from atanl/atan2l due to bug 15319.
48245         (casinh_test_data): Likewise.
48247 2013-07-07  David S. Miller  <davem@davemloft.net>
48249         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48251 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48253         * sysdeps/i386/fpu/libm-test-ulps: Update.
48254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48256 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48258         * configure.in (--enable-lock-elision): Fix message text.
48259         * INSTALL: Regenerate.
48260         * configure: Regenerate.
48262 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48266 2013-07-03  Andreas Jaeger  <aj@suse.de>
48268         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48269         define.
48270         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48271         (ptrace_peeksiginfo_args): Add.
48272         (__ptrace_peeksiginfo_flags): Add.
48273         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48274         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48275         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48277 2013-07-03  Allan McRae  <allan@archlinux.org>
48279         * sysdeps/i386/fpu/libm-test-ulps: Update.
48281 2013-07-02  David S. Miller  <davem@davemloft.net>
48283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48285 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48289 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48291         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48294 2013-07-02  Andi Kleen <ak@linux.intel.com>
48296         * config.h.in (ENABLE_LOCK_ELISION): Add.
48297         * configure.in (--enable-lock-elision): Add option.
48298         * manual/install.texi: Document --enable lock elision.
48299         * configure: Regenerate
48300         * INSTALL: Regenerate.
48302 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48304         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48305         SSE4.2 strcasecmp for libc.a.
48306         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48308 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48310         [BZ #13304]
48311         * soft-fp/op-common.h (_FP_FMA): New macro.
48312         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48313         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48314         (_FP_MUL_MEAT_1_imm): ... here.
48315         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48316         (_FP_MUL_MEAT_1_wide): ... here.
48317         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48318         (_FP_MUL_MEAT_1_hard): ... here.
48319         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48320         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48321         (_FP_MUL_MEAT_2_wide): ... here.
48322         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48323         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48324         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48325         (_FP_MUL_MEAT_2_gmp): ... here.
48326         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48327         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48328         (_FP_MUL_MEAT_4_wide): ... here.
48329         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48330         (_FP_MUL_MEAT_4_gmp): ... here.
48331         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48332         (_FP_WFRACBITS_DW_S): Likewise.
48333         (_FP_WFRACXBITS_DW_S): Likewise.
48334         (_FP_HIGHBIT_DW_S): Likewise.
48335         (FP_FMA_S): Likewise.
48336         (_FP_FRAC_HIGH_DW_S): Likewise.
48337         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48338         (_FP_WFRACBITS_DW_D): Likewise.
48339         (_FP_WFRACXBITS_DW_D): Likewise.
48340         (_FP_HIGHBIT_DW_D): Likewise.
48341         (FP_FMA_D): Likewise.
48342         (_FP_FRAC_HIGH_DW_D): Likewise.
48343         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48344         (_FP_WFRACBITS_DW_E): Likewise.
48345         (_FP_WFRACXBITS_DW_E): Likewise.
48346         (_FP_HIGHBIT_DW_E): Likewise.
48347         (FP_FMA_E): Likewise.
48348         (_FP_FRAC_HIGH_DW_E): Likewise.
48349         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48350         (_FP_WFRACBITS_DW_Q): Likewise.
48351         (_FP_WFRACXBITS_DW_Q): Likewise.
48352         (_FP_HIGHBIT_DW_Q): Likewise.
48353         (FP_FMA_Q): Likewise.
48354         (_FP_FRAC_HIGH_DW_Q): Likewise.
48355         * soft-fp/fmasf4.c: New file.
48356         * soft-fp/fmadf4.c: Likewise.
48357         * soft-fp/fmatf4.c: Likewise.
48359 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48361         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48362         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48363         Silvermont.
48364         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48365         macro.
48366         (index_Slow_SSE4_2): Likewise.
48367         (index_Prefer_PMINUB_for_stringop): Likewise.
48368         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48369         bit_Slow_SSE4_2 is set.
48370         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48371         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48373 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48375         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48376         rtld_global._dl_hwcap2.
48377         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48378         POWER8.
48379         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48380         POWER8 feature descriptions defined in _dl_hwcap2.
48381         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48382         string handling for POWER8 feature bits.
48383         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48384         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48385         _dl_powerpc_cap_flags.
48386         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48387         * sysdeps/powerpc/rtld-global-offsets.sym
48388         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48389         _dl_hwcap2 in the rtld_global_ro structure.
48391 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48393         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48394         hardware capabilities in support of AT_HWCAP2.
48395         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48396         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48397         GLRO(dl_hwcap2).
48398         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48399         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48400         explicitly the unknown a_type display mechanism is used.
48401         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48402         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48403         struct member.
48404         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48405         to macro prototype for AT_HWCAP2 support.
48406         * sysdeps/i386/dl-procinfo.h: Likewise.
48407         * sysdeps/s390/dl-procinfo.h: Likewise.
48408         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48409         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48410         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48411         return -1 for unknown a_type display fallback.
48412         * sysdeps/sparc/dl-procinfo.h: Likewise.
48413         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48414         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48416 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48418         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48419         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48421 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48423         [BZ #12492]
48424         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48425         mprotect making __stack_prot writable.
48427 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48428             Joseph Myers  <joseph@codesourcery.com>
48430         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48431         as being properly aligned.
48433 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48435         * dlfcn/modstatic5.c: New file.
48436         * dlfcn/tststatic5.c: New file.
48437         * dlfcn/Makefile (tests): Add tststatic5.
48438         (tests-static): Likewise.
48439         (modules-names): Add modstatic5.
48440         (tststatic5-ENV): New variable.
48441         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48443         [BZ #15022]
48444         * elf/dl-support.c (_dl_main_map): New variable.
48445         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48446         (_dl_nns, _dl_load_adds): Set to 1.
48447         (_dl_initial_searchlist): Refer to _dl_main_map.
48448         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48449         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48450         call to _dl_get_origin.
48451         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48452         around call_map.
48453         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48454         * dlfcn/modstatic3.c: New file.
48455         * dlfcn/tststatic3.c: New file.
48456         * dlfcn/tststatic4.c: New file.
48457         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48458         (tests-static): Likewise.
48459         (modules-names): Add modstatic3.
48460         (tststatic3-ENV, tststatic4-ENV): New variables.
48461         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48462         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48464 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48466         * configure.in (CC): Require GCC version 4.4 or later.
48467         * configure: Regenerated.
48468         * manual/install.texi (Tools for Compilation): Update GCC version
48469         requirement.
48470         * INSTALL: Regenerated.
48472 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48474         [BZ #15674]
48475         * string/test-memcmp.c (check2): New.
48476         (main): Call check2.
48478         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48480 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48482         [BZ #15022]
48483         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48484         over to...
48485         (dl_open_worker) [!SHARED]: ... here.
48487 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48489         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48491 2013-06-25  Richard Henderson  <rth@redhat.com>
48493         * locale/programs/locarchive.c: Include <libc-internal.h>
48495 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48497         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48498         trailing whitespace removed.
48500 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48502         [BZ #10283]
48503         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48504         * locale/programs/locarchive.c: Include libc-mmap.h.
48505         (prepare_address_space): Take two new outputs (the mmap base and len).
48506         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48507         values.
48508         (create_archive): Declare new mmap base and len values for
48509         prepare_address_space, and store the result in ah.
48510         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48511         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48512         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48513         Declare new mmap base and len values for
48514         prepare_address_space, and store the result in new_ah.
48515         (open_archive): Declare new mmap base and len values for
48516         prepare_address_space, and store the result in ah.
48517         (close_archive): If ah->mmap_base is not NULL, use that and
48518         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48519         * sysdeps/generic/libc-mmap.h: New file.
48521 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48523         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48524         (ALIGN_UP): Likewise.
48525         (PTR_ALIGN_DOWN): Likewise.
48526         (PTR_ALIGN_UP): Likewise.
48528 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48530         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48531         entry mapped to PPC_PLATFORM_POWER8.
48532         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48533         POWER8.
48534         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48535         (_dl_string_platform): Add case for exporting platform position for
48536         POWER8.
48537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48538         search path to sysdeps/powerpc/powerpc32/power8 directory.
48539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48540         search path to sysdeps/powerpc/powerpc64/power8 directory.
48541         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48542         power7 directories.
48543         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48544         power7 directories.
48546 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48548         * INSTALL: Regenerate.
48550         * nscd/connections.c (nscd_init): Fix comment.
48552 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48554         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48556         [BZ #15667]
48557         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48558         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48560 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48562         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48563         DL_DST_REQ_STATIC.
48564         (DL_DST_REQ_STATIC): Remove macro.
48566 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48568         [BZ #7006]
48569         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48570         with a shift of 0 bits.
48572 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48574         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48575         $(tststatic-ENV).
48577 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48579         [BZ #15655]
48580         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48582 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48584         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48585         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48586         accepts -fno-tree-loop-distribute-patterns.
48587         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48588         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48589         recursive call.
48590         * string/memset.c (memset): Likewise.
48591         * string/test-memmove.c (simple_memmove): Disable loop transformation
48592         to library calls.
48593         * string/test-memset.c (simple_memset): Likewise.
48594         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48595         * benchtests/bench-memset.c (simple_memset): Likewise.
48596         * configure: Regenerated.
48598 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48600         * math/test-misc.c (main): Ignore fesetround failure when failures
48601         of subsequent rounding tests would be ignored.
48603         [BZ #15654]
48604         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48605         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48606         * math/fegetenv.c (__fegetenv): Return 0.
48607         * math/fegetexcept.c (fegetexcept): Return 0.
48608         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48609         FE_TONEAREST.
48610         * math/feholdexcpt.c (feholdexcept): Return 0.
48611         * math/fesetenv.c (__fesetenv): Return 0.
48612         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48613         argument FE_TONEAREST.
48614         * math/feupdateenv.c (__feupdateenv): Return 0.
48615         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48617 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48619         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48620         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48621         ($(objpfx)rtld-%.os rules): Use them.
48623 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48625         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48626         fields.
48628 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48630         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48631         length of target pattern, then descending length of dependency pattern.
48632         * configure.in (AWK): Require gawk 3.1.2 or newer.
48633         * manual/install.texi (Tools for Compilation): Say that we do.
48634         * configure: Regenerated.
48636         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48637         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48638         * scripts/sysd-rules.awk: ... this new script.
48639         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48640         than a glob-style pattern.
48642 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48644         * math/test-misc.c (main): Do not treat incorrectly rounded
48645         conversions as failure unless ROUNDING_TESTS passes.
48647 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48649         [BZ #15631]
48650         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48651         restore exception state around main square root computation, then
48652         check for inexactness explicitly.
48654         * math/libm-test.inc (fma_test_data): Add another test.
48656 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48658         * manual/threads.texi (Non-POSIX Extensions): New document
48659         node.  Document pthread_getattr_default_np and
48660         pthread_setattr_default_np.
48662         * Versions.def (libpthread): Add GLIBC_2.18.
48663         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48665         Likewise.
48666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48667         Likewise.
48668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48669         Likewise.
48670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48671         Likewise.
48672         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48673         Likewise.
48674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48675         Likewise.
48676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48677         Likewise.
48678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48679         Likewise.
48680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48681         Likewise.
48683 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48686         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48688 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48689             H.J. Lu  <hjl.tools@gmail.com>
48691         [BZ #15627]
48692         * sysdeps/x86_64/rtld-memset.c: Remove file.
48693         * sysdeps/x86_64/rtld-memset.S: New file.
48695 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48697         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48698         (test_in_one_mode): Take arguments for whether the rounding mode
48699         is supported for each floating-point type.
48700         (do_test): Pass new arguments to test_in_one_mode using
48701         ROUNDING_TESTS.
48703 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48705         * posix/tst-waitid.c (do_test): Distinguish different instances of
48706         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48707         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48708         before entering the kernel for waitpid.
48710 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48712         * NEWS: Fix note on clock function precision.  Text by Roland
48713         McGrath.
48715 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48717         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48718         it into place only when and if the sanity check passes.
48720 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48722         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48723         output for whether conversion result is exact.  Take argument
48724         indicating whether type is IBM long double.
48725         (round_for_all): Change need_exact field to ibm_ld.
48726         * stdlib/tst-strtod-round.c (struct exactness): New type.
48727         (struct test): Change bool ld_ok field to struct exactness exact.
48728         (TEST): Update all definitions for change to field.
48729         (tests): Regenerate array contents.
48730         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48731         field value.  Check for IBM long double here.
48732         (do_test): Update calls to test_in_one_mode.
48734 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48736         [BZ #12515]
48737         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48738         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48740 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48742         [BZ #15605]
48743         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48744         generated by the compiler on loop optimizations.
48745         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48746         general definitions.
48748 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48750         * math/bug-nextafter.c: Include <math-tests.h>.
48751         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48752         the relevant type.
48753         * math/bug-nexttoward.c: Include <math-tests.h>.
48754         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48755         the relevant type.
48756         * math/test-misc.c: Include <math-tests.h>.
48757         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48758         the relevant type.
48760 2013-06-12  Andreas Jaeger  <aj@suse.de>
48762         * po/ia.po: Update Interlingua translation from translation
48763         project.
48765 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48767         * include/fenv.h: Include stdbool.h.
48768         (struct rm_ctx): New structure.
48769         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48770         Define macro.
48771         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48772         (SET_RESTORE_ROUNDF): Likewise.
48773         (SET_RESTORE_ROUNDL): Likewise.
48774         (SET_RESTORE_ROUND_NOEX): Likewise.
48775         (SET_RESTORE_ROUND_NOEXF): Likewise.
48776         (SET_RESTORE_ROUND_NOEXL): Likewise.
48777         (SET_RESTORE_ROUND_53BIT): Likewise.
48778         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48779         (libc_feresetround_noexf_ctx): Likewise.
48780         (libc_feresetround_noexl_ctx): Likewise.
48781         (libc_feholdsetround_53bit_ctx): Likewise.
48782         (libc_feresetround_53bit_ctx): Likewise.
48783         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48784         (libc_feholdexcept_setround_sse_ctx): New function.
48785         (libc_fesetenv_sse_ctx): Likewise.
48786         (libc_feupdateenv_sse_ctx): Likewise.
48787         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48788         (libc_feholdexcept_setround_387_ctx): Likewise.
48789         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48790         (libc_feholdsetround_387_prec_ctx): Likewise.
48791         (libc_feholdsetround_387_ctx): Likewise.
48792         (libc_feholdsetround_387_53bit_ctx): Likewise.
48793         (libc_feholdsetround_sse_ctx): Likewise.
48794         (libc_feresetround_sse_ctx): Likewise.
48795         (libc_feresetround_387_ctx): Likewise.
48796         (libc_feupdateenv_387_ctx): Likewise.
48797         (libc_feholdexcept_setroundf_ctx): Define macro.
48798         (libc_fesetenvf_ctx): Likewise.
48799         (libc_feupdateenvf_ctx): Likewise.
48800         (libc_feholdsetroundf_ctx): Likewise.
48801         (libc_feresetroundf_ctx): Likewise.
48802         (libc_feholdexcept_setround_ctx): Likewise.
48803         (libc_fesetenv_ctx): Likewise.
48804         (libc_feupdateenv_ctx): Likewise.
48805         (libc_feholdsetround_ctx): Likewise.
48806         (libc_feresetround_ctx): Likewise.
48807         (libc_feholdexcept_setroundl_ctx): Likewise.
48808         (libc_feupdateenvl_ctx): Likewise.
48809         (libc_feholdsetroundl_ctx): Likewise.
48810         (libc_feresetroundl_ctx): Likewise.
48811         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48812         (libc_feresetround_53bit_ctx): Likewise.
48814 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48816         * locale/iso-639.def: Convert to UTF-8.
48818 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48820         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48821         (EXCEPTION_TESTS_double): Likewise.
48822         (EXCEPTION_TESTS_long_double): Likewise.
48823         (EXCEPTION_TESTS): Likewise.
48824         * math/libm-test.inc (test_exceptions): Only test exceptions if
48825         EXCEPTION_TESTS (FLOAT).
48827 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48829         * benchtests/Makefile (string-bench): Add strcpy_chk and
48830         stpcpy_chk.
48831         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48832         * benchtests/bench-stpcpy_chk.c: New file.
48833         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48834         * benchtests/bench-strcpy_chk.c: New file.
48835         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48836         code.
48837         (do_test): Likewise.
48839 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48841         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48842         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48843         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48844         with tabs where appropriate.
48845         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48846         dl-procinfo.h.
48847         [PPC_PLATFORM_PPC440]: Likewise.
48848         [PPC_PLATFORM_PPC464]: Likewise.
48849         [PPC_PLATFORM_PPC476]: Likewise.
48850         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48851         ppc464, and ppc476 platform strings merging from ports/
48852         dl-procinfo.h.
48854 2013-06-11  Andreas Schwab  <schwab@suse.de>
48856         [BZ #14991]
48857         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48858         (from_ucs4_idx): Regenerate.
48859         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48860         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48861         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48862         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48863         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48864         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48865         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48866         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48867         from FROM_LOOP and TO_LOOP specific macros.
48868         (BODY): Handle combining characters.
48869         * iconvdata/BIG5HKSCS.irreversible: Update.
48870         * iconvdata/BIG5HKSCS.precomposed: New file.
48871         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48872         characters.
48873         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48875 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48877         * include/sys/time.h: Fix indentation and add copyright header.
48879         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48880         (do_test): Likewise.
48881         * string/test-memchr.c (do_one_test): Likewise.
48882         (do_test): Likewise.
48883         * string/test-memcmp.c (do_one_test): Likewise.
48884         (do_test): Likewise.
48885         * string/test-memcpy.c (do_one_test): Likewise.
48886         (do_test): Likewise.
48887         * string/test-memmem.c (do_one_test): Likewise.
48888         (do_test): Likewise.
48889         (do_random_tests): Likewise.
48890         * string/test-memmove.c (do_one_test): Likewise.
48891         (do_test): Likewise.
48892         * string/test-memset.c (do_one_test): Likewise.
48893         (do_test): Likewise.
48894         * string/test-rawmemchr.c (do_one_test): Likewise.
48895         (do_test): Likewise.
48896         * string/test-strcasecmp.c (do_one_test): Likewise.
48897         (do_test): Likewise.
48898         * string/test-strcasestr.c (do_one_test): Likewise.
48899         (do_test): Likewise.
48900         * string/test-strcat.c (do_one_test): Likewise.
48901         (do_test): Likewise.
48902         * string/test-strchr.c (do_one_test): Likewise.
48903         (do_test): Likewise.
48904         * string/test-strcmp.c (do_one_test): Likewise.
48905         (do_test): Likewise.
48906         * string/test-strcpy.c (do_one_test): Likewise.
48907         (do_test): Likewise.
48908         * string/test-string.h: Likewise.
48909         (test_init): Likewise.
48910         * string/test-strlen.c (do_one_test): Likewise.
48911         (do_test): Likewise.
48912         * string/test-strncasecmp.c (do_one_test): Likewise.
48913         (do_test): Likewise.
48914         * string/test-strncat.c (do_one_test): Likewise.
48915         (do_test): Likewise.
48916         * string/test-strncmp.c (do_one_test): Likewise.
48917         (do_test_limit): Likewise.
48918         (do_test): Likewise.
48919         * string/test-strncpy.c (do_one_test): Likewise.
48920         (do_test): Likewise.
48921         * string/test-strnlen.c (do_one_test): Likewise.
48922         (do_test): Likewise.
48923         * string/test-strpbrk.c (do_one_test): Likewise.
48924         (do_test): Likewise.
48925         * string/test-strrchr.c (do_one_test): Likewise.
48926         (do_test): Likewise.
48927         * string/test-strspn.c (do_one_test): Likewise.
48928         (do_test): Likewise.
48929         * string/test-strstr.c (do_one_test): Likewise.
48930         (do_test): Likewise.
48932         * benchtests/Makefile (string-bench): Add string benchmarks.
48933         * benchtests/bench-bcopy-ifunc.c: New file.
48934         * benchtests/bench-bcopy.c: New file.
48935         * benchtests/bench-bzero-ifunc.c: New file.
48936         * benchtests/bench-bzero.c: New file.
48937         * benchtests/bench-memccpy-ifunc.c: New file.
48938         * benchtests/bench-memccpy.c: New file.
48939         * benchtests/bench-memchr-ifunc.c: New file.
48940         * benchtests/bench-memchr.c: New file.
48941         * benchtests/bench-memcmp-ifunc.c: New file.
48942         * benchtests/bench-memcmp.c: New file.
48943         * benchtests/bench-memmem-ifunc.c: New file.
48944         * benchtests/bench-memmem.c: New file.
48945         * benchtests/bench-memmove-ifunc.c: New file.
48946         * benchtests/bench-memmove.c: New file.
48947         * benchtests/bench-mempcpy-ifunc.c: New file.
48948         * benchtests/bench-mempcpy.c: New file.
48949         * benchtests/bench-memset-ifunc.c: New file.
48950         * benchtests/bench-memset.c: New file.
48951         * benchtests/bench-rawmemchr-ifunc.c: New file.
48952         * benchtests/bench-rawmemchr.c: New file.
48953         * benchtests/bench-stpcpy-ifunc.c: New file.
48954         * benchtests/bench-stpcpy.c: New file.
48955         * benchtests/bench-stpncpy-ifunc.c: New file.
48956         * benchtests/bench-stpncpy.c: New file.
48957         * benchtests/bench-strcasecmp-ifunc.c: New file.
48958         * benchtests/bench-strcasecmp.c: New file.
48959         * benchtests/bench-strcasestr-ifunc.c: New file.
48960         * benchtests/bench-strcasestr.c: New file.
48961         * benchtests/bench-strcat-ifunc.c: New file.
48962         * benchtests/bench-strcat.c: New file.
48963         * benchtests/bench-strchr-ifunc.c: New file.
48964         * benchtests/bench-strchr.c: New file.
48965         * benchtests/bench-strchrnul-ifunc.c: New file.
48966         * benchtests/bench-strchrnul.c: New file.
48967         * benchtests/bench-strcmp-ifunc.c: New file.
48968         * benchtests/bench-strcmp.c: New file.
48969         * benchtests/bench-strcpy-ifunc.c: New file.
48970         * benchtests/bench-strcpy.c: New file.
48971         * benchtests/bench-strcspn-ifunc.c: New file.
48972         * benchtests/bench-strcspn.c: New file.
48973         * benchtests/bench-strlen-ifunc.c: New file.
48974         * benchtests/bench-strlen.c: New file.
48975         * benchtests/bench-strncasecmp-ifunc.c: New file.
48976         * benchtests/bench-strncasecmp.c: New file.
48977         * benchtests/bench-strncat-ifunc.c: New file.
48978         * benchtests/bench-strncat.c: New file.
48979         * benchtests/bench-strncmp-ifunc.c: New file.
48980         * benchtests/bench-strncmp.c: New file.
48981         * benchtests/bench-strncpy-ifunc.c: New file.
48982         * benchtests/bench-strncpy.c: New file.
48983         * benchtests/bench-strnlen-ifunc.c: New file.
48984         * benchtests/bench-strnlen.c: New file.
48985         * benchtests/bench-strpbrk-ifunc.c: New file.
48986         * benchtests/bench-strpbrk.c: New file.
48987         * benchtests/bench-strrchr-ifunc.c: New file.
48988         * benchtests/bench-strrchr.c: New file.
48989         * benchtests/bench-strspn-ifunc.c: New file.
48990         * benchtests/bench-strspn.c: New file.
48991         * benchtests/bench-strstr-ifunc.c: New file.
48992         * benchtests/bench-strstr.c: New file.
48994         * benchtests/Makefile: Disable parallel execution of targets.
48995         (string-bench): Add memcpy.
48996         (benchset): New variable to store a list of benchmark sets.
48997         (bench-func): Renamed from bench.
48998         (bench-set): New target.
48999         (bench): Depend on bench-func and bench-set.
49000         * benchtests/README: Add section on benchmark sets.
49001         * benchtests/bench-memcpy-ifunc.c: New file.
49002         * benchtests/bench-memcpy.c: New file.
49003         * benchtests/bench-string.h: New file.
49005 2013-06-11  Andreas Schwab  <schwab@suse.de>
49007         [BZ #15577]
49008         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49009         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49010         values in the triple.
49011         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49012         terminator in the group key.
49014 2013-06-11  Andreas Jaeger  <aj@suse.de>
49016         * po/zh_TW.po: Update Chinese (traditional) translation from
49017         translation project.
49019 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49021         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49022         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49023         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49024         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49025         (clock_getcpuclockid): Likewise.
49026         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49027         Add weak_alias and libc_hidden_def.
49028         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49029         * rt/clock_gettime.c (clock_gettime): Rename to
49030         __clock_gettime.  Add weak_alias and libc_hidden_def.
49031         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49032         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49033         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49034         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49035         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49036         Likewise.
49037         * rt/clock_settime.c (clock_settime): Rename to
49038         __clock_settime.  Add weak_alias and libc_hidden_def.
49039         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49041 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49043         * mach/err_boot.sub: Remove trailing whitespace.
49044         * mach/err_ipc.sub: Likewise.
49045         * mach/err_mach.sub: Likewise.
49047         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49048         (ROUNDING_TESTS_double): Likewise.
49049         (ROUNDING_TESTS_long_double): Likewise.
49050         (ROUNDING_TESTS): Likewise.
49051         * math/libm-test.inc: Include <math-tests.h>.
49052         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49053         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49054         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49055         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49057 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49059         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49060         of assigning.
49062 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49064         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49065         otherwise empty TRANS lines.
49066         * sysdeps/gnu/errlist.c: Regenerated.
49068         * catgets/gencat.c (error_print): Use (void) in function
49069         definition.
49070         * crypt/crypt_util.c (__init_des): Likewise.
49071         * crypt/speeds.c (Stop): Likewise.
49072         (main): Likewise.
49073         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49074         * inet/ruserpass.c (token): Likewise.
49075         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49076         * intl/localealias.c (extend_alias_table): Likewise.
49077         * intl/plural-exp.c (init_germanic_plural): Likewise.
49078         * libio/fcloseall.c (__fcloseall): Likewise.
49079         * libio/genops.c (_IO_flush_all): Likewise.
49080         (_IO_flush_all_linebuffered): Likewise.
49081         (_IO_cleanup): Likewise.
49082         (_IO_iter_begin): Likewise.
49083         (_IO_iter_end): Likewise.
49084         (_IO_list_lock): Likewise.
49085         (_IO_list_unlock): Likewise.
49086         (_IO_list_resetlock): Likewise.
49087         * libio/getchar.c (getchar): Likewise.
49088         * libio/getchar_u.c (getchar_unlocked): Likewise.
49089         * libio/getwchar.c (getwchar): Likewise.
49090         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49091         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49092         * login/getpt.c (__getpt): Likewise.
49093         * login/tst-utmp.c (main): Likewise.
49094         * malloc/hooks.c (__malloc_check_init): Likewise.
49095         * malloc/malloc.c (__malloc_stats): Likewise.
49096         * malloc/mtrace.c (tr_break): Likewise.
49097         (mtrace): Likewise.
49098         (muntrace): Likewise.
49099         * misc/fstab.c (endfsent): Likewise.
49100         * misc/getclktck.c (__getclktck): Likewise.
49101         * misc/getdtsz.c (__getdtablesize): Likewise.
49102         * misc/gethostid.c (gethostid): Likewise.
49103         * misc/getpagesize.c (__getpagesize): Likewise.
49104         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49105         (__get_nprocs): Likewise.
49106         (__get_phys_pages): Likewise.
49107         (__get_avphys_pages): Likewise.
49108         * misc/getttyent.c (getttyent): Likewise.
49109         (setttyent): Likewise.
49110         (endttyent): Likewise.
49111         * misc/getusershell.c (getusershell): Likewise.
49112         (endusershell): Likewise.
49113         (setusershell): Likewise.
49114         (initshells): Likewise.
49115         * misc/hsearch.c (__hdestroy): Likewise.
49116         * misc/sync.c (sync): Likewise.
49117         * misc/syslog.c (closelog_internal): Likewise.
49118         (closelog): Likewise.
49119         * misc/ttyslot.c (ttyslot): Likewise.
49120         * misc/vhangup.c (vhangup): Likewise.
49121         * posix/fork.c (__fork): Likewise.
49122         * posix/getegid.c (__getegid): Likewise.
49123         * posix/geteuid.c (__geteuid): Likewise.
49124         * posix/getgid.c (__getgid): Likewise.
49125         * posix/getpid.c (__getpid): Likewise.
49126         * posix/getppid.c (__getppid): Likewise.
49127         * posix/getuid.c (__getuid): Likewise.
49128         * posix/pause.c (pause): Likewise.
49129         * posix/setpgrp.c (setpgrp): Likewise.
49130         * posix/setsid.c (__setsid): Likewise.
49131         * posix/test-vfork.c (noop): Likewise.
49132         * resolv/gethnamaddr.c (_endhtent): Likewise.
49133         (_gethtent): Likewise.
49134         (ht_endhostent): Likewise.
49135         (gethostent): Likewise.
49136         (dns_service): Likewise.
49137         * stdlib/drand48.c (drand48): Likewise.
49138         * stdlib/lrand48.c (lrand48): Likewise.
49139         * stdlib/mrand48.c (mrand48): Likewise.
49140         * stdlib/rand.c (rand): Likewise.
49141         * stdlib/random.c (__random): Likewise.
49142         * stdlib/setenv.c (clearenv): Likewise.
49143         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49144         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49145         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49146         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49147         (__get_nprocs): Likewise.
49148         (__get_phys_pages): Likewise.
49149         (__get_avphys_pages): Likewise.
49150         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49151         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49152         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49153         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49154         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49155         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49156         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49157         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49158         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49159         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49160         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49161         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49162         * sysdeps/posix/clock.c (clock): Likewise.
49163         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49164         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49165         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49166         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49167         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49168         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49169         (__get_nprocs_conf): Likewise.
49170         (__get_phys_pages): Likewise.
49171         (__get_avphys_pages): Likewise.
49172         * time/clock.c (clock): Likewise.
49173         * time/tzset.c (__tzname_max): Likewise.
49175 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49177         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49178         (__bswap_32): Do not use "register".
49179         * crypt/crypt.c (_ufc_doit_r): Likewise.
49180         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49181         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49182         * gmon/gmon.c (__monstartup): Likewise.
49183         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49184         * hurd/hurdmalloc.c (more_memory): Likewise.
49185         (malloc): Likewise.
49186         (free): Likewise.
49187         (realloc): Likewise.
49188         (malloc_fork_prepare): Likewise.
49189         (malloc_fork_parent): Likewise.
49190         (malloc_fork_child): Likewise.
49191         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49192         (_svcauth_des): Likewise.
49193         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49194         * inet/inet_net.c (inet_network): Likewise.
49195         * inet/inet_netof.c (inet_netof): Likewise.
49196         * inet/rcmd.c (__validuser2_sa): Likewise.
49197         * io/fts.c (fts_open): Likewise.
49198         (fts_load): Likewise.
49199         (fts_close): Likewise.
49200         (fts_read): Likewise.
49201         (fts_children): Likewise.
49202         (fts_build): Likewise.
49203         (fts_stat): Likewise.
49204         (fts_sort): Likewise.
49205         (fts_alloc): Likewise.
49206         (fts_lfree): Likewise.
49207         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49208         (_IO_file_xsgetn): Likewise.
49209         (_IO_file_xsgetn_mmap): Likewise.
49210         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49211         (_IO_cookie_write): Likewise.
49212         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49213         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49214         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49215         * malloc/obstack.c (_obstack_begin): Likewise.
49216         (_obstack_begin_1): Likewise.
49217         (_obstack_newchunk): Likewise.
49218         (_obstack_allocated_p): Likewise.
49219         (obstack_free): Likewise.
49220         (_obstack_memory_used): Likewise.
49221         * misc/getttyent.c (getttynam): Likewise.
49222         (getttyent): Likewise.
49223         (skip): Likewise.
49224         (value): Likewise.
49225         * misc/getusershell.c (initshells): Likewise.
49226         * misc/syslog.c (__vsyslog_chk): Likewise.
49227         * misc/ttyslot.c (ttyslot): Likewise.
49228         * nis/nis_hash.c (__nis_hash): Likewise.
49229         * posix/fnmatch_loop.c (FCT): Likewise.
49230         * posix/getconf.c (print_all): Likewise.
49231         (main): Likewise.
49232         * posix/getopt.c (exchange): Likewise.
49233         * posix/glob.c (globfree): Likewise.
49234         (prefix_array): Likewise.
49235         (__glob_pattern_type): Likewise.
49236         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49237         (NS_GET32): Likewise.
49238         (NS_PUT16): Likewise.
49239         (NS_PUT32): Likewise.
49240         * resolv/gethnamaddr.c (getanswer): Likewise.
49241         (gethostbyname2): Likewise.
49242         (gethostbyaddr): Likewise.
49243         (_gethtent): Likewise.
49244         (_gethtbyname2): Likewise.
49245         (_gethtbyaddr): Likewise.
49246         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49247         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49248         * resolv/res_init.c (__res_vinit): Likewise.
49249         (net_mask): Likewise.
49250         * resolv/res_mkquery.c (outchar): Likewise.
49251         (PRINT): Likewise.
49252         * stdio-common/printf_fp.c (outchar): Likewise.
49253         (PRINT): Likewise.
49254         * stdio-common/printf_fphex.c (outchar): Likewise.
49255         (PRINT): Likewise.
49256         * stdio-common/printf_size.c (outchar): Likewise.
49257         (PRINT): Likewise.
49258         * stdio-common/test_rdwr.c (main): Likewise.
49259         * stdio-common/tfformat.c (matches): Likewise.
49260         * stdio-common/vfprintf.c (outchar): Likewise.
49261         (printf_unknown): Likewise.
49262         (buffered_vfprintf): Likewise.
49263         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49264         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49265         (ReadFile): Likewise.
49266         * stdlib/qsort.c (SWAP): Likewise.
49267         (_quicksort): Likewise.
49268         * stdlib/setenv.c (__add_to_environ): Likewise.
49269         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49270         * stdlib/strtol_l.c (__strtol_l): Likewise.
49271         * stdlib/tst-strtod.c (main): Likewise.
49272         * stdlib/tst-strtol.c (main): Likewise.
49273         * stdlib/tst-strtoll.c (main): Likewise.
49274         * string/bits/string2.h (__strcmp_cc): Likewise.
49275         (__strcmp_cg): Likewise.
49276         (__strcspn_c1): Likewise.
49277         (__strcspn_c2): Likewise.
49278         (__strcspn_c3): Likewise.
49279         (__strspn_c1): Likewise.
49280         (__strspn_c2): Likewise.
49281         (__strspn_c3): Likewise.
49282         (__strsep_1c): Likewise.
49283         (__strsep_2c): Likewise.
49284         (__strsep_3c): Likewise.
49285         * string/memccpy.c (__memccpy): Likewise.
49286         * string/stpcpy.c (__stpcpy): Likewise.
49287         * string/strcmp.c (strcmp): Likewise.
49288         * string/strrchr.c (strrchr): Likewise.
49289         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49290         Likewise.
49291         * sysdeps/mach/hurd/getcwd.c
49292         (_hurd_canonicalize_directory_name_internal): Likewise.
49293         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49294         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49295         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49296         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49297         Likewise, in both definitions.
49298         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49299         definitions.
49300         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49301         64] (__bswap_64): Likewise.
49302         * time/test_time.c (main): Likewise.
49303         * time/tzfile.c (__tzfile_read): Likewise.
49304         (__tzfile_compute): Likewise.
49305         * time/tzset.c (__tzset_parse_tz): Likewise.
49306         (tzset_internal): Likewise.
49307         (compute_change): Likewise.
49308         * wcsmbs/wcscat.c (__wcscat): Likewise.
49309         * wcsmbs/wcschr.c (wcschr): Likewise.
49310         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49311         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49312         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49313         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49314         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49315         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49316         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49317         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49318         * wcsmbs/wmemset.c (wmemset): Likewise.
49320 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49322         * scripts/config.guess: Update to version 2013-05-16.
49323         * scripts/config.sub: Update to version 2013-04-24.
49324         * scripts/install-sh: Update to version 2011-11-20.07.
49325         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49326         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49328 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49330         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49331         * elf/sln.c: Likewise.
49332         * hurd/hurd/ioctl.h: Likewise.
49333         * hurd/hurdmalloc.c: Likewise.
49334         * hurd/xattr.c: Likewise.
49335         * include/shlib-compat.h: Likewise.
49336         * inet/ruserpass.c: Likewise.
49337         * libio/iofgets_u.c: Likewise.
49338         * libio/iofgetws_u.c: Likewise.
49339         * locale/programs/ld-identification.c: Likewise.
49340         * locale/programs/ld-time.c: Likewise.
49341         * mach/msg-destroy.c: Likewise.
49342         * nss/nss_files/files-netgrp.c: Likewise.
49343         * resolv/res_data.c: Likewise.
49344         * soft-fp/op-1.h: Likewise.
49345         * soft-fp/op-2.h: Likewise.
49346         * soft-fp/op-4.h: Likewise.
49347         * soft-fp/op-common.h: Likewise.
49348         * stdio-common/printf_fphex.c: Likewise.
49349         * stdlib/strtod_l.c: Likewise.
49350         * sunrpc/rpc/clnt.h: Likewise.
49351         * sysdeps/generic/framestate.c: Likewise.
49352         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49353         * sysdeps/i386/bsd-setjmp.S: Likewise.
49354         * sysdeps/i386/__longjmp.S: Likewise.
49355         * sysdeps/i386/setjmp.S: Likewise.
49356         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49357         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49358         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49359         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49360         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49361         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49362         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49363         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49364         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49365         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49366         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49367         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49368         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49369         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49370         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49371         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49372         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49373         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49374         * sysdeps/ieee754/support.c: Likewise.
49375         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49376         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49377         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49378         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49379         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49380         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49381         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49382         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49383         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49384         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49385         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49386         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49387         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49388         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49389         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49390         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49391         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49394 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49396         * posix/transbug.c: Remove executable mode.
49398 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49400         * crypt/speeds.c: Remove trailing whitespace.
49401         * dlfcn/default.c: Likewise.
49402         * elf/ifuncdep2.c: Likewise.
49403         * elf/ifuncmain1.c: Likewise.
49404         * elf/ifuncmain1vis.c: Likewise.
49405         * elf/testobj.h: Likewise.
49406         * elf/tst-stackguard1.c: Likewise.
49407         * gmon/sys/gmon.h: Likewise.
49408         * hurd/hurdmsg.c: Likewise.
49409         * hurd/new-fd.c: Likewise.
49410         * hurd/ports-get.c: Likewise.
49411         * iconvdata/ibm1008_420.c: Likewise.
49412         * inet/tst-getni1.c: Likewise.
49413         * inet/tst-getni2.c: Likewise.
49414         * libio/ioungetc.c: Likewise.
49415         * libio/wfiledoalloc.c: Likewise.
49416         * manual/libm-err-tab.pl: Likewise.
49417         * math/w_dremf.c: Likewise.
49418         * misc/ftruncate.c: Likewise.
49419         * posix/bug-glob2.c: Likewise.
49420         * posix/tst-pcre.c: Likewise.
49421         * posix/wait4.c: Likewise.
49422         * resolv/README: Likewise.
49423         * resolv/res_debug.h: Likewise.
49424         * resolv/tst-inet_ntop.c: Likewise.
49425         * setjmp/bug269-setjmp.c: Likewise.
49426         * soft-fp/extended.h: Likewise.
49427         * soft-fp/op-1.h: Likewise.
49428         * soft-fp/op-2.h: Likewise.
49429         * soft-fp/op-4.h: Likewise.
49430         * soft-fp/op-8.h: Likewise.
49431         * soft-fp/testit.c: Likewise.
49432         * stdio-common/bug16.c: Likewise.
49433         * stdlib/random.c: Likewise.
49434         * sunrpc/rpcsvc/rquota.x: Likewise.
49435         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49436         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49437         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49438         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49439         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49440         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49441         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49442         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49443         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49444         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49445         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49446         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49447         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49448         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49449         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49450         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49451         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49452         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49453         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49454         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49455         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49456         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49457         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49458         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49459         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49460         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49461         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49462         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49463         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49464         * sysdeps/ieee754/s_lib_version.c: Likewise.
49465         * sysdeps/mach/hurd/check_fds.c: Likewise.
49466         * sysdeps/mach/hurd/getsockname.c: Likewise.
49467         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49468         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49469         * sysdeps/powerpc/bits/link.h: Likewise.
49470         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49471         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49472         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49473         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49474         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49475         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49476         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49477         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49478         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49479         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49480         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49481         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49482         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49483         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49484         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49485         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49486         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49487         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49488         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49489         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49490         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49491         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49492         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49493         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49494         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49495         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49496         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49497         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49498         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49499         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49500         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49501         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49502         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49503         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49504         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49505         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49506         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49507         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49508         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49509         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49510         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49511         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49512         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49513         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49514         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49515         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49516         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49517         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49518         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49519         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49520         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49521         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49522         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49523         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49524         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49525         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49526         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49527         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49528         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49529         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49530         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49531         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49532         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49533         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49534         * sysdeps/powerpc/sysdep.h: Likewise.
49535         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49536         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49537         * sysdeps/sh/dl-trampoline.S: Likewise.
49538         * sysdeps/sh/memset.S: Likewise.
49539         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49540         * sysdeps/sh/strlen.S: Likewise.
49541         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49542         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49543         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49544         * sysdeps/sparc/sparc32/rem.S: Likewise.
49545         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49546         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49547         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49548         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49549         * sysdeps/sparc/sparc32/urem.S: Likewise.
49550         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49551         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49552         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49553         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49554         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49555         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49556         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49557         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49558         * sysdeps/unix/bsd/times.c: Likewise.
49559         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49560         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49564         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49565         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49566         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49567         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49568         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49569         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49570         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49571         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49572         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49573         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49574         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49575         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49576         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49577         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49578         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49579         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49580         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49581         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49582         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49583         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49584         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49585         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49586         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49587         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49588         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49589         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49590         * sysdeps/x86_64/strcspn.S: Likewise.
49592 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49594         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49595         generated file.  Regenerate properly from gen-translit.pl.
49596         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49597         locale/C-translit.h.
49599 2013-06-05  Andreas Schwab  <schwab@suse.de>
49601         [BZ #15100]
49602         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49603         week as 6 instead of -1.
49604         * time/tst-strptime.c (day_tests): Add test case.
49606 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49608         * sysdeps/generic/math_private.h
49609         (libc_feholdexcept_setround_53bit): Replace with
49610         libc_feholdsetround_53bit.
49611         (libc_feupdateenv_53bit): Replace with
49612         libc_feresetround_53bit.
49613         (SET_RESTORE_ROUND_53BIT): Adjust.
49615 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49617         * string/test-strchrnul.c: Add copyright header.
49619         * posix/tst-getaddrinfo4.c: Increase test timeout.
49621 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49623         [BZ #15536]
49624         * math/libm-test.inc (MAX_EXP): Remove
49625         (MIN_EXP): Define.
49626         (ulp): Use MIN_EXP - MANT_DIG.
49627         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49629 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49631         * po/be.po: Revert last change.
49632         * po/zh_CN.po: Likewise.
49633         * po/header.pot: Likewise.
49635 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49637         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49638         link-libc-deps to empty as target-specific variable.
49639         * Makerules (link-libc-args): New variable.
49640         (libc-for-link): Likewise.
49641         (link-libc-deps): Likewise.
49642         (lib%.so): Depend on $(link-libc-deps).  Link with
49643         $(link-libc-args).
49644         (build-module): Link with $(link-libc-args).
49645         (build-module-asneeded): Likewise.
49646         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49647         list of objects.
49648         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49649         target-specific variable.
49650         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49651         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49652         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49653         libc.
49654         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49655         libc and ld.so.
49656         ($(objpfx)libpcprofile.so): Likewise.
49657         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49658         libc_nonshared.a.
49659         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49660         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49661         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49662         $(link-libc-deps).
49663         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49664         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49665         * login/Makefile ($(objpfx)libutil.so): Likewise.
49666         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49667         * math/Makefile ($(objpfx)libm.so): Likewise.
49668         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49669         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49670         variable instead of depending directly on libc.
49671         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49672         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49673         $(link-libc-deps).
49674         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49675         libc.
49676         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49677         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49678         ($(objpfx)libanl.so): Likewise.
49679         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49680         ld.so.
49681         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49682         $(link-libc-deps).
49683         * sysdeps/i386/fpu/Makefile: Remove file.
49684         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49685         ($(objpfx)libm.so): Remove dependency on ld.so.
49687 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49689         [BZ # 15553]
49690         * nis/yp_xdr.c (XDRMAXNAME): Define.
49691         (XDRMAXRECORD): Define.
49692         (xdr_domainname): Use XDRMAXNAME.
49693         (xdr_mapname): Likewise.
49694         (xdr_peername): Likewise.
49695         (xdr_keydat): Use XDRMAXRECORD.
49696         (xdr_valdat): Likewise.
49698 2013-05-30  Jeff Law  <law@redhat.com>
49700         [BZ #14256]
49701         * manual/errno.texi (ESTALE): Update to account for more than
49702         just NFS file systems.
49703         * sysdeps/gnu/errlist.c: Regenerated.
49705 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49707         [BZ #15465]
49708         * elf/Makefile (tests): Add tst-null-argv.
49709         (modules-names):  Add tst-null-argv-lib.
49710         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49711         (tst-null-argv-ENV): Set environment for tst-null-argv.
49712         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49713         (RTLD_PROGNAME): New macro.
49714         * elf/tst-null-argv.c: New test case.
49715         * elf/tst-null-argv-lib.c: Library for test case.
49716         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49717         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49718         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49719         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49720         * elf/dl-init.c (call_init): Likewise.
49721         (_dl_init): Likewise.
49722         * elf/dl-load.c (print_search_path): Likewise.
49723         (_dl_map_object): Likewise.
49724         * elf/dl-lookup.c (do_lookup_x): Likewise.
49725         (add_dependency): Likewise.
49726         (_dl_lookup_symbol_x): Likewise.
49727         (_dl_debug_bindings): Likewise.
49728         * elf/dl-open.c (_dl_show_scope): Likewise.
49729         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49730         * elf/dl-version.c (match_symbol): Likewise.
49731         (_dl_check_map_versions): Likewise.
49732         * elf/rtld.c (dl_main): Likewise.
49733         (print_unresolved): Use RTLD_PROGNAME.
49734         (print_missing_version): Likewise.
49735         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49736         (elf_machine_rela): Likewise.
49737         * sysdeps/powerpc/powerpc32/dl-machine.c
49738         (__process_machine_rela): Likewise.
49739         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49740         Likewise.
49741         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49742         Likewise.
49743         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49744         Likewise.
49745         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49746         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49747         Likewise.
49748         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49749         Likewise.
49750         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49752 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49754         * po/be.po: Add descriptive title.
49755         * po/zh_CN.po: Likewise.
49756         * po/header.pot: Likewise.
49758 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49760         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49761         error message.
49762         (enlarge_archive): Likewise.
49764 2013-05-28  Ben North  <ben@redfrontdoor.org>
49766         * manual/arith.texi (frexp): It is the magnitude of the return
49767         value which lies in [0.5, 1), not the return value itself.
49769 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49773 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49775         * stdio-common/bug26.c (main): Correct fscanf template.
49777         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49778         declare _dl_skip_args.
49780         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49781         Don't declare.
49783         * manual/platform.texi: Add missing @end deftypefun.
49785 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49787         [BZ #15529]
49788         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49789         bit of mantissa of 2^16382.
49790         * math/libm-test.inc (hypot_test_data): Add more tests.
49792         * math/libm-test.inc: Add drem and pow10 to list of tested
49793         functions.
49794         (pow10_test): New function.
49795         (drem_test): Likewise.
49796         (drem_test_tonearest): Likewise.
49797         (drem_test_towardzero): Likewise.
49798         (drem_test_downward): Likewise.
49799         (drem_test_upward): Likewise.
49800         (main): Call the new functions.
49802         * math/libm-test.inc (finite_test_data): Remove.
49803         (finite_test): Run tests from isfinite_test_data.
49804         (gamma_test_data): Remove.
49805         (gamma_test): Run tests from lgamma_test_data.
49806         * sysdeps/i386/fpu/libm-test-ulps: Update.
49807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49809 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49811         * manual/platform.texi: Add PowerPC PPR function set documentation.
49812         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49813         implementation.
49815 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49817         * math/libm-test.inc (MAX_EXP): Define.
49818         (ULPDIFF): Define.
49819         (ulp): New function.
49820         (check_float_internal): Use ULPDIFF.
49821         (cpow_test): Disable failing test.
49822         (check_ulp): Test ulp() implemetnation.
49823         (main): Call check_ulp before starting tests.
49825 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49827         * math/gen-libm-test.pl (generate_testfile): Do not handle
49828         START_DATA and END_DATA.
49829         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49830         END_DATA.
49831         (acos_tonearest_test_data): Likewise.
49832         (acos_towardzero_test_data): Likewise.
49833         (acos_downward_test_data): Likewise.
49834         (acos_upward_test_data): Likewise.
49835         (acosh_test_data): Likewise.
49836         (asin_test_data): Likewise.
49837         (asin_tonearest_test_data): Likewise.
49838         (asin_towardzero_test_data): Likewise.
49839         (asin_downward_test_data): Likewise.
49840         (asin_upward_test_data): Likewise.
49841         (asinh_test_data): Likewise.
49842         (atan_test_data): Likewise.
49843         (atanh_test_data): Likewise.
49844         (atan2_test_data): Likewise.
49845         (cabs_test_data): Likewise.
49846         (cacos_test_data): Likewise.
49847         (cacosh_test_data): Likewise.
49848         (carg_test_data): Likewise.
49849         (casin_test_data): Likewise.
49850         (casinh_test_data): Likewise.
49851         (catan_test_data): Likewise.
49852         (catanh_test_data): Likewise.
49853         (cbrt_test_data): Likewise.
49854         (ccos_test_data): Likewise.
49855         (ccosh_test_data): Likewise.
49856         (ceil_test_data): Likewise.
49857         (cexp_test_data): Likewise.
49858         (cimag_test_data): Likewise.
49859         (clog_test_data): Likewise.
49860         (clog10_test_data): Likewise.
49861         (conj_test_data): Likewise.
49862         (copysign_test_data): Likewise.
49863         (cos_test_data): Likewise.
49864         (cos_tonearest_test_data): Likewise.
49865         (cos_towardzero_test_data): Likewise.
49866         (cos_downward_test_data): Likewise.
49867         (cos_upward_test_data): Likewise.
49868         (cosh_test_data): Likewise.
49869         (cosh_tonearest_test_data): Likewise.
49870         (cosh_towardzero_test_data): Likewise.
49871         (cosh_downward_test_data): Likewise.
49872         (cosh_upward_test_data): Likewise.
49873         (cpow_test_data): Likewise.
49874         (cproj_test_data): Likewise.
49875         (creal_test_data): Likewise.
49876         (csin_test_data): Likewise.
49877         (csinh_test_data): Likewise.
49878         (csqrt_test_data): Likewise.
49879         (ctan_test_data): Likewise.
49880         (ctan_tonearest_test_data): Likewise.
49881         (ctan_towardzero_test_data): Likewise.
49882         (ctan_downward_test_data): Likewise.
49883         (ctan_upward_test_data): Likewise.
49884         (ctanh_test_data): Likewise.
49885         (ctanh_tonearest_test_data): Likewise.
49886         (ctanh_towardzero_test_data): Likewise.
49887         (ctanh_downward_test_data): Likewise.
49888         (ctanh_upward_test_data): Likewise.
49889         (erf_test_data): Likewise.
49890         (erfc_test_data): Likewise.
49891         (exp_test_data): Likewise.
49892         (exp_tonearest_test_data): Likewise.
49893         (exp_towardzero_test_data): Likewise.
49894         (exp_downward_test_data): Likewise.
49895         (exp_upward_test_data): Likewise.
49896         (exp10_test_data): Likewise.
49897         (exp2_test_data): Likewise.
49898         (expm1_test_data): Likewise.
49899         (fabs_test_data): Likewise.
49900         (fdim_test_data): Likewise.
49901         (finite_test_data): Likewise.
49902         (floor_test_data): Likewise.
49903         (fma_test_data): Likewise.
49904         (fma_towardzero_test_data): Likewise.
49905         (fma_downward_test_data): Likewise.
49906         (fma_upward_test_data): Likewise.
49907         (fmax_test_data): Likewise.
49908         (fmin_test_data): Likewise.
49909         (fmod_test_data): Likewise.
49910         (fpclassify_test_data): Likewise.
49911         (frexp_test_data): Likewise.
49912         (gamma_test_data): Likewise.
49913         (hypot_test_data): Likewise.
49914         (ilogb_test_data): Likewise.
49915         (isfinite_test_data): Likewise.
49916         (isgreater_test_data): Likewise.
49917         (isgreaterequal_test_data): Likewise.
49918         (isinf_test_data): Likewise.
49919         (isless_test_data): Likewise.
49920         (islessequal_test_data): Likewise.
49921         (islessgreater_test_data): Likewise.
49922         (isnan_test_data): Likewise.
49923         (isnormal_test_data): Likewise.
49924         (issignaling_test_data): Likewise.
49925         (isunordered_test_data): Likewise.
49926         (j0_test_data): Likewise.
49927         (j1_test_data): Likewise.
49928         (jn_test_data): Likewise.
49929         (ldexp_test_data): Likewise.
49930         (lgamma_test_data): Likewise.
49931         (lrint_test_data): Likewise.
49932         (lrint_tonearest_test_data): Likewise.
49933         (lrint_towardzero_test_data): Likewise.
49934         (lrint_downward_test_data): Likewise.
49935         (lrint_upward_test_data): Likewise.
49936         (llrint_test_data): Likewise.
49937         (llrint_tonearest_test_data): Likewise.
49938         (llrint_towardzero_test_data): Likewise.
49939         (llrint_downward_test_data): Likewise.
49940         (llrint_upward_test_data): Likewise.
49941         (log_test_data): Likewise.
49942         (log10_test_data): Likewise.
49943         (log1p_test_data): Likewise.
49944         (log2_test_data): Likewise.
49945         (logb_test_data): Likewise.
49946         (logb_downward_test_data): Likewise.
49947         (lround_test_data): Likewise.
49948         (llround_test_data): Likewise.
49949         (modf_test_data): Likewise.
49950         (nearbyint_test_data): Likewise.
49951         (nextafter_test_data): Likewise.
49952         (nexttoward_test_data): Likewise.
49953         (pow_test_data): Likewise.
49954         (pow_tonearest_test_data): Likewise.
49955         (pow_towardzero_test_data): Likewise.
49956         (pow_downward_test_data): Likewise.
49957         (pow_upward_test_data): Likewise.
49958         (remainder_test_data): Likewise.
49959         (remainder_tonearest_test_data): Likewise.
49960         (remainder_towardzero_test_data): Likewise.
49961         (remainder_downward_test_data): Likewise.
49962         (remainder_upward_test_data): Likewise.
49963         (remquo_test_data): Likewise.
49964         (rint_test_data): Likewise.
49965         (rint_tonearest_test_data): Likewise.
49966         (rint_towardzero_test_data): Likewise.
49967         (rint_downward_test_data): Likewise.
49968         (rint_upward_test_data): Likewise.
49969         (round_test_data): Likewise.
49970         (scalb_test_data): Likewise.
49971         (scalbn_test_data): Likewise.
49972         (scalbln_test_data): Likewise.
49973         (signbit_test_data): Likewise.
49974         (sin_test_data): Likewise.
49975         (sin_tonearest_test_data): Likewise.
49976         (sin_towardzero_test_data): Likewise.
49977         (sin_downward_test_data): Likewise.
49978         (sin_upward_test_data): Likewise.
49979         (sincos_test_data): Likewise.
49980         (sinh_test_data): Likewise.
49981         (sinh_tonearest_test_data): Likewise.
49982         (sinh_towardzero_test_data): Likewise.
49983         (sinh_downward_test_data): Likewise.
49984         (sinh_upward_test_data): Likewise.
49985         (sqrt_test_data): Likewise.
49986         (tan_test_data): Likewise.
49987         (tan_tonearest_test_data): Likewise.
49988         (tan_towardzero_test_data): Likewise.
49989         (tan_downward_test_data): Likewise.
49990         (tan_upward_test_data): Likewise.
49991         (tanh_test_data): Likewise.
49992         (tgamma_test_data): Likewise.
49993         (trunc_test_data): Likewise.
49994         (y0_test_data): Likewise.
49995         (y1_test_data): Likewise.
49996         (yn_test_data): Likewise.
49997         (significand_test_data): Likewise.
49999         * math/gen-libm-test.pl (@functions): Remove variable.
50000         (generate_testfile): Don't handle START and END lines.
50001         * math/libm-test.inc (START): New macro.
50002         (END): Likewise.
50003         (END_COMPLEX): Likewise.
50004         (acos_test): Use END macro without arguments.
50005         (acos_test_tonearest): Likewise.
50006         (acos_test_towardzero): Likewise.
50007         (acos_test_downward): Likewise.
50008         (acos_test_upward): Likewise.
50009         (acosh_test): Likewise.
50010         (asin_test): Likewise.
50011         (asin_test_tonearest): Likewise.
50012         (asin_test_towardzero): Likewise.
50013         (asin_test_downward): Likewise.
50014         (asin_test_upward): Likewise.
50015         (asinh_test): Likewise.
50016         (atan_test): Likewise.
50017         (atanh_test): Likewise.
50018         (atan2_test): Likewise.
50019         (cabs_test): Likewise.
50020         (cacos_test): Use END_COMPLEX macro without arguments.
50021         (cacosh_test): Likewise.
50022         (carg_test): Use END macro without arguments.
50023         (casin_test): Use END_COMPLEX macro without arguments.
50024         (casinh_test): Likewise.
50025         (catan_test): Likewise.
50026         (catanh_test): Likewise.
50027         (cbrt_test): Use END macro without arguments.
50028         (ccos_test): Use END_COMPLEX macro without arguments.
50029         (ccosh_test): Likewise.
50030         (ceil_test): Use END macro without arguments.
50031         (cexp_test): Use END_COMPLEX macro without arguments.
50032         (cimag_test): Use END macro without arguments.
50033         (clog_test): Use END_COMPLEX macro without arguments.
50034         (clog10_test): Likewise.
50035         (conj_test): Likewise.
50036         (copysign_test): Use END macro without arguments.
50037         (cos_test): Likewise.
50038         (cos_test_tonearest): Likewise.
50039         (cos_test_towardzero): Likewise.
50040         (cos_test_downward): Likewise.
50041         (cos_test_upward): Likewise.
50042         (cosh_test): Likewise.
50043         (cosh_test_tonearest): Likewise.
50044         (cosh_test_towardzero): Likewise.
50045         (cosh_test_downward): Likewise.
50046         (cosh_test_upward): Likewise.
50047         (cpow_test): Use END_COMPLEX macro without arguments.
50048         (cproj_test): Likewise.
50049         (creal_test): Use END macro without arguments.
50050         (csin_test): Use END_COMPLEX macro without arguments.
50051         (csinh_test): Likewise.
50052         (csqrt_test): Likewise.
50053         (ctan_test): Likewise.
50054         (ctan_test_tonearest): Likewise.
50055         (ctan_test_towardzero): Likewise.
50056         (ctan_test_downward): Likewise.
50057         (ctan_test_upward): Likewise.
50058         (ctanh_test): Likewise.
50059         (ctanh_test_tonearest): Likewise.
50060         (ctanh_test_towardzero): Likewise.
50061         (ctanh_test_downward): Likewise.
50062         (ctanh_test_upward): Likewise.
50063         (erf_test): Use END macro without arguments.
50064         (erfc_test): Likewise.
50065         (exp_test): Likewise.
50066         (exp_test_tonearest): Likewise.
50067         (exp_test_towardzero): Likewise.
50068         (exp_test_downward): Likewise.
50069         (exp_test_upward): Likewise.
50070         (exp10_test): Likewise.
50071         (exp2_test): Likewise.
50072         (expm1_test): Likewise.
50073         (fabs_test): Likewise.
50074         (fdim_test): Likewise.
50075         (finite_test): Likewise.
50076         (floor_test): Likewise.
50077         (fma_test): Likewise.
50078         (fma_test_towardzero): Likewise.
50079         (fma_test_downward): Likewise.
50080         (fma_test_upward): Likewise.
50081         (fmax_test): Likewise.
50082         (fmin_test): Likewise.
50083         (fmod_test): Likewise.
50084         (fpclassify_test): Likewise.
50085         (frexp_test): Likewise.
50086         (gamma_test): Likewise.
50087         (hypot_test): Likewise.
50088         (ilogb_test): Likewise.
50089         (isfinite_test): Likewise.
50090         (isgreater_test): Likewise.
50091         (isgreaterequal_test): Likewise.
50092         (isinf_test): Likewise.
50093         (isless_test): Likewise.
50094         (islessequal_test): Likewise.
50095         (islessgreater_test): Likewise.
50096         (isnan_test): Likewise.
50097         (isnormal_test): Likewise.
50098         (issignaling_test): Likewise.
50099         (isunordered_test): Likewise.
50100         (j0_test): Likewise.
50101         (j1_test): Likewise.
50102         (jn_test): Likewise.
50103         (ldexp_test): Likewise.
50104         (lgamma_test): Likewise.
50105         (lrint_test): Likewise.
50106         (lrint_test_tonearest): Likewise.
50107         (lrint_test_towardzero): Likewise.
50108         (lrint_test_downward): Likewise.
50109         (lrint_test_upward): Likewise.
50110         (llrint_test): Likewise.
50111         (llrint_test_tonearest): Likewise.
50112         (llrint_test_towardzero): Likewise.
50113         (llrint_test_downward): Likewise.
50114         (llrint_test_upward): Likewise.
50115         (log_test): Likewise.
50116         (log10_test): Likewise.
50117         (log1p_test): Likewise.
50118         (log2_test): Likewise.
50119         (logb_test): Likewise.
50120         (logb_test_downward): Likewise.
50121         (lround_test): Likewise.
50122         (llround_test): Likewise.
50123         (modf_test): Likewise.
50124         (nearbyint_test): Likewise.
50125         (nextafter_test): Likewise.
50126         (nexttoward_test): Likewise.
50127         (pow_test): Likewise.
50128         (pow_test_tonearest): Likewise.
50129         (pow_test_towardzero): Likewise.
50130         (pow_test_downward): Likewise.
50131         (pow_test_upward): Likewise.
50132         (remainder_test): Likewise.
50133         (remainder_test_tonearest): Likewise.
50134         (remainder_test_towardzero): Likewise.
50135         (remainder_test_downward): Likewise.
50136         (remainder_test_upward): Likewise.
50137         (remquo_test): Likewise.
50138         (rint_test): Likewise.
50139         (rint_test_tonearest): Likewise.
50140         (rint_test_towardzero): Likewise.
50141         (rint_test_downward): Likewise.
50142         (rint_test_upward): Likewise.
50143         (round_test): Likewise.
50144         (scalb_test): Likewise.
50145         (scalbn_test): Likewise.
50146         (scalbln_test): Likewise.
50147         (signbit_test): Likewise.
50148         (sin_test): Likewise.
50149         (sin_test_tonearest): Likewise.
50150         (sin_test_towardzero): Likewise.
50151         (sin_test_downward): Likewise.
50152         (sin_test_upward): Likewise.
50153         (sincos_test): Likewise.
50154         (sinh_test): Likewise.
50155         (sinh_test_tonearest): Likewise.
50156         (sinh_test_towardzero): Likewise.
50157         (sinh_test_downward): Likewise.
50158         (sinh_test_upward): Likewise.
50159         (sqrt_test): Likewise.
50160         (tan_test): Likewise.
50161         (tan_test_tonearest): Likewise.
50162         (tan_test_towardzero): Likewise.
50163         (tan_test_downward): Likewise.
50164         (tan_test_upward): Likewise.
50165         (tanh_test): Likewise.
50166         (tgamma_test): Likewise.
50167         (trunc_test): Likewise.
50168         (y0_test): Likewise.
50169         (y1_test): Likewise.
50170         (yn_test): Likewise.
50171         (significand_test): Likewise.
50173 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50175         [BZ #15381]
50176         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50178 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50180         [BZ #14894]
50181         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50182         __ppc_mdoio and __ppc_mdoom.
50183         * manual/platform.texi: Document new functions __ppc_yield,
50184         __ppc_mdoio and __ppc_mdoom.
50186 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50188         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50189         (main): Mention "tls" pseudo-hwcap is legacy.
50190         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50192 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50194         * math/gen-libm-test.pl (parse_args): Output only string of
50195         arguments as text for test name, not full call or descriptions of
50196         tests for extra outputs.
50197         (generate_testfile): Do not pass function name to parse_args.
50198         Generate this_func variable from START.
50199         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50200         field to arg_str.
50201         (struct test_ff_f_data): Likewise.
50202         (test_ff_f_data_nexttoward): Likewise.
50203         (struct test_fi_f_data): Likewise.
50204         (struct test_fl_f_data): Likewise.
50205         (struct test_if_f_data): Likewise.
50206         (struct test_fff_f_data): Likewise.
50207         (struct test_c_f_data): Likewise.
50208         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50209         (struct test_fF_f1_data): Likewise.
50210         (struct test_ffI_f1_data): Likewise.
50211         (struct test_c_c_data): Rename test_name field to arg_str.
50212         (struct test_cc_c_data): Likewise.
50213         (struct test_f_i_data): Likewise.
50214         (struct test_ff_i_data): Likewise.
50215         (struct test_f_l_data): Likewise.
50216         (struct test_f_L_data): Likewise.
50217         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50218         and extra2_name.
50219         (COMMON_TEST_SETUP): New macro.
50220         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50221         (COMMON_TEST_CLEANUP): Likewise.
50222         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50223         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50224         macros.
50225         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50226         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50227         macros.
50228         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50229         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50230         cleanup macros.
50231         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50232         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50233         macros.
50234         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50235         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50236         macros.
50237         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50238         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50239         cleanup macros.
50240         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50241         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50242         cleanup macros.
50243         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50244         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50245         cleanup macros.
50246         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50247         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50248         macros.
50249         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50250         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50251         macros.
50252         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50253         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50254         macros.
50255         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50256         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50257         cleanup macros.
50258         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50259         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50260         cleanup macros.
50261         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50262         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50263         macros.
50264         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50265         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50266         cleanup macros.
50267         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50268         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50269         macros.
50270         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50271         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50272         macros.
50273         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50274         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50275         cleanup macros.
50276         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50278 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50280         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50281         to _sifields.sigfault.
50282         (si_addr_lsb): Define new macro.
50283         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50284         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50285         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50287 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50289         [BZ #15441]
50290         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50291         returns -1.
50292         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50293         null return -1.
50294         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50295         loading the domain.
50297 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50299         * math/gen-libm-test.pl (parse_args): Do not include expected
50300         result in test name.
50301         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50302         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50303         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50304         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50305         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50308 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50310         * benchtests/Makefile: Sort function entries.
50312         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50313         tanh, asinh, acosh, atanh.
50314         * benchtests/acos-inputs: New file.
50315         * benchtests/acosh-inputs: New file.
50316         * benchtests/asin-inputs: New file.
50317         * benchtests/asinh-inputs: New file.
50318         * benchtests/atanh-inputs: New file.
50319         * benchtests/cosh-inputs: New file.
50320         * benchtests/log-inputs: New file.
50321         * benchtests/sinh-inputs: New file.
50322         * benchtests/tanh-inputs: New file.
50324 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50326         [BZ #15339]
50327         * posix/tst-getaddrinfo4.c: New test.
50328         * posix/Makefile (tests): Add it.
50330 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50332         [BZ #15339]
50333         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50334         when no services were used.
50335         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50336         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50338 2013-05-21  Andreas Schwab  <schwab@suse.de>
50340         [BZ #15014]
50341         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50342         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50343         successful.
50344         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50345         redundant variable declarations and reallocation of buffer when
50346         parsing as IPv6 address.  Always set NSS status when called from
50347         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50348         buffer too small.  Correct computation of needed size.
50349         * nss/Makefile (tests): Add test-digits-dots.
50350         * nss/test-digits-dots.c: New test.
50352 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50354         * benchtests/Makefile: Remove instructions for adding
50355         benchmark tests.
50356         * benchtests/README: New file to explain how to execute and
50357         enhance the benchmark tests.
50359 2013-05-21  Andreas Schwab  <schwab@suse.de>
50361         [BZ #15493]
50362         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50363         * setjmp/tst-sigsetjmp.c: New test.
50365 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50367         * sysdeps/x86_64/memset.S (memset): New implementation.
50368         (__bzero): Likewise.
50369         (__memset_tail): New function.
50371 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50373         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50374         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50375         __memcpy_sse2_unaligned ifunc selection.
50376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50377         Add memcpy-sse2-unaligned.S.
50378         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50379         Add: __memcpy_sse2_unaligned.
50381 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50383         [BZ #15490]
50384         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50385         math_force_eval before restoring floating-point envrionment.
50386         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50387         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50388         Likewise.
50389         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50390         <math_private.h>.
50391         (__nearbyintl): Use math_force_eval before restoring
50392         floating-point environment.
50393         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50395         * math/gen-libm-test.pl (special_functions): Remove.
50396         (parse_args): Don't handle TEST_extra.  Handle functions with no
50397         return value.
50398         * math/libm-test.inc (struct test_sincos_data): Replace with
50399         struct test_fFF_11_data.
50400         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50401         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50402         (sincos_test_data): Change element type to struct
50403         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50404         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50405         RUN_TEST_LOOP_sincos.
50406         * math/README.libm-test: Don't mention special handling of
50407         individual functions.
50408         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50409         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50410         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50411         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50412         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50415         * math/gen-libm-test.pl (get_variable): Remove function.
50416         (parse_args): Don't show pointer parameters to call in test
50417         names.  Use "extra output N" in test names for extra outputs
50418         rather than naming variables.
50420 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50422         [BZ #15488]
50423         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50424         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50425         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50426         double tests.
50427         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50428         disable.
50429         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50430         check_long_double.
50432         * math/gen-libm-test.pl (@tests): Remove variable.
50433         ($count): Likewise.
50434         (new_test): Remove function.
50435         (show_exceptions): New function.
50436         (special_functions): Use show_exceptions instead of new_test.
50437         (parse_args): Likewise.
50438         (generate_testfile): Pass only function name in generated call to
50439         print_max_error or print_complex_max_error.
50440         (get_ulps): Do not handle complex tests specially.
50441         (output_test): Rename to ...
50442         (get_all_ulps_for_test): ... this.  Return a string rather than
50443         printing to a file.  Require ulps to be present.
50444         (output_ulps): Generate arrays rather than #defines.
50445         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50446         (struct ulp_data): New type.
50447         (BUILD_COMPLEX_ULP): Remove macro.
50448         (compare_ulp_data): New function.
50449         (find_ulps): Likewise.
50450         (find_test_ulps): Likewise.
50451         (find_function_ulps): Likewise.
50452         (find_complex_function_ulps): Likewise.
50453         (print_max_error): Determine allowed ulps using
50454         find_function_ulps.
50455         (print_complex_max_error): Determine allowed ulps using
50456         find_complex_function_ulps.
50457         (check_float_internal): Determine max ulps using find_test_ulps.
50458         (check_float): Do not take max_ulp parameter.  Update call to
50459         check_float_internal.
50460         (check_complex): Likewise.
50461         (check_int): Do not take max_ulp parameter.
50462         (check_long): Likewise.
50463         (check_bool): Likewise.
50464         (check_longlong): Likewise.
50465         (struct test_f_f_data): Remove max_ulp field.
50466         (struct test_ff_f_data): Likewise.
50467         (struct test_ff_f_data_nexttoward): Likewise.
50468         (struct test_fi_f_data): Likewise.
50469         (struct test_fl_f_data): Likewise.
50470         (struct test_if_f_data): Likewise.
50471         (struct test_fff_f_data): Likewise.
50472         (struct test_c_f_data): Likewise.
50473         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50474         (struct test_fF_f1_data): Likewise.
50475         (struct test_ffI_f1_data): Likewise.
50476         (struct test_c_c_data): Remove max_ulp field.
50477         (struct test_cc_c_data): Likewise.
50478         (struct test_f_i_data): Likewise.
50479         (struct test_ff_i_data): Likewise.
50480         (struct test_f_l_data): Likewise.
50481         (struct test_f_L_data): Likewise.
50482         (struct test_sincos_data): Likewise.
50483         (RUN_TEST_f_f): Do not handle ulps.
50484         (RUN_TEST_LOOP_f_f): Likewise.
50485         (RUN_TEST_2_f): Likewise.
50486         (RUN_TEST_LOOP_2_f): Likewise.
50487         (RUN_TEST_fff_f): Likewise.
50488         (RUN_TEST_LOOP_fff_f): Likewise.
50489         (RUN_TEST_c_f): Likewise.
50490         (RUN_TEST_LOOP_c_f): Likewise.
50491         (RUN_TEST_f_f1): Likewise.
50492         (RUN_TEST_LOOP_f_f1): Likewise.
50493         (RUN_TEST_fF_f1): Likewise.
50494         (RUN_TEST_LOOP_fF_f1): Likewise.
50495         (RUN_TEST_fI_f1): Likewise.
50496         (RUN_TEST_LOOP_fI_f1): Likewise.
50497         (RUN_TEST_ffI_f1): Likewise.
50498         (RUN_TEST_LOOP_ffI_f1): Likewise.
50499         (RUN_TEST_c_c): Likewise.
50500         (RUN_TEST_LOOP_c_c): Likewise.
50501         (RUN_TEST_cc_c): Likewise.
50502         (RUN_TEST_LOOP_cc_c): Likewise.
50503         (RUN_TEST_f_i): Likewise.
50504         (RUN_TEST_LOOP_f_i): Likewise.
50505         (RUN_TEST_f_i_tg): Likewise.
50506         (RUN_TEST_LOOP_f_i_tg): Likewise.
50507         (RUN_TEST_ff_i_tg): Likewise.
50508         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50509         (RUN_TEST_f_b): Likewise.
50510         (RUN_TEST_LOOP_f_b): Likewise.
50511         (RUN_TEST_f_b_tg): Likewise.
50512         (RUN_TEST_LOOP_f_b_tg): Likewise.
50513         (RUN_TEST_f_l): Likewise.
50514         (RUN_TEST_LOOP_f_l): Likewise.
50515         (RUN_TEST_f_L): Likewise.
50516         (RUN_TEST_LOOP_f_L): Likewise.
50517         (RUN_TEST_sincos): Likewise.
50518         (RUN_TEST_LOOP_sincos): Likewise.
50520 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50522         [BZ #15480]
50523         [BZ #15485]
50524         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50525         main case of finite arguments, set rounding mode to FE_TONEAREST
50526         and discard exceptions.
50527         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50528         exceptions.
50529         (remainder_tonearest_test_data): New variable.
50530         (remainder_test_tonearest): New function.
50531         (remainder_towardzero_test_data): New variable.
50532         (remainder_test_towardzero): New function.
50533         (remainder_downward_test_data): New variable.
50534         (remainder_test_downward): New function.
50535         (remainder_upward_test_data): New variable.
50536         (remainder_test_upward): New function.
50537         (main): Call the new test functions.
50539         * math/libm-test.inc (struct test_f_f1_data): Remove field
50540         extra_init.
50541         (struct test_fF_f1_data): Likewise.
50542         (struct test_ffI_f1_data): Likewise.
50543         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50544         based on value of EXTRA_EXPECTED.
50545         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50546         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50547         EXTRA_VAR based on value of EXTRA_EXPECTED.
50548         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50549         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50550         EXTRA_VAR based on value of EXTRA_EXPECTED.
50551         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50552         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50553         EXTRA_VAR based on value of EXTRA_EXPECTED.
50554         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50555         * math/gen-libm-test.pl (parse_args): Don't output initializers
50556         for extra output values.
50558         * math/libm-test.inc (check_int): Expect result to be exactly
50559         equal to expected value and do not handle ulps.
50560         (check_long): Likewise.
50561         (check_longlong): Likewise.
50563         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50564         exceptions.
50565         (cimag_test_data): Likewise.
50566         (conj_test_data): Likewise.
50567         (copysign_test_data): Likewise.
50568         (cproj_test_data): Likewise.
50569         (creal_test_data): Likewise.
50570         (fabs_test_data): Likewise.
50571         (fdim_test_data): Likewise.
50572         (finite_test_data): Likewise.
50573         (floor_test_data): Likewise.
50574         (fmax_test_data): Likewise.
50575         (fmin_test_data): Likewise.
50576         (fmod_test_data): Likewise.
50577         (fpclassify_test_data): Likewise.
50578         (frexp_test_data): Likewise.
50579         (ilogb_test_data): Likewise.
50580         (isfinite_test_data): Likewise.
50581         (isgreater_test_data): Likewise.
50582         (isgreaterequal_test_data): Likewise.
50583         (isinf_test_data): Likewise.
50584         (isless_test_data): Likewise.
50585         (islessequal_test_data): Likewise.
50586         (islessgreater_test_data): Likewise.
50587         (isnan_test_data): Likewise.
50588         (isnormal_test_data): Likewise.
50589         (issignaling_test_data): Likewise.
50590         (isunordered_test_data): Likewise.
50591         (ldexp_test_data): Likewise.
50592         (lrint_test_data): Likewise.
50593         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50594         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50595         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50596         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50597         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50598         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50599         test input.
50600         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50601         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50602         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50603         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50604         that test input.
50605         (lrint_downward_test_data): Test for "inexact" exceptions.
50606         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50607         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50608         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50609         test input.
50610         (lrint_upward_test_data): Test for "inexact" exceptions.
50611         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50612         test input.
50613         (llrint_test_data): Test for "inexact" exceptions.
50614         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50615         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50616         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50617         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50618         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50619         (llrint_downward_test_data): Test for "inexact" exceptions.
50620         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50621         (llrint_upward_test_data): Test for "inexact" exceptions.
50622         (logb_test_data): Likewise.
50623         (logb_downward_test_data): Likewise.
50624         (nextafter_test_data): Likewise.
50625         (nexttoward_test_data): Likewise.
50626         (remainder_test_data): Likewise.
50627         (remquo_test_data): Likewise.
50628         (scalbn_test_data): Likewise.
50629         (scalbln_test_data): Likewise.
50630         (signbit_test_data): Likewise.
50631         (sqrt_test_data): Likewise.
50632         (significand_test_data): Likewise.
50634 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50636         [BZ #15424]
50637         * benchtests/bench-modf.c (struct args): Mark arg0 as
50638         volatile.
50639         * scripts/bench.pl: Mark members of struct args as volatile.
50641 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50643         [BZ # 15497]
50644         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50645         negative infinity on POWER6 or lower.
50646         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50648 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50650         [BZ #15442]
50651         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50652         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50653         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50654         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50655         (_FP_SETQNAN): New macro.
50656         (_FP_SETQNAN_SEMIRAW): Likewise.
50657         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50658         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50659         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50660         (FP_EXTEND): Use _FP_FRAC_SNANP.
50661         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50662         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50663         into account.
50664         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50665         New macro.
50666         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50667         Likewise.
50669 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50671         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50672         with DIVIDE_BY_ZERO_EXCEPTION.
50673         (gamma_test_data): Likewise.
50674         (lgamma_test_data): Likewise.
50675         (log_test_data): Likewise.
50676         (log10_test_data): Likewise.
50677         (log2_test_data): Likewise.
50678         (tgamma_test_data): Likewise.
50680         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50681         (acos_test_tonearest): Likewise.
50682         (acos_test_towardzero): Likewise.
50683         (acos_test_downward): Likewise.
50684         (acos_test_upward): Likewise.
50685         (acosh_test): Likewise.
50686         (asin_test): Likewise.
50687         (asin_test_tonearest): Likewise.
50688         (asin_test_towardzero): Likewise.
50689         (asin_test_downward): Likewise.
50690         (asin_test_upward): Likewise.
50691         (asinh_test): Likewise.
50692         (atan_test): Likewise.
50693         (atanh_test): Likewise.
50694         (atan2_test): Likewise.
50695         (cabs_test): Likewise.
50696         (cacos_test): Likewise.
50697         (cacosh_test): Likewise.
50698         (casin_test): Likewise.
50699         (casinh_test): Likewise.
50700         (catan_test): Likewise.
50701         (catanh_test): Likewise.
50702         (cbrt_test): Likewise.
50703         (ccos_test): Likewise.
50704         (ccosh_test): Likewise.
50705         (cexp_test): Likewise.
50706         (clog_test): Likewise.
50707         (clog10_test): Likewise.
50708         (cos_test): Likewise.
50709         (cos_test_tonearest): Likewise.
50710         (cos_test_towardzero): Likewise.
50711         (cos_test_downward): Likewise.
50712         (cos_test_upward): Likewise.
50713         (cosh_test): Likewise.
50714         (cosh_test_tonearest): Likewise.
50715         (cosh_test_towardzero): Likewise.
50716         (cosh_test_downward): Likewise.
50717         (cosh_test_upward): Likewise.
50718         (cpow_test): Likewise.
50719         (csin_test): Likewise.
50720         (csinh_test): Likewise.
50721         (csqrt_test): Likewise.
50722         (ctan_test): Likewise.
50723         (ctan_test_tonearest): Likewise.
50724         (ctan_test_towardzero): Likewise.
50725         (ctan_test_downward): Likewise.
50726         (ctan_test_upward): Likewise.
50727         (ctanh_test): Likewise.
50728         (ctanh_test_tonearest): Likewise.
50729         (ctanh_test_towardzero): Likewise.
50730         (ctanh_test_downward): Likewise.
50731         (ctanh_test_upward): Likewise.
50732         (erf_test): Likewise.
50733         (erfc_test): Likewise.
50734         (exp_test): Likewise.
50735         (exp_test_tonearest): Likewise.
50736         (exp_test_towardzero): Likewise.
50737         (exp_test_downward): Likewise.
50738         (exp_test_upward): Likewise.
50739         (exp10_test): Likewise.
50740         (exp2_test): Likewise.
50741         (expm1_test): Likewise.
50742         (fmod_test): Likewise.
50743         (gamma_test): Likewise.
50744         (hypot_test): Likewise.
50745         (j0_test): Likewise.
50746         (j1_test): Likewise.
50747         (jn_test): Likewise.
50748         (lgamma_test): Likewise.
50749         (log_test): Likewise.
50750         (log10_test): Likewise.
50751         (log1p_test): Likewise.
50752         (log2_test): Likewise.
50753         (logb_test_downward): Likewise.
50754         (pow_test): Likewise.
50755         (pow_test_tonearest): Likewise.
50756         (pow_test_towardzero): Likewise.
50757         (pow_test_downward): Likewise.
50758         (pow_test_upward): Likewise.
50759         (remainder_test): Likewise.
50760         (remquo_test): Likewise.
50761         (sin_test): Likewise.
50762         (sin_test_tonearest): Likewise.
50763         (sin_test_towardzero): Likewise.
50764         (sin_test_downward): Likewise.
50765         (sin_test_upward): Likewise.
50766         (sincos_test): Likewise.
50767         (sinh_test): Likewise.
50768         (sinh_test_tonearest): Likewise.
50769         (sinh_test_towardzero): Likewise.
50770         (sinh_test_downward): Likewise.
50771         (sinh_test_upward): Likewise.
50772         (sqrt_test): Likewise.
50773         (tan_test): Likewise.
50774         (tan_test_tonearest): Likewise.
50775         (tan_test_towardzero): Likewise.
50776         (tan_test_downward): Likewise.
50777         (tan_test_upward): Likewise.
50778         (tanh_test): Likewise.
50779         (tgamma_test): Likewise.
50780         (y0_test): Likewise.
50781         (y1_test): Likewise.
50782         (yn_test): Likewise.
50784         * math/gen-libm-test.pl (adjust_arg): Remove function.
50785         (special_function): Remove argument $in_func.  Only handle
50786         generating output for tables of tests, not inside functions.
50787         (parse_args): Likewise.
50788         (generate_testfile): Remove variable $in_func.  Update call to
50789         parse_args.
50790         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50791         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50792         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50793         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50794         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50795         (MAX_VALUE_INIT): Rename macro to max_value.
50796         (MIN_VALUE_INIT): Rename macro to min_value.
50797         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50798         (plus_zero): Remove variable.
50799         (minus_zero): Likewise.
50800         (plus_infty): Likewise.
50801         (minus_infty): Likewise.
50802         (qnan_value): Likewise.
50803         (max_value): Likewise.
50804         (min_value): Likewise.
50805         (min_subnorm_value): Likewise.
50807 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50809         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50810         uint64_t or uint32_t usage.
50811         * crypt/sha256-block.c: Likewise.
50812         * crypt/sha256-crypt.c: Likewise.
50813         * crypt/sha256.c: Likewise.
50814         * crypt/sha512-block.c: Likewise.
50815         * crypt/sha512-crypt.c: Likewise.
50816         * crypt/sha512.c: Likewise.
50817         * debug/backtrace-tst.c: Likewise.
50818         * debug/pcprofiledump.c: Likewise.
50819         * elf/cache.c: Likewise.
50820         * elf/dl-cache.c: Likewise.
50821         * elf/dl-misc.c: Likewise.
50822         * elf/dl-profile.c: Likewise.
50823         * elf/dl-support.c: Likewise.
50824         * elf/ldconfig.c: Likewise.
50825         * elf/sprof.c: Likewise.
50826         * iconv/dummy-repertoire.c: Likewise.
50827         * iconv/iconv_charmap.c: Likewise.
50828         * iconv/skeleton.c: Likewise.
50829         * iconvdata/8bit-generic.c: Likewise.
50830         * iconvdata/cp737.h: Likewise.
50831         * iconvdata/cp775.h: Likewise.
50832         * iconvdata/ibm1008.h: Likewise.
50833         * iconvdata/ibm1025.h: Likewise.
50834         * iconvdata/ibm1046.h: Likewise.
50835         * iconvdata/ibm1097.h: Likewise.
50836         * iconvdata/ibm1112.h: Likewise.
50837         * iconvdata/ibm1122.h: Likewise.
50838         * iconvdata/ibm1123.h: Likewise.
50839         * iconvdata/ibm1124.h: Likewise.
50840         * iconvdata/ibm1129.h: Likewise.
50841         * iconvdata/ibm1130.h: Likewise.
50842         * iconvdata/ibm1132.h: Likewise.
50843         * iconvdata/ibm1133.h: Likewise.
50844         * iconvdata/ibm1137.h: Likewise.
50845         * iconvdata/ibm1140.h: Likewise.
50846         * iconvdata/ibm1141.h: Likewise.
50847         * iconvdata/ibm1142.h: Likewise.
50848         * iconvdata/ibm1143.h: Likewise.
50849         * iconvdata/ibm1144.h: Likewise.
50850         * iconvdata/ibm1145.h: Likewise.
50851         * iconvdata/ibm1146.h: Likewise.
50852         * iconvdata/ibm1147.h: Likewise.
50853         * iconvdata/ibm1148.h: Likewise.
50854         * iconvdata/ibm1149.h: Likewise.
50855         * iconvdata/ibm1153.h: Likewise.
50856         * iconvdata/ibm1154.h: Likewise.
50857         * iconvdata/ibm1155.h: Likewise.
50858         * iconvdata/ibm1156.h: Likewise.
50859         * iconvdata/ibm1157.h: Likewise.
50860         * iconvdata/ibm1158.h: Likewise.
50861         * iconvdata/ibm1160.h: Likewise.
50862         * iconvdata/ibm1161.h: Likewise.
50863         * iconvdata/ibm1162.h: Likewise.
50864         * iconvdata/ibm1163.h: Likewise.
50865         * iconvdata/ibm1164.h: Likewise.
50866         * iconvdata/ibm1166.h: Likewise.
50867         * iconvdata/ibm1167.h: Likewise.
50868         * iconvdata/ibm12712.h: Likewise.
50869         * iconvdata/ibm1390.h: Likewise.
50870         * iconvdata/ibm1399.h: Likewise.
50871         * iconvdata/ibm16804.h: Likewise.
50872         * iconvdata/ibm4517.h: Likewise.
50873         * iconvdata/ibm4899.h: Likewise.
50874         * iconvdata/ibm4909.h: Likewise.
50875         * iconvdata/ibm4971.h: Likewise.
50876         * iconvdata/ibm5347.h: Likewise.
50877         * iconvdata/ibm803.h: Likewise.
50878         * iconvdata/ibm856.h: Likewise.
50879         * iconvdata/ibm901.h: Likewise.
50880         * iconvdata/ibm902.h: Likewise.
50881         * iconvdata/ibm9030.h: Likewise.
50882         * iconvdata/ibm9066.h: Likewise.
50883         * iconvdata/ibm921.h: Likewise.
50884         * iconvdata/ibm922.h: Likewise.
50885         * iconvdata/ibm9448.h: Likewise.
50886         * iconvdata/isiri-3342.h: Likewise.
50887         * iconvdata/jis0201.h: Likewise.
50888         * include/link.h: Likewise.
50889         * include/netdb.h: Likewise.
50890         * inet/check_native.c: Likewise.
50891         * inet/check_pf.c: Likewise.
50892         * inet/getipv4sourcefilter.c: Likewise.
50893         * inet/getnameinfo.c: Likewise.
50894         * inet/getsourcefilter.c: Likewise.
50895         * inet/htonl.c: Likewise.
50896         * inet/setipv4sourcefilter.c: Likewise.
50897         * inet/setsourcefilter.c: Likewise.
50898         * inet/test-inet6_opt.c: Likewise.
50899         * inet/tst-network.c: Likewise.
50900         * locale/C-collate.c: Likewise.
50901         * locale/C-ctype.c: Likewise.
50902         * locale/C-time.c: Likewise.
50903         * locale/C-translit.h: Likewise.
50904         * locale/loadarchive.c: Likewise.
50905         * locale/programs/3level.h: Likewise.
50906         * locale/programs/charmap.c: Likewise.
50907         * locale/programs/charmap.h: Likewise.
50908         * locale/programs/ld-address.c: Likewise.
50909         * locale/programs/ld-collate.c: Likewise.
50910         * locale/programs/ld-ctype.c: Likewise.
50911         * locale/programs/ld-identification.c: Likewise.
50912         * locale/programs/ld-measurement.c: Likewise.
50913         * locale/programs/ld-messages.c: Likewise.
50914         * locale/programs/ld-monetary.c: Likewise.
50915         * locale/programs/ld-name.c: Likewise.
50916         * locale/programs/ld-numeric.c: Likewise.
50917         * locale/programs/ld-paper.c: Likewise.
50918         * locale/programs/ld-telephone.c: Likewise.
50919         * locale/programs/ld-time.c: Likewise.
50920         * locale/programs/linereader.c: Likewise.
50921         * locale/programs/locale.c: Likewise.
50922         * locale/programs/locarchive.c: Likewise.
50923         * locale/programs/locfile.h: Likewise.
50924         * locale/programs/repertoire.c: Likewise.
50925         * locale/programs/simple-hash.c: Likewise.
50926         * locale/programs/simple-hash.h: Likewise.
50927         * malloc/memusage.c: Likewise.
50928         * malloc/memusagestat.c: Likewise.
50929         * nis/nis_defaults.c: Likewise.
50930         * nis/nis_hash.c: Likewise.
50931         * nis/nis_print.c: Likewise.
50932         * nis/nis_xdr.c: Likewise.
50933         * nscd/connections.c: Likewise.
50934         * nscd/hstcache.c: Likewise.
50935         * nscd/nscd_gethst_r.c: Likewise.
50936         * nscd/nscd_getserv_r.c: Likewise.
50937         * nscd/nscd_helper.c: Likewise.
50938         * nscd/servicescache.c: Likewise.
50939         * nss/makedb.c: Likewise.
50940         * nss/nss_db/db-XXX.c: Likewise.
50941         * nss/nss_db/db-initgroups.c: Likewise.
50942         * nss/nss_db/db-netgrp.c: Likewise.
50943         * nss/nss_files/files-network.c: Likewise.
50944         * nss/nss_files/files-parse.c: Likewise.
50945         * posix/bug-regex5.c: Likewise.
50946         * posix/fnmatch_loop.c: Likewise.
50947         * posix/regcomp.c: Likewise.
50948         * posix/regexec.c: Likewise.
50949         * posix/tst-rfc3484-2.c: Likewise.
50950         * posix/tst-rfc3484-3.c: Likewise.
50951         * posix/tst-rfc3484.c: Likewise.
50952         * resolv/nss_dns/dns-canon.c: Likewise.
50953         * resolv/nss_dns/dns-network.c: Likewise.
50954         * resolv/res_init.c: Likewise.
50955         * resolv/res_mkquery.c: Likewise.
50956         * resolv/tst-aton.c: Likewise.
50957         * stdlib/cxa_atexit.c: Likewise.
50958         * stdlib/cxa_finalize.c: Likewise.
50959         * stdlib/gen-fpioconst.c: Likewise.
50960         * stdlib/strtol_l.c: Likewise.
50961         * string/tst-endian.c: Likewise.
50962         * sunrpc/auth_des.c: Likewise.
50963         * sunrpc/clnt_udp.c: Likewise.
50964         * sunrpc/rtime.c: Likewise.
50965         * sunrpc/svcauth_des.c: Likewise.
50966         * sunrpc/xdr.c: Likewise.
50967         * sunrpc/xdr_intXX_t.c: Likewise.
50968         * sunrpc/xdr_rec.c: Likewise.
50969         * sysdeps/generic/ldconfig.h: Likewise.
50970         * sysdeps/generic/ldsodefs.h: Likewise.
50971         * sysdeps/generic/memusage.h: Likewise.
50972         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50973         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50974         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50975         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50976         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50977         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50978         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50979         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50980         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50981         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50982         * sysdeps/posix/getaddrinfo.c: Likewise.
50983         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50984         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50985         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50986         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50987         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50988         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50989         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50990         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50991         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50992         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50993         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50994         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50995         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50996         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50997         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50998         * sysdeps/x86_64/dl-tls.h: Likewise.
50999         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51000         * time/alt_digit.c: Likewise.
51001         * time/era.c: Likewise.
51002         * wcsmbs/tst-c16c32-1.c: Likewise.
51004 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51006         * math/libm-test.inc (struct test_sincos_data): New type.
51007         (RUN_TEST_LOOP_sincos): New macro.
51008         (sincos_test_data): New variable.
51009         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51011 2013-05-16  Richard Henderson  <rth@redhat.com>
51013         * math/atest-exp2.c (LIMB64): New macro.
51014         (CONSTSZ): New macro.
51015         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51016         (hexdig): Move ...
51017         (print_mpn_fp): ... to function scope.
51018         (read_mpn_hex): Remove.
51019         (get_log2): Remove.
51020         (exp2_mpn): Use mp_log2.
51021         (main): Use mp_exp1.
51023 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51025         * math/libm-test.inc: Remove comment about not testing "inexact"
51026         exceptions.
51027         (INEXACT_EXCEPTION): New macro.
51028         (NO_INEXACT_EXCEPTION): Likewise.
51029         (INVALID_EXCEPTION_OK): Update value.
51030         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51031         (OVERFLOW_EXCEPTION_OK): Likewise.
51032         (UNDERFLOW_EXCEPTION_OK): Likewise.
51033         (IGNORE_ZERO_INF_SIGN): Likewise.
51034         (ERRNO_UNCHANGED): Likewise.
51035         (ERRNO_EDOM): Likewise.
51036         (ERRNO_ERANGE): Likewise.
51037         (test_exceptions): Handle testing "inexact" exceptions.
51038         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51039         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51040         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51041         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51042         INEXACT_EXCEPTION.
51043         (rint_towardzero_test_data): Likewise.
51044         (rint_downward_test_data): Likewise.
51045         (rint_upward_test_data): Likewise.
51047         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51048         with OVERFLOW_EXCEPTION.
51049         (exp10_test_data): Likewise.
51050         (exp2_test_data): Likewise.
51051         (expm1_test_data): Likewise.
51052         (lgamma_test_data): Likewise.
51053         (pow_test_data): Likewise.
51054         (tgamma_test_data): Likewise.
51055         (yn_test_data): Remove duplicate test of overflow.
51057         * math/libm-test.inc (struct test_cc_c_data): New type.
51058         (RUN_TEST_LOOP_cc_c): New macro.
51059         (cpow_test_data): New variable.
51060         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51062         * math/libm-test.inc (struct test_f_L_data): New type.
51063         (RUN_TEST_LOOP_f_L): New macro.
51064         (llrint_test_data): New variable.
51065         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51066         (llrint_tonearest_test_data): New variable.
51067         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51068         (llrint_towardzero_test_data): New variable.
51069         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51070         (llrint_downward_test_data): New variable.
51071         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51072         (llrint_upward_test_data): New variable.
51073         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51074         (llround_test_data): New variable.
51075         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51077 2013-05-13  Peter Collingbourne  <pcc@google.com>
51079         * math/atest-exp2.c (get_log2): Remove const attribute.
51081 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51083         * math/libm-test.inc (struct test_f_l_data): New type.
51084         (RUN_TEST_LOOP_f_l): New macro.
51085         (lrint_test_data): New variable.
51086         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51087         (lrint_tonearest_test_data): New variable.
51088         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51089         (lrint_towardzero_test_data): New variable.
51090         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51091         (lrint_downward_test_data): New variable.
51092         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51093         (lrint_upward_test_data): New variable.
51094         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51095         (lround_test_data): New variable.
51096         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51098 2013-05-15  Peter Collingbourne  <pcc@google.com>
51100         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51101         (EXTRACT_WORDS64) Use where appropriate.
51102         (INSERT_WORDS64) Likewise.
51104         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51105         constraints with x constraints.
51106         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51108         * malloc/obstack.c (_obstack_compat): Add initializer.
51110 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51112         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51113         si_trapno and add si_addr_lsb to _sifields.sigfault.
51114         (si_trapno): Remove macro.
51115         (si_addr_lsb): Define new macro.
51116         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51118 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51120         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51121         instead of TEST_f_l.
51122         (llrint_test_tonearest): Likewise.
51123         (llrint_test_towardzero): Likewise.
51124         (llrint_test_downward): Likewise.
51125         (llrint_test_upward): Likewise.
51126         (llround_test): Likewise.
51128         * math/libm-test.inc (struct test_f_i_data): Add comment.
51129         (RUN_TEST_LOOP_f_b): New macro.
51130         (RUN_TEST_LOOP_f_b_tg): Likewise.
51131         (finite_test_data): New variable.
51132         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51133         (isfinite_test_data): New variable.
51134         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51135         (isinf_test_data): New variable.
51136         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51137         (isnan_test_data): New variable.
51138         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51139         (isnormal_test_data): New variable.
51140         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51141         (issignaling_test_data): New variable.
51142         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51143         (signbit_test_data): New variable.
51144         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51146         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51147         with INVALID_EXCEPTION.
51148         (acosh_test_data): Likewise.
51149         (asin_test_data): Likewise.
51150         (atanh_test_data): Likewise.
51151         (fmod_test_data): Likewise.
51152         (log_test_data): Likewise.
51153         (log10_test_data): Likewise.
51154         (log2_test_data): Likewise.
51155         (pow_test_data): Likewise.
51156         (sqrt_test_data): Likewise.
51157         (y0_test_data): Likewise.
51158         (y1_test_data): Likewise.
51159         (yn_test_data): Likewise.
51161         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51162         function contents.
51164         * math/libm-test.inc (struct test_ff_i_data): New type.
51165         (RUN_TEST_LOOP_ff_i_tg): New macro.
51166         (isgreater_test_data): New variable.
51167         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51168         (isgreaterequal_test_data): New variable.
51169         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51170         (isless_test_data): New variable.
51171         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51172         (islessequal_test_data): New variable.
51173         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51174         (islessgreater_test_data): New variable.
51175         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51176         (isunordered_test_data): New variable.
51177         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51179 2013-05-14  David S. Miller  <davem@davemloft.net>
51181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51183 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51185         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51187         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51188         extra_test to int.
51189         (struct test_f_i_data): Change type of max_ulp to int.
51191         * math/libm-test.inc (test_ffI_f1_data): New type.
51192         (RUN_TEST_LOOP_ffI_f1): New macro.
51193         (remquo_test_data): New variable.
51194         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51196         * setjmp/tst-setjmp-fp.c: New file.
51197         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51198         (link-libm): New variable.
51199         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51201         * math/libm-test.inc (struct test_f_i_data): New type.
51202         (RUN_TEST_LOOP_f_i): New macro.
51203         (RUN_TEST_LOOP_f_i_tg): Likewise.
51204         (fpclassify_test_data): New variable.
51205         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51206         (ilogb_test_data): New variable.
51207         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51209         * math/libm-test.inc (scalbln_test): Correct function name in END
51210         call.
51212         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51213         (RUN_TEST_LOOP_fI_f1): New macro.
51214         (frexp_test_data): New variable.
51215         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51217         * math/libm-test.inc (struct test_fF_f1_data): New type.
51218         (RUN_TEST_LOOP_fF_f1): New macro.
51219         (modf_test_data): New variable.
51220         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51222         * math/libm-test.inc (struct test_f_f1_data): New type.
51223         (RUN_TEST_LOOP_f_f1): New macro.
51224         (gamma_test_data): New variable.
51225         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51226         (lgamma_test_data): New variable.
51227         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51229 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51231         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51232         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51233         (main): Comment "tls" pseudo-hwcap.
51235 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51237         * math/libm-test.inc (struct test_fl_f_data): New type.
51238         (RUN_TEST_LOOP_fl_f): New variable.
51239         (scalbln_test_data): New variable.
51240         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51242         * math/libm-test.inc (struct test_fi_f_data): New type.
51243         (RUN_TEST_LOOP_fi_f): New macro.
51244         (ldexp_test_data): New variable.
51245         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51246         (scalbn_test_data): New variable.
51247         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51249         * math/libm-test.inc (struct test_c_f_data): New type.
51250         (RUN_TEST_LOOP_c_f): New macro.
51251         (cabs_test_data): New variable.
51252         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51253         (carg_test_data): New variable.
51254         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51255         (cimag_test_data): New variable.
51256         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51257         (creal_test_data): New variable.
51258         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51260         * math/libm-test.inc (struct test_if_f_data): New type.
51261         (RUN_TEST_LOOP_if_f): New macro.
51262         (jn_test_data): New variable.
51263         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51264         (yn_test_data): New variable.
51265         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51267         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51269 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51271         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51272         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51274 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51276         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51277         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51278         (bench-deps): Add bench-timing.h.
51279         * benchtests-bench-skeleton.c: Include bench-timing.h.
51280         (main): Use TIMING_* macros instead of clock_gettime.
51281         * benchtests/bench-timing.h: New file.
51283         [BZ #14582]
51284         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51285         Renamed from _LIB_VERSION.
51286         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51288 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51290         * math/libm-test.inc (struct test_fff_f_data): New type.
51291         (RUN_TEST_LOOP_fff_f): New macro.
51292         (fma_test_data): New variable.
51293         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51294         (fma_towardzero_test_data): New variable.
51295         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51296         (fma_downward_test_data): New variable.
51297         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51298         (fma_upward_test_data): New variable.
51299         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51301         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51302         (struct test_c_c_data): New type.
51303         (RUN_TEST_LOOP_c_c): New macro.
51304         (cacos_test_data): New variable.
51305         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51306         (cacosh_test_data): New variable.
51307         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51308         (casin_test_data): New variable.
51309         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51310         (casinh_test_data): New variable.
51311         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51312         (catan_test_data): New variable.
51313         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51314         (catanh_test_data): New variable.
51315         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51316         (ccos_test_data): New variable.
51317         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51318         (ccosh_test_data): New variable.
51319         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51320         (cexp_test_data): New variable.
51321         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51322         (clog_test_data): New variable.
51323         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51324         (clog10_test_data): New variable.
51325         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51326         (conj_test_data): New variable.
51327         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51328         (cproj_test_data): New variable.
51329         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51330         (csin_test_data): New variable.
51331         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51332         (csinh_test_data): New variable.
51333         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51334         (csqrt_test_data): New variable.
51335         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51336         (ctan_test_data): New variable.
51337         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51338         (ctan_tonearest_test_data): New variable.
51339         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51340         (ctan_towardzero_test_data): New variable.
51341         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51342         (ctan_downward_test_data): New variable.
51343         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51344         (ctan_upward_test_data): New variable.
51345         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51346         (ctanh_test_data): New variable.
51347         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51348         (ctanh_tonearest_test_data): New variable.
51349         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51350         (ctanh_towardzero_test_data): New variable.
51351         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51352         (ctanh_downward_test_data): New variable.
51353         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51354         (ctanh_upward_test_data): New variable.
51355         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51356         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51357         of BUILD_COMPLEX.
51359         * math/libm-test.inc (struct test_ff_f_data): New type.
51360         (struct test_ff_f_data_nexttoward): Likewise.
51361         (RUN_TEST_LOOP_2_f): New macro.
51362         (RUN_TEST_LOOP_ff_f): Likewise.
51363         (atan2_test_data): New variable.
51364         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51365         (copysign_test_data): New variable.
51366         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51367         (fdim_test_data): New variable.
51368         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51369         (fmax_test_data): New variable.
51370         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51371         (fmin_test_data): New variable.
51372         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51373         (fmod_test_data): New variable.
51374         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51375         (hypot_test_data): New variable.
51376         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51377         (nextafter_test_data): New variable.
51378         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51379         (nexttoward_test_data): New variable.
51380         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51381         (pow_test_data): New variable.
51382         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51383         (pow_tonearest_test_data): New variable.
51384         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51385         (pow_towardzero_test_data): New variable.
51386         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51387         (pow_downward_test_data): New variable.
51388         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51389         (pow_upward_test_data): New variable.
51390         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51391         (remainder_test_data): New variable.
51392         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51393         (scalb_test_data): New variable.
51394         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51395         * sysdeps/i386/fpu/libm-test-ulps: Update.
51397 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51399         * math/libm-test.inc (fma_test): Use max_value instead of local
51400         variable fltmax.
51401         (nextafter_test): Likewise.
51403         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51404         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51405         (acos_downward_test_data): New variable.
51406         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51407         (acos_upward_test_data): New variable.
51408         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51409         (acosh_test_data): New variable.
51410         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51411         (asin_test_data): New variable.
51412         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51413         (asin_tonearest_test_data): New variable.
51414         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51415         (asin_towardzero_test_data): New variable.
51416         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51417         (asin_downward_test_data): New variable.
51418         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51419         (asin_upward_test_data): New variable.
51420         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51421         (asinh_test_data): New variable.
51422         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51423         (atan_test_data): New variable.
51424         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51425         (atanh_test_data): New variable.
51426         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51427         (cbrt_test_data): New variable.
51428         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51429         (ceil_test_data): New variable.
51430         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51431         (cos_test_data): New variable.
51432         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51433         (cos_tonearest_test_data): New variable.
51434         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51435         (cos_towardzero_test_data): New variable.
51436         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51437         (cos_downward_test_data): New variable.
51438         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51439         (cos_upward_test_data): New variable.
51440         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51441         (cosh_test_data): New variable.
51442         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51443         (cosh_tonearest_test_data): New variable.
51444         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51445         (cosh_towardzero_test_data): New variable.
51446         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51447         (cosh_downward_test_data): New variable.
51448         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51449         (cosh_upward_test_data): New variable.
51450         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51451         (erf_test_data): New variable.
51452         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51453         (erfc_test_data): New variable.
51454         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51455         (exp_test_data): New variable.
51456         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51457         (exp_tonearest_test_data): New variable.
51458         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51459         (exp_towardzero_test_data): New variable.
51460         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51461         (exp_downward_test_data): New variable.
51462         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51463         (exp_upward_test_data): New variable.
51464         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51465         (exp10_test_data): New variable.
51466         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51467         (exp2_test_data): New variable.
51468         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51469         (expm1_test_data): New variable.
51470         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51471         (fabs_test_data): New variable.
51472         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51473         (floor_test_data): New variable.
51474         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51475         (j0_test_data): New variable.
51476         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51477         (j1_test_data): New variable.
51478         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51479         (log_test_data): New variable.
51480         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51481         (log10_test_data): New variable.
51482         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51483         (log1p_test_data): New variable.
51484         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51485         (log2_test_data): New variable.
51486         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51487         (logb_test_data): New variable.
51488         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51489         (logb_downward_test_data): New variable.
51490         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51491         (nearbyint_test_data): New variable.
51492         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51493         (rint_test_data): New variable.
51494         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51495         (rint_tonearest_test_data): New variable.
51496         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51497         (rint_towardzero_test_data): New variable.
51498         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51499         (rint_downward_test_data): New variable.
51500         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51501         (rint_upward_test_data): New variable.
51502         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51503         (round_test_data): New variable.
51504         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51505         (sin_test_data): New variable.
51506         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51507         (sin_tonearest_test_data): New variable.
51508         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51509         (sin_towardzero_test_data): New variable.
51510         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51511         (sin_downward_test_data): New variable.
51512         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51513         (sin_upward_test_data): New variable.
51514         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51515         (sinh_test_data): New variable.
51516         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51517         (sinh_tonearest_test_data): New variable.
51518         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51519         (sinh_towardzero_test_data): New variable.
51520         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51521         (sinh_downward_test_data): New variable.
51522         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51523         (sinh_upward_test_data): New variable.
51524         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51525         (sqrt_test_data): New variable.
51526         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51527         (tan_test_data): New variable.
51528         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51529         (tan_tonearest_test_data): New variable.
51530         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51531         (tan_towardzero_test_data): New variable.
51532         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51533         (tan_downward_test_data): New variable.
51534         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51535         (tan_upward_test_data): New variable.
51536         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51537         (tanh_test_data): New variable.
51538         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51539         (tgamma_test_data): New variable.
51540         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51541         (trunc_test_data): New variable.
51542         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51543         (y0_test_data): New variable.
51544         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51545         (y1_test_data): New variable.
51546         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51547         (significand_test_data): New variable.
51548         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51550 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51552         [BZ #12387]
51553         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51555 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51557         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51559 2013-05-10  Andreas Jaeger  <aj@suse.de>
51561         [BZ #15448]
51562         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51563         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51565 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51567         * math/gen-libm-test.pl (adjust_arg): New function.
51568         (special_functions): Handle generating output in both functions
51569         and arrays.
51570         (parse_args): Likewise.
51571         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51572         $in_func argument to parse_args.
51573         * math/libm-test.inc (struct test_f_f_data): New type.
51574         (IF_ROUND_INIT_): New macro.
51575         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51576         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51577         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51578         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51579         (ROUND_RESTORE_): Likewise.
51580         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51581         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51582         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51583         (ROUND_RESTORE_FE_UPWARD): Likewise.
51584         (RUN_TEST_LOOP_f_f): New macro.
51585         (acos_test_data): New variable.
51586         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51587         (acos_tonearest_test_data): New variable.
51588         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51590 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51592         * benchtests/bench-skeleton.c (startup): Fix coding style.
51594 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51596         [BZ #6809]
51597         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51598         negative infinity argument.
51599         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51600         negative infinity argument.
51601         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51602         negative infinity argument.
51603         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51604         domain errors.
51606 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51608         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51609         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51610         * iconv/iconv_prog.c (main): Likewise.
51611         * locale/programs/charmap-dir.c (charmap_readdir)
51612         (fopen_uncompressed): Likewise.
51613         * locale/programs/locfile.c (siblings_uncached)
51614         (write_locale_data): Use lstat64 instead of lstat.
51615         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51616         stat.
51618 2013-05-10  Andreas Jaeger  <aj@suse.de>
51620         [BZ #15395]
51621         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51622         localization.
51623         Include <locale.h>.
51625 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51627         * elf/dl-close.c (_dl_close_worker): Add comments.
51629 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51631         [BZ #15359]
51632         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51633         high part of pi/2.
51634         (__ieee754_rem_pio2l): Update comments.
51636         [BZ #15429]
51637         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51638         high part of pi/2.
51639         (__ieee754_rem_pio2l): Update comments.
51641         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51642         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51644         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51645         M_PI_4l.
51647         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51648         (M_PI_34_LOG10El): Likewise.
51649         (M_PI2_LOG10El): Likewise.
51650         (M_PI4_LOG10El): Likewise.
51651         (M_PI_LOG10El): Likewise.
51653 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51657 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51659         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51660         (MINUS_ZERO_INIT): Likewise.
51661         (PLUS_INFTY_INIT): Likewise.
51662         (MINUS_INFTY_INIT): Likewise.
51663         (QNAN_VALUE_INIT): Likewise.
51664         (MAX_VALUE_INIT): Likewise.
51665         (MIN_VALUE_INIT): Likewise.
51666         (MIN_SUBNORM_VALUE_INIT): Likewise.
51667         (plus_zero): Initialize with PLUS_ZERO_INIT.
51668         (minus_zero): Initialize with MINUS_ZERO_INIT.
51669         (plus_infty): Initialize with PLUS_INFTY_INIT.
51670         (minus_infty): Initialize with MINUS_INFTY_INIT.
51671         (qnan_value): Initialize with QNAN_VALUE_INIT.
51672         (max_value): Initialize with MAX_VALUE_INIT.
51673         (min_value): Initialize with MIN_VALUE_INIT.
51674         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51676         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51677         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51678         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51679         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51681         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51682         (RUN_TEST_2_f): Likewise.
51683         (RUN_TEST_ff_f): Likewise.
51684         (RUN_TEST_fi_f): Likewise.
51685         (RUN_TEST_fl_f): Likewise.
51686         (RUN_TEST_fff_f): Likewise.
51687         (RUN_TEST_c_f): Likewise.
51688         (RUN_TEST_f_f1): Likewise.
51689         (RUN_TEST_fF_f1): Likewise.
51690         (RUN_TEST_fI_f1): Likewise.
51691         (RUN_TEST_ffI_f1): Likewise.
51692         (RUN_TEST_c_c): Likewise.
51693         (RUN_TEST_cc_c): Likewise.
51694         (RUN_TEST_f_i): Likewise.
51695         (RUN_TEST_f_i_tg): Likewise.
51696         (RUN_TEST_ff_i_tg): Likewise.
51697         (RUN_TEST_f_b): Likewise.
51698         (RUN_TEST_f_b_tg): Likewise.
51699         (RUN_TEST_f_l): Likewise.
51700         (RUN_TEST_f_L): Likewise.
51701         (RUN_TEST_sincos): Likewise.
51702         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51703         whether to show exceptions.  Do not include ");\n" in return
51704         value.
51705         (special_functions): Output call to RUN_TEST_sincos instead of
51706         check_float calls.  Update calls to new_test.
51707         (parse_args): Output call to single RUN_TEST_* macro instead of
51708         check_* calls and other assignments.  Update calls to new_test.
51710         [BZ #2546]
51711         [BZ #2560]
51712         [BZ #5159]
51713         [BZ #15426]
51714         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51715         input to result for tgamma overflow.
51716         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51717         (gamma_coeff): New variable.
51718         (NCOEFF): New macro.
51719         (gamma_positive): New function.
51720         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51721         underflow here.  Use gamma_positive instead of exp (lgamma) for
51722         other arguments.
51723         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51724         (gamma_coeff): New variable.
51725         (NCOEFF): New macro.
51726         (gammaf_positive): New function.
51727         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51728         underflow here.  Use gamma_positive instead of exp (lgamma) for
51729         other arguments.
51730         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51731         (gamma_coeff): New variable.
51732         (NCOEFF): New macro.
51733         (gammal_positive): New function.
51734         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51735         underflow here.  Use gamma_positive instead of exp (lgamma) for
51736         other arguments.
51737         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51738         (gamma_coeff): New variable.
51739         (NCOEFF): New macro.
51740         (gammal_positive): New function.
51741         (__ieee754_gammal_r): Handle positive infinity, overflow and
51742         underflow here.  Handle NaN the same as positive infinity.  Remove
51743         check x < 0xffffffff for negative integers.  Use gamma_positive
51744         instead of exp (lgamma) for other arguments.
51745         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51746         (gamma_coeff): New variable.
51747         (NCOEFF): New macro.
51748         (gammal_positive): New function.
51749         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51750         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51751         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51752         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51753         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51754         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51755         * sysdeps/generic/math_private.h (__gamma_productf): New
51756         prototype.
51757         (__gamma_product): Likewise.
51758         (__gamma_productl): Likewise.
51759         * math/Makefile (libm-calls): Add gamma_product.
51760         * math/libm-test.inc (tgamma_test): Add more tests.
51761         * sysdeps/i386/fpu/libm-test-ulps: Update.
51762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51764 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51766         * benchtests/bench-skeleton.c (main): Preheat CPU.
51768 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51770         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51772 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51774         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51775         and _dl_skip_args_internal.
51777 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51779         * manual/message.texi (Message Translation): Talk about users.
51780         Message to key mapping impacts design.
51782 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51784         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51786         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51788         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51789         * sysdeps/wordsize-64/glob64.c: ... here.
51791         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51792         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51793         New macros.
51795         * debug/getlogin_r_chk.c: Moved to ...
51796         * login/getlogin_r_chk.c: ... here.
51797         * debug/Makefile (routines): Move getlogin_r_chk to ...
51798         * login/Makefile (routines): ... here.
51799         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51800         * login/Versions (libc: GLIBC_2.4): ... here.
51802         * io/poll.c (__poll): Renamed from poll.
51803         Add libc_hidden_def.
51804         (poll): Define as weak alias.
51806         * debug/ptsname_r_chk.c: Moved to ...
51807         * login/ptsname_r_chk.c: ... here.
51808         * debug/Makefile (routines): Move ptsname_r_chk to ...
51809         * login/Makefile (routines): ... here.
51810         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51811         * login/Versions (libc: GLIBC_2.4): ... here.
51813         * posix/getlogin.c: Moved to ...
51814         * login/getlogin.c: ... here.
51815         * posix/getlogin_r.c: Moved to ...
51816         * login/getlogin_r.c: ... here.
51817         * posix/getlogin_r.c: Moved to ...
51818         * login/getlogin_r.c: ... here.
51819         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51820         * login/Makefile (routines): ... here.
51821         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51822         * login/Versions (libc: GLIBC_2.0): ... here.
51824         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51825         (setrlimit): Define as weak alias.
51827         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51828         Call __ names for open, ftruncate, and close.
51829         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51830         (truncate): Define as weak alias.
51832 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51834         * math/gen-libm-test.pl (parse_args): Initialize x before each
51835         test of frexp, modf and remquo.
51837         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51838         test signgam value.
51840 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51842         [BZ #15418]
51843         [BZ #15419]
51844         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51845         internal tests.
51846         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51848 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51850         * elf/dl-writev.h: New file.
51851         * elf/dl-misc.c: Include it.
51852         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51853         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51855 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51857         * math/libm-test.inc (noXFails): Remove variable.
51858         (noXPasses): Likewise.
51859         (BUILD_COMPLEX_INT): Remove macro.
51860         (print_screen): Remove xfail argument.
51861         (print_screen_max_error): Likewise.
51862         (update_stats): Likewise.
51863         (print_max_error): Likewise.  Update calls to other affected
51864         functions.
51865         (print_complex_max_error): Likewise.
51866         (test_single_exception): Update calls to print_screen.
51867         (test_single_errno): Likewise.
51868         (check_float_internal): Remove xfail argument.  Update calls to
51869         other affected functions.
51870         (check_float): Likewise.
51871         (check_complex): Likewise.
51872         (check_int): Likewise.
51873         (check_long): Likewise.
51874         (check_bool): Likewise.
51875         (check_longlong): Likewise.
51876         (main): Don't print noXFails and noXPasses.
51877         * math/gen-libm-test.pl (top level): Don't mention expected
51878         failure handling in comment.
51879         (new_test): Don't handle expected failures.
51880         (parse_args): Don't mention expected failure handling in comment.
51881         (generate_testfile): Don't handle expected failures.
51882         (parse_ulps): Likewise.
51883         (print_ulps_file): Likewise.
51884         (get_failure): Remove function.
51885         (output_test): Don't handle expected failures.
51886         * make/README.libm-test: Don't mention expected failure handling.
51888         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51889         (minus_zero): Likewise.
51890         (plus_infty): Likewise.
51891         (minus_infty): Likewise.
51892         (qnan_value): Likewise.
51893         (max_value): Likewise.
51894         (min_value): Likewise.
51895         (min_subnorm_value): Likewise.
51896         (initialize): Do not initialize those variables dynamically.
51898 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51900         * io/open.c (__open_2): Moved to ...
51901         * io/open_2.c: ... this new file.
51902         * io/open64.c (__open64_2): Moved to ...
51903         * io/open64_2.c: ... this new file.
51904         * io/openat.c (__openat_2): Moved to ...
51905         * io/openat_2.c: ... this new file.
51906         * io/openat64.c (__openat64_2): Moved to ...
51907         * io/openat64_2.c: ... this new file.
51908         * io/Makefile (routines): Add them.
51909         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51910         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51911         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51912         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51913         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51914         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51915         (__openat64): Add hidden_ver.
51916         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51917         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51919         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51920         Separately conditionalize setting of GLRO(dl_sysinfo) so
51921         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51922         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51924 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51926         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51927         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51928         definition.
51929         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51930         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51931         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51932         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51933         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51935 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51937         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51938         test signgam value.
51940         * math/libm-test.inc (hypot_test): Do not use
51941         IGNORE_ZERO_INF_SIGN.
51943 2013-05-03  Andreas Jaeger  <aj@suse.de>
51945         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51946         Linux 3.9.
51947         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51948         (PF_MAX): Adjust for VSOCK change.
51950 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51954 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51956         [BZ #15264]
51957         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51958         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51959         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51961 2013-05-02  David S. Miller  <davem@davemloft.net>
51963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51965 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51967         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51969 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51971         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51973 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51975         [BZ #14952]
51976         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51977         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51978         Use __attribute__ ((__gnu_inline__)).
51979         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51980         Don't use __attribute__ ((__gnu_inline__)).
51982 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51984         [BZ #15423]
51985         * math/s_catan.c (__catan): Handle small real or imaginary part of
51986         input specially to avoid spurious underflow.
51987         * math/s_catanf.c (__catanf): Likewise.
51988         * math/s_catanh.c (__catanh): Likewise.
51989         * math/s_catanhf.c (__catanhf): Likewise.
51990         * math/s_catanhl.c (__catanhl): Likewise.
51991         * math/s_catanl.c (__catanl): Likewise.
51992         * math/libm-test.inc (catan_test): Add more tests.
51993         (catanh_test): Likewise.
51994         * sysdeps/i386/fpu/libm-test-ulps: Update.
51995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51997 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52001 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52003         [BZ #15416]
52004         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52005         accurately for denominator in atan2.
52006         * math/s_catanf.c (__catanf): Likewise.
52007         * math/s_catanh.c (__catanh): Likewise.
52008         * math/s_catanhf.c (__catanhf): Likewise.
52009         * math/s_catanhl.c (__catanhl): Likewise.
52010         * math/s_catanl.c (__catanl): Likewise.
52011         * math/libm-test.inc (catan_test): Add more tests.
52012         (catanh_test): Likewise.
52013         * sysdeps/i386/fpu/libm-test-ulps: Update.
52014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52016 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52018         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52020         * benchtests/Makefile (bench): Remove slow benchmarks.
52021         * benchtests/atan-inputs: Add slow benchmark inputs.
52022         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52023         (BENCH_FUNC): Accept variant offset.
52024         (VARIANT): Define.
52025         * benchtests/bench-skeleton.c (main): Run benchmark for each
52026         variant.
52027         * benchtests/cos-inputs: Add slow benchmark inputs.
52028         * benchtests/exp-inputs: Likewise.
52029         * benchtests/pow-inputs: Likewise.
52030         * benchtests/sin-inputs: Likewise.
52031         * benchtests/slowatan-inputs: Remove.
52032         * benchtests/slowatan.c: Remove.
52033         * benchtests/slowcos-inputs: Remove.
52034         * benchtests/slowcos.c: Remove.
52035         * benchtests/slowexp-inputs: Remove.
52036         * benchtests/slowexp.c: Remove.
52037         * benchtests/slowpow-inputs: Remove.
52038         * benchtests/slowpow.c: Remove.
52039         * benchtests/slowsin-inputs: Remove.
52040         * benchtests/slowsin.c: Remove.
52041         * benchtests/slowtan-inputs: Remove.
52042         * benchtests/slowtan.c: Remove.
52043         * benchtests/tan-inputs: Add slow benchmark inputs.
52044         * scripts/bench.pl: Parse comments and directives.
52046         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52047         in CPPFLAGS.
52048         ($(objpfx)bench-%.c): Remove *-ITER.
52049         * benchtests/bench-modf.c: Remove definition of ITER.
52050         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52051         (main): Loop for DURATION seconds instead of fixed number of
52052         iterations.
52053         * scripts/bench.pl: Don't expect iterations in parameters.
52055 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52057         * io/fchdir.c (__fchdir): Renamed from fchdir.
52058         (fchdir): Define as weak alias.
52060 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52062         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52063         (ERRNO_EDOM): Likewise.
52064         (ERRNO_ERANGE): Likewise.
52065         (noErrnoTests): New variable.
52066         (init_max_error): Set errno to 0.
52067         (test_single_errno): New function.
52068         (test_errno): Likewise.
52069         (check_float_internal): Call test_errno.  Set errno to 0.
52070         (check_complex): Refer to errno tests in comment.
52071         (check_int): Call test_errno.  Set errno to 0.
52072         (check_long): Likewise.
52073         (check_bool): Likewise.
52074         (check_longlong): Likewise.
52075         (cos_test): Use ERRNO_* flags for errno tests instead of
52076         check_int.
52077         (expm1_test): Likewise.
52078         (fmod_test): Likewise.
52079         (ilogb_test): Likewise.
52080         (lgamma_test): Likewise.
52081         (pow_test): Likewise.
52082         (remainder_test): Likewise.
52083         (sin_test): Likewise.
52084         (tan_test): Likewise.
52085         (yn_test): Likewise.
52086         (initialize): Set errno to 0.
52087         (main): Print number of errno tests.
52088         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52090 2013-04-29  Andreas Jaeger  <aj@suse.de>
52092         [BZ #15084]
52093         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52094         and RES_USEVC.
52096         [BZ #15085]
52097         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52098         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52099         unimplemented.
52101         [BZ #15380]
52102         * stdlib/random.c (__initstate): Return NULL if
52103         __initstate fails.
52105         [BZ #15086]
52106         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52107         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52108         RES_SNGLKUPREOP.
52110 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52114 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52116         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52117         of individual tests.
52118         (casin_test): Likewise.
52119         (casinh_test): Likewise.
52121 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52123         [BZ #15409]
52124         * math/s_catan.c (__catan): Handle arguments with large real or
52125         imaginary part separately without squaring.
52126         * math/s_catanf.c (__catanf): Likewise.
52127         * math/s_catanh.c (__catanh): Likewise.
52128         * math/s_catanhf.c (__catanhf): Likewise.
52129         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52130         and redefine.
52131         (__catanhl): Handle arguments with large real or imaginary part
52132         separately without squaring.
52133         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52134         and redefine.
52135         (__catanl): Handle arguments with large real or imaginary part
52136         separately without squaring.
52137         * math/libm-test.inc (catan_test): Add more tests.
52138         (catanh_test): Likewise.
52139         * sysdeps/i386/fpu/libm-test-ulps: Update.
52140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52142 2013-04-27  Andreas Jaeger  <aj@suse.de>
52144         [BZ #15007]
52145         * stdlib/stdlib.h: Update guards for qecvt.
52146         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52147         <stdlib.h>.
52149 2013-04-27  Allan McRae  <allan@archlinux.org>
52151         * sysdeps/i386/fpu/libm-test-ulps: Update.
52153 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52155         [BZ #15406]
52156         * math/s_catan.c: Include <float.h>.
52157         (__catan): Ensure underflow exception occurs for underflowed
52158         result.
52159         * math/s_catanf.c: Include <float.h>.
52160         (__catanf): Ensure underflow exception occurs for underflowed
52161         result.
52162         * math/s_catanh.c: Include <float.h>.
52163         (__catanh): Ensure underflow exception occurs for underflowed
52164         result.
52165         * math/s_catanhf.c: Include <float.h>.
52166         (__catanhf): Ensure underflow exception occurs for underflowed
52167         result.
52168         * math/s_catanhl.c: Include <float.h>.
52169         (__catanhl): Ensure underflow exception occurs for underflowed
52170         result.
52171         * math/s_catanl.c: Include <float.h>.
52172         (__catanl): Ensure underflow exception occurs for underflowed
52173         result.
52174         * math/libm-test.inc (catan_test): Add more tests.
52175         (catanh_test): Likewise.
52177         [BZ #15405]
52178         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52179         underflowed result.
52180         * math/s_ccoshf.c (__ccoshf): Likewise.
52181         * math/s_ccoshl.c (__ccoshl): Likewise.
52182         * math/s_csin.c (__csin): Likewise.
52183         * math/s_csinf.c (__csinf): Likewise.
52184         * math/s_csinh.c (__csinh): Likewise.
52185         * math/s_csinhf.c (__csinhf): Likewise.
52186         * math/s_csinhl.c (__csinhl): Likewise.
52187         * math/s_csinl.c (__csinl): Likewise.
52188         * math/libm-test.inc (ccos_test): Add more tests.
52189         (ccosh_test): Likewise.
52190         (csin_test): Likewise.
52191         (csinh_test): Likewise.
52193 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52195         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52196         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52197         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52198         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52199         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52200         powerpc/power5+/fpu folders.
52201         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52204 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52208 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52210         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52211         additions to variable.
52212         [$(config-machine) = x86_64] (modules-names): Likewise.
52213         ($(objpfx)tst-audit3): Remove dependency.
52214         ($(objpfx)tst-audit3.out): Likewise.
52215         ($(objpfx)tst-audit4): Likewise.
52216         ($(objpfx)tst-audit4.out): Likewise.
52217         ($(objpfx)tst-audit5): Likewise.
52218         ($(objpfx)tst-audit5.out): Likewise.
52219         ($(objpfx)tst-audit6): Likewise.
52220         ($(objpfx)tst-audit6.out): Likewise.
52221         ($(objpfx)tst-audit7): Likewise.
52222         ($(objpfx)tst-audit7.out): Likewise.
52223         (tst-audit3-ENV): Remove variable.
52224         (tst-audit4-ENV): Likewise.
52225         (tst-audit5-ENV): Likewise.
52226         (tst-audit6-ENV): Likewise.
52227         (tst-audit7-ENV): Likewise.
52228         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52229         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52230         addition to variable.
52231         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52232         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52233         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52234         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52235         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52236         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52237         tst-audit3, tst-audit4 and tst-audit5.
52238         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52239         tst-audit6 and tst-audit7.
52240         [$(subdir) = elf] (modules-names): Add audit modules for those
52241         tests.
52242         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52243         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52244         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52245         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52246         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52247         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52248         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52249         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52250         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52251         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52252         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52253         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52254         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52255         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52256         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52257         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52258         Likewise.
52259         [$(subdir) = elf && $(config-cflags-avx) = yes]
52260         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52261         [$(subdir) = elf && $(config-cflags-avx) = yes]
52262         (CFLAGS-tst-auditmod4a.c): Likewise.
52263         [$(subdir) = elf && $(config-cflags-avx) = yes]
52264         (CFLAGS-tst-auditmod4b.c): Likewise.
52265         [$(subdir) = elf && $(config-cflags-avx) = yes]
52266         (CFLAGS-tst-auditmod6b.c): Likewise.
52267         [$(subdir) = elf && $(config-cflags-avx) = yes]
52268         (CFLAGS-tst-auditmod6c.c): Likewise.
52269         [$(subdir) = elf && $(config-cflags-avx) = yes]
52270         (CFLAGS-tst-auditmod7b.c): Likewise.
52271         * elf/tst-audit3.c: Move to ...
52272         * sysdeps/x86_64/tst-audit3.c: ... here.
52273         * elf/tst-audit4.c: Move to ...
52274         * sysdeps/x86_64/tst-audit4.c: ... here.
52275         * elf/tst-audit5.c: Move to ...
52276         * sysdeps/x86_64/tst-audit5.c: ... here.
52277         * elf/tst-audit6.c: Move to ...
52278         * sysdeps/x86_64/tst-audit6.c: ... here.
52279         * elf/tst-audit7.c: Move to ...
52280         * sysdeps/x86_64/tst-audit7.c: ... here.
52281         * elf/tst-auditmod3a.c: Move to ...
52282         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52283         * elf/tst-auditmod3b.c: Move to ...
52284         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52285         * elf/tst-auditmod4a.c: Move to ...
52286         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52287         * elf/tst-auditmod4b.c: Move to ...
52288         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52289         * elf/tst-auditmod5a.c: Move to ...
52290         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52291         * elf/tst-auditmod5b.c: Move to ...
52292         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52293         * elf/tst-auditmod6a.c: Move to ...
52294         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52295         * elf/tst-auditmod6b.c: Move to ...
52296         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52297         * elf/tst-auditmod6c.c: Move to ...
52298         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52299         * elf/tst-auditmod7a.c: Move to ...
52300         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52301         * elf/tst-auditmod7b.c: Move to ...
52302         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52304 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52306         [BZ #15366]
52307         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52308         define unconditionally.
52309         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52310         define unconditionally.
52311         (INT8_C, INT16_C, etc.): Likewise.
52313 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52315         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52316         __ehdr_start with hidden visibility.
52318         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52320 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52322         * math/libm-test.inc (cos_test): Use accurate hex constants.
52323         (sincost_test): Likewise.
52325 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52327         * math/libm-test.inc (catan_test): Add more tests.
52328         (catanh_test): Likewise.
52330         * math/s_catanf.c (__catanf): Use suffixed floating-point
52331         constants.
52332         * math/s_catanhf.c (__catanhf): Likewise.
52333         * math/s_catanhl.c (__catanhl): Likewise.
52334         * math/s_catanl.c (__catanl): Likewise.
52336         [BZ #15394]
52337         * math/s_catan.c (__catan): Calculate imaginary part of result
52338         with log1p not log unless computing log of number close to 0.
52339         * math/s_catanf.c (__catanf): Likewise.
52340         * math/s_catanl.c (__catanl): Likewise.
52341         * math/s_catanh.c (__catanh): Calculate real part of result with
52342         log1p not log unless computing log of number close to 0.
52343         * math/s_catanhf.c (__catanhf): Likewise.
52344         * math/s_catanhl.c (__catanhl): Likewise.
52345         * math/libm-test.inc (catan_test): Add more tests.
52346         (catanh_test): Likewise.
52347         * sysdeps/i386/fpu/libm-test-ulps: Update.
52348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52350 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52352         * benchtests/Makefile: Mention files in which fast and slow
52353         paths of math functions are implemented.
52355 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52357         * sysdeps/posix/timespec_get.c: New file.
52359 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52361         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52362         POWER.
52363         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52364         for POWER.
52365         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52366         powerpc/power5/fpu folders.
52367         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52368         * benchtests/Makefile: Add modf testcase.
52369         * benchtests/bench-modf.c: New file: Benchmark test for mo
52371 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52373         [BZ #14888]
52374         * time/Makefile (tests): Add tst-strptime-whitespace.
52375         * time/strptime_l.c (get_number): Use ISSPACE.
52376         (__strptime_internal): Likewise.
52377         * time/tst-strptime-whitespace.c: New test case.
52379 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52381         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52382         member.
52383         (_nss_files_init): Set it here.
52385 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52387         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52388         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52389         unsigned.
52391 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52393         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52395 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52397         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52398         size just once.
52400 2013-04-21  David S. Miller  <davem@davemloft.net>
52402         * po/ru.po: Update Russion translation from translation project.
52404 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52406         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52407         and setfsgid.
52409 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52411         * configure.in: Remove i386 configure warning. Remove i386 case.
52412         * configure: Regenerate.
52413         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52414         Add example to error message.
52415         * sysdeps/i386/configure: Regenerate.
52417 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52419         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52420         slowtan.
52421         * benchtests/cos-inputs: New file.
52422         * benchtests/slowcos-inputs: New file.
52423         * benchtests/slowcos.c: New file.
52424         * benchtests/slowtan-inputs: New file.
52425         * benchtests/slowtan.c: New file.
52426         * benchtests/tan-inputs: New file.
52428 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52430         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52431         considered kosher.
52433 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52435         * benchtests/Makefile: Include cppflags-iterator.mk to add
52436         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52438         * Makefile.in (bench-clean): New target.
52439         * benchtests/Makefile (bench-clean): Likewise.
52441 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52443         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52445 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52447         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52449 2013-04-15  Andreas Schwab  <schwab@suse.de>
52451         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52452         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52453         * nscd/pwdcache.c (cache_addpw): Likewise.
52454         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52455         more than recsize.
52457 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52459         * benchtests/Makefile (bench): Write all output to
52460         bench-out.tmp together.
52462 2013-04-15  Andreas Schwab  <schwab@suse.de>
52464         * nscd/nscd.c (main): Don't fork again after closing files.
52466 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52468         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52470         * benchtests/Rules (bench-deps): Collect dependencies into a
52471         single variable.  Add Makefile to dependencies.
52472         ($(objpfx)bench-%.c): Depend on bench-deps.
52474 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52475             Xavier Roche  <roche+kml2@exalead.com>
52477         [BZ #15361]
52478         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52479         just that it's a file descriptor.
52480         * manual/llio.texi (Synchronizing AIO Operations): Update description
52481         for EBADF error from aio_fsync.
52483 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52485         * Rules (bench): Move target definition...
52486         * benchtests/Makefile: ... here.
52488 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52490         * math/libm-test.inc (cos_test): Fix PI/2 test.
52491         (sincos_test): Likewise.
52492         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52493         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52495 2013-04-11  Andreas Schwab  <schwab@suse.de>
52497         [BZ #13988]
52498         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52499         accept exponent character only when digits were seen.
52500         * stdio-common/Makefile (tests): Add bug26.
52501         * stdio-common/bug26.c: New file.
52503         [BZ #14293]
52504         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52505         non-freeable.
52507 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52509         * Makeconfig (rtld-prefix): Define built linker prefix.
52510         * Rules (run-bench): Use it.
52511         * math/Makefile (run-regen-ulps): Likewise.
52513         * Rules (bench): Remove eval.
52515 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52516             Roland McGrath  <roland@hack.frob.com>
52517             Ondrej Bilka  <neleai@seznam.cz>
52519         [BZ #15346]
52520         * time/getdate.c: Include ctype.h and alloca.h.
52521         (__getdate_r): Trim leading and trailing spaces of input.
52522         * time/tst-getdate.c (tests): Add tests with leading and
52523         trailing spaces.
52525 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52527         [BZ #14280]
52528         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52529         when computing value.
52531 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52533         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52534         Use testrun.sh to run libm tests.
52536         [BZ #15309]
52537         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52539 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52541         [BZ #15264]
52542         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52544 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52546         * Makefile.in (regen-ulps): New target.
52547         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52548         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52549         [ifneq (no,$(PERL)] (regen-ulps): New target.
52550         [ifeq (no,$(PERL)] (regen-ulps): New target.
52551         * math/libm-test.inc (ulps_file_name): Define.
52552         (output_dir): New variable.
52553         (options): Add "output-dir" option.
52554         (parse_opt): Handle 'o' case.
52555         (main): If output_dir is non-NULL use it as a prefix
52556         otherwise use "".
52557         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52559 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52561         [BZ #10060, #10062]
52562         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52563         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52564         fail configure if __sync_val_compare_and_swap is not inlined.
52565         * sysdeps/i386/configure: Regenerate.
52566         * configure.in: Build for i686 when configured for i386.
52567         * configure: Regenerate.
52568         * README: Remove i386 reference.
52570 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52572         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52573         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52575 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52577         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52578         (lmsnanval): New variables.
52579         (F): Add conversion tests.
52580         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52581         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52583         * stdio-common/tstdiomisc.c (F): Properly collect individual
52584         tests' results.
52586         [BZ #14686, #15336]
52587         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52588         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52589         Instead, use input NaN values or generate a qNaN by arithmetic
52590         operation.  Also fix bugs to comply with the standard.
52591         * math/libm-test.inc (remainder_test): Add more tests.
52593         [BZ #15335, #15342]
52594         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52595         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52596         input NaN values or generate a qNaN by arithmetic operation.
52598         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52599         unreachable code.
52601         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52602         definitions.
52604 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52606         [BZ #14478]
52607         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52608         underflowed result.
52609         * math/s_cexpf.c (__cexpf): Likewise.
52610         * math/s_cexpl.c (__cexpl): Likewise.
52611         * math/libm-test.inc (cexp_test): Add more tests.
52613 2013-04-03  Andreas Schwab  <schwab@suse.de>
52615         [BZ #15330]
52616         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52617         order arrays from heap if bigger than alloca cutoff.
52619 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52621         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52622         (SNAN_TESTS_double): Refer to GCC PR56831.
52623         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52624         GCC PR56828.
52626 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52628         * Rules (bench): Move bench.out after the run is complete.
52630         * Rules (bench): Echo currently running benchmark.
52632         * benchtests/Makefile (bench): Add atan and slowatan.
52633         * benchtests/atan-inputs: New file.
52634         * benchtests/slowatan-inputs: New file.
52635         * benchtests/slowatan.c: New file.
52637         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52638         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52639         its value.
52641         [BZ #15305]
52642         * sysdeps/unix/sysv/linux/kernel-features.h
52643         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52644         __ASSUME_XFS_RESTRICTED_CHOWN.
52645         * sysdeps/unix/sysv/linux/pathconf.c
52646         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52647         Save and restore errno.
52649 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52651         [BZ #15327]
52652         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52653         arguments using __kernel_casinh.
52654         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52655         arguments using __kernel_casinhf.
52656         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52657         arguments using __kernel_casinhl.
52658         * math/libm-test.inc (cacosh_test): Add more tests.
52659         * sysdeps/i386/fpu/libm-test-ulps: Update.
52660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52662 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52664         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52665         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52667         * bench/Makefile (bench): Add sin and slowsin.
52668         * benchtests/sin-inputs: New file.
52669         * benchtests/slowsin-inputs: New file.
52670         * benchtests/slowsin.c: New file.
52672         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52673         (bench): Add slowexp and slowpow.
52674         (exp-ITER): Increase iterations.
52675         (pow-ITER): Likewise.
52676         * benchtests/exp-inputs: Change input.
52677         * benchtests/pow-inputs: Likewise.
52678         * benchtests/slowexp-inputs: New file.
52679         * benchtests/slowexp.c: New file.
52680         * benchtests/slowpow-inputs: New file.
52681         * benchtests/slowpow.c: New file.
52683 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52685         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52686         instructions.
52687         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52688         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52689         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52690         * benchtests/Makefile: Add rint benchtest.
52691         * benchtests/rint-inputs: Input for rint benchtest.
52693 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52695         * Versions.def (libm): Add GLIBC_2.18.
52696         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52697         hidden libm prototypes.
52698         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52699         * math/Makefile (libm-calls): Add s_issignaling.
52700         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52701         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52702         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52703         declaration.
52704         * math/math.h [__USE_GNU] (issignaling): New macro.
52705         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52706         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52707         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52708         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52709         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52710         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52711         * manual/arith.texi (issignaling): New section.
52712         * manual/libm-err-tab.pl (@all_functions): Update comment.
52713         * math/gen-libm-test.pl (parse_args): Apply special handling for
52714         issignaling.
52715         * math/libm-test.inc (print_float, issignaling_test): New
52716         functions.
52717         (check_float_internal): Add issignaling checks.
52718         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52719         default definition.
52720         * sysdeps/powerpc/math-tests.h: New file.
52721         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52722         tests.
52723         * math/test-snan.c (TEST_FUNC): Likewise.
52725 2013-03-30  David S. Miller  <davem@davemloft.net>
52727         * po/de.po: Update from translation team.
52729 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52731         [BZ #10357]
52732         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52733         imaginary part less than 1.0 and real part less than 0.5
52734         specially.
52735         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52736         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52737         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52738         (cacos_test): Add more tests.
52739         (casin_test): Likewise.
52740         (casinh_test): Likewise.
52741         * sysdeps/i386/fpu/libm-test-ulps: Update.
52742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52744 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52746         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52747         ONE with its value.
52749         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52750         (__pow_mp): Replace ONE and MONE with their values.
52751         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52752         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52753         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52754         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52755         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52756         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52758         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52760         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52761         (__pow_mp): Replace ZERO and MZERO with their values.
52762         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52763         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52764         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52765         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52766         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52767         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52768         (__sqr): Likewise.
52770         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52772         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52774 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52776         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52777         Declare with __attribute__ ((weak)).
52778         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52779         Call __call_tls_dtors only if it's not NULL.
52781 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52783         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52784         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52785         magic __ehdr_start linker symbol if it's defined.
52786         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52787         them up here if it was already done.
52789         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52790         (_dl_aux_init): Use const in cast when setting it.
52791         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52792         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52793         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52795         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52796         Declare them here.
52797         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52798         * csu/libc-tls.c: Nor here.
52799         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52801         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52802         (__libc_message): Never call vsyslog.
52804 2013-03-28  Alan Modra  <amodra@gmail.com>
52806         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52807         Define as empty.
52808         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52809         Likewise.
52811 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52813         [BZ #15214]
52814         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52815         underflow.
52816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52818 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52820         [BZ #15304]
52821         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52822         Don't add gid passed as argument.
52824         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52826 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52828         [BZ #15307]
52829         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52830         imaginary part between 1.0 and 1.5 and real part less than 0.5
52831         specially.
52832         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52833         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52834         * math/libm-test.inc (cacos_test): Add more tests.
52835         (casin_test): Likewise.
52836         (casinh_test): Likewise.
52837         * sysdeps/i386/fpu/libm-test-ulps: Update.
52838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52840 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52842         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52843         constants.
52844         (norm): Likewise.
52845         (denorm): Likewise.
52846         (__dbl_mp): Likewise.
52847         (add_magnitudes): Likewise.
52848         (sub_magnitudes): Likewise.
52849         (__add): Likewise.
52850         (__sub): Likewise.
52851         (__mul): Likewise.
52852         (__sqr): Likewise.
52853         (__inv): Likewise.
52854         (__dvd): Likewise.
52856         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52857         commented code.
52858         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52859         (__dubcos): Likewise.
52860         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52861         (__ieee754_acos): Likewise.
52862         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52863         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52864         (__exp1): Likewise.
52865         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52867         (log1): Likewise.
52868         (my_log2): Likewise.
52869         (checkint): Likewise.
52870         * sysdeps/ieee754/dbl-64/e_remainder.c
52871         (__ieee754_remainder): Likewise.
52872         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52873         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52874         (bsloww): Likewise.
52875         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52877         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52878         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52879         MANTISSA_STORE_T to store computations on mantissa.  Use
52880         macros for rounding and division.
52881         (denorm): Likewise.
52882         (__dbl_mp): Likewise.
52883         (add_magnitudes): Likewise.
52884         (sub_magnitudes): Likewise.
52885         (__mul): Likewise.
52886         (__sqr): Likewise.
52887         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52888         powers of two in terms of TWOPOW macro.
52889         (mp_no): Make type of mantissa as MANTISSA_T.
52890         [!RADIXI]: Define RADIXI.
52891         [!TWO52]: Define TWO52.
52892         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52894 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52896         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52897         llroundl symbol when building for PPC32.
52899 2013-03-24  Mark H Weaver  <mhw@netris.org>
52901         * manual/arith.texi (Normalization Functions): Fix prototypes for
52902         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52904 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52906         [BZ #13889]
52907         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52908         high value to check if expl overflow.
52909         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52910         to check for underflow and overflow.
52911         * math/libm-test.inc: Add exp test.
52913 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52915         [BZ #11120]
52916         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52917         with NOT_IN_libc.
52919 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52921         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52922         symbol.
52924 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52926         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52927         wrap blocks consisting of several statements.
52929         * sysdeps/generic/math-tests.h: New file.
52930         * sysdeps/i386/fpu/math-tests.h: Likewise.
52931         * math/test-snan.c: Include it.
52932         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52934 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52936         [BZ #15285]
52937         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52938         (__ieee754_j0l): Do not improve calculations using cos of twice
52939         input for inputs above LDBL_MAX / 2.0L.
52940         (__ieee754_y0l): Likewise.
52941         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52942         (__ieee754_j1l): Do not improve calculations using cos of twice
52943         input for inputs above LDBL_MAX / 2.0L.
52944         (__ieee754_y1l): Likewise.
52945         * math/libm-test.inc (j0_test): Add another test.
52946         (j1_test): Likewise.
52947         (y0_test): Likewise.
52948         (y1_test): Likewise.
52949         * sysdeps/i386/fpu/libm-test-ulps: Update.
52951 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52953         * Rules ($(objpfx)bench-%.c): Include code from a C source
52954         file.
52956 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52958         [BZ #15287]
52959         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52960         imaginary part 1.0 and real part less than 0.5 specially.
52961         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52962         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52963         * math/libm-test.inc (cacos_test): Add more tests.
52964         (casin_test): Likewise.
52965         (casinh_test): Likewise.
52966         * sysdeps/i386/fpu/libm-test-ulps: Update.
52967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52969 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52971         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52972         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52974 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52976         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52977         * config.make.in (config-cflags-sse4): Remove variable.
52978         (config-cflags-avx): Likewise.
52979         (config-cflags-sse2avx): Likewise.
52980         (config-cflags-novzeroupper): Likewise.
52981         (config-asflags-i686): Likewise.
52982         (have-mfma4): Likewise.
52983         (have-as-vis3): Likewise.
52984         (MIG): Likewise.
52985         * configure.in (MIG): Do not AC_SUBST.
52986         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52987         (libc_cv_cc_sse4): Do not AC_SUBST.
52988         (libc_cv_cc_avx): Likewise.
52989         (libc_cv_cc_sse2avx): Likewise.
52990         (libc_cv_cc_novzeroupper): Likewise.
52991         (libc_cv_cc_fma4): Likewise.
52992         (libc_cv_as_i686): Likewise.
52993         (libc_cv_sparc_as_vis3): Likewise.
52994         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52995         LIBC_CONFIG_VAR.
52996         (config-asflags-i686): Likewise.
52997         (config-cflags-avx): Likewise.
52998         (config-cflags-sse2avx): Likewise.
52999         (have-mfma4): Likewise.
53000         (config-cflags-novzeroupper): Likewise.
53001         * sysdeps/mach/configure.in (MIG): Likewise.
53002         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53003         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53004         LIBC_CONFIG_VAR.
53005         (config-cflags-avx): Likewise.
53006         (config-cflags-sse2avx): Likewise.
53007         (have-mfma4): Likewise.
53008         (config-cflags-novzeroupper): Likewise.
53009         * configure: Regenerated.
53010         * sysdeps/i386/configure: Likewise.
53011         * sysdeps/mach/configure: Likewise.
53012         * sysdeps/sparc/configure: Likewise.
53013         * sysdeps/x86_64/configure: Likewise.
53015 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53017         [BZ #14812]
53018         * locale/programs/localedef.c (options): Put N_ translation marker
53019         on argument names, not just descriptions.
53021 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53023         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53025 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53027         [BZ #14176]
53028         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53030 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53032         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53033         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53034         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53035         [!BEFORE_ABORT] (before_abort): New function.
53036         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53037         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53038         (writev_for_fatal): New function.
53039         (WRITEV_FOR_FATAL): New macro; call that.
53040         (backtrace_and_maps): New function.
53041         (BEFORE_ABORT): New macro; call that.
53042         (struct str_list): Type removed.
53043         (__libc_message, __libc_fatal): Functions removed.
53044         Include <sysdeps/posix/libc_fatal.c> instead.
53046 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53048         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53049         constants.
53050         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53051         double constants.
53053 2013-03-19  Andreas Schwab  <schwab@suse.de>
53055         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53056         * sysdeps/gnu/configure: Regenerate.
53058         * configure.in: Substitute libc_cv_rtlddir.
53059         * configure: Regenerate.
53060         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53061         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53062         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53063         * elf/Makefile (install-others, CFLAGS-interp.c)
53064         (ldso_install, common-ldd-rewrite): Likewise.
53065         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53066         $(inst_slibdir)/$(rtld-installed-name).
53067         * scripts/rellns-sh: Add -p option.
53068         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53069         for source.
53071 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53073         * manual/nptl.texi: Renamed to ...
53074         * manual/threads.texi: ... this.
53075         * manual/Makefile (chapters): Update.
53077 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53079         [BZ #14812]
53080         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53081         on argument names, not just descriptions.
53082         * malloc/memusagestat.c (options): Likewise.
53083         * nss/getent.c (options): Likewise.
53085 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53087         [BZ #14812]
53088         * iconv/iconv_prog.c (options): Put N_ translation marker
53089         on argument names, not just descriptions.
53090         * iconv/iconvconfig.c (options): Likewise.
53092 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53094         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53095         implementation which is faster on all x86_64 architectures.
53096         Tested on AMD, Intel Nehalem, SNB, IVB.
53097         * sysdeps/x86_64/strnlen.S: Likewise.
53099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53100         Remove all multiarch strlen and strnlen versions.
53101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53102         Remove strlen and strnlen related parts.
53104         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53105         Inline strlen part.
53106         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53108         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53109         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53110         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53111         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53112         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53113         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53115 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53117         * manual/memory.texi (Malloc Tunable Parameters):
53118         Sort parameters alphabetically. Add comments for missing entries.
53120 2013-03-17  David S. Miller  <davem@davemloft.net>
53122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53124 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53126         [BZ #15283]
53127         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53128         for arguments at most half maximum finite value.
53129         * math/libm-test.inc (j0_test): Add more tests.
53130         (j1_test): Likewise.
53131         (y0_test): Likewise.
53132         (y1_test): Likewise.
53133         * sysdeps/i386/fpu/libm-test-ulps: Update.
53134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53136         [BZ #14155]
53137         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53138         1 / x and functions P and Q for arguments above 0x1p256L.
53139         (__ieee754_y0l): Likewise.
53140         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53141         (__ieee754_y1l): Likewise.
53142         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53143         (j1_test): Likewise.
53144         (y0_test): Likewise.
53145         (y1_test): Likewise.
53147 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53149         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53150         variable.
53152 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53154         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53155         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53156         zero since it's initialized to EXEC_PAGESIZE.
53158         * sysdeps/unix/sysv/linux/ldsodefs.h
53159         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53160         * sysdeps/generic/ldsodefs.h: ... here.
53162 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53164         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53166         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53167         math/test-snan.c.
53168         * math/test-snan.c: Renamed from
53169         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53170         * math/Makefile (tests): Add test-snan.
53171         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53172         test-powerpc-snan.
53174         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53175         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53176         functions.
53177         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53178         __builtin_nan family of functions.
53179         * math/libm-test.inc (initialize): Initialize qnan_value with
53180         __builtin_nan family of functions.
53181         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53182         Remove variables.
53183         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53184         Remove functions.
53185         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53186         storage class.  Initialize qNaN_var and sNaN_var with
53187         __builtin_nan and __builtin_nans families of functions,
53188         respectively.
53190         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53191         (sqrt_test): Remove duplicate test with qNaN input.
53192         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53193         (round_test, signbit_test, significand_test): Note missing +/-Inf
53194         as well as qNaN tests.
53196         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53197         qNaN_var.  Fix a few strings, too.
53198         * math/libm-test.inc (nan_value): Rename to qnan_value.
53199         * math/gen-libm-test.pl (%beautify): Adjust to that.
53200         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53201         * math/test-misc.c (main): Likewise.
53202         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53203         to __qnan_bytes, and __qnan_union, respectively.
53204         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53205         Likewise.
53206         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53207         and lqnanval, respectively.
53208         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53209         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53210         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53211         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53213         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53214         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53215         doubles.
53217         * math/test-misc.c (main): Fix copy'n'pastos.
53218         * misc/tst-efgcvt.c (special): Likewise.
53220         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53221         Remove declarations.
53223 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53225         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53226         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53227         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53228         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53230 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53232         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53233         macro to return vdso values correctly in IFUNC implementations.
53234         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53235         Optimization by using IFUNC.
53237 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53238             Richard Henderson  <rth@redhat.com>
53239             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53241         * Makefile.in (bench): New target.
53242         * NEWS: Mention the benchmark framework.
53243         * Rules (bench): Likewise.
53244         (binaries-bench): Generate binaries for functions to
53245         benchmark.
53246         * benchtests/Makefile: New makefile for benchmark tests.
53247         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53248         programs.
53249         * benchtests/exp-inputs: New input file for EXP function.
53250         * benchtests/pow-inputs: New input file for POW function.
53251         * scripts/bench.pl: New script to generate source files for
53252         benchmark programs.
53254 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53256         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53257         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53258         computations on mantissa.  Use macros for rounding and
53259         division.
53260         (denorm): Likewise.
53261         (__dbl_mp): Likewise.
53262         (add_magnitudes): Likewise.
53263         (sub_magnitudes): Likewise.
53264         (__mul): Likewise.
53265         (__sqr): Likewise.
53266         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53267         powers of two in terms of TWOPOW macro.
53268         (mp_no): Make type of mantissa as MANTISSA_T.
53269         [!RADIXI]: Define RADIXI.
53270         [!TWO52]: Define TWO52.
53271         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53273         * manual/nptl.texi (cindex): Modify threads to pthreads.
53275 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53277         * sysdeps/x86_64/preconfigure: Regenerated.
53279 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53281         [BZ #14155]
53282         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53283         0x1p28 and above.
53284         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53285         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53286         0x1p28 and above.
53287         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53288         * math/libm-test.inc (j0_test): Do not allow one spurious
53289         underflow exception.
53290         (y1_test): Likewise.
53292 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53294         * manual/Makefile (chapters): Add nptl.
53295         * manual/debug.texi (Debugging Support): Add link to Threads
53296         chapter.
53297         * manual/nptl.texi: New file.
53299         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53301 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53303         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53304         for non-NULL pointer before the memory validity test. Pointed
53305         out by Holger Brunck <holger.brunck@keymile.com>.
53307 2013-03-13  Andreas Schwab  <schwab@suse.de>
53309         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53310         instead of .os.
53312 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53314         * timezone/zic.c: Update from tzcode 2013b.
53316 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53318         * manual/install.texi (Configuring and compiling):
53319         Mention i686 and i586.
53320         * INSTALL: Regenerate.
53322 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53324         * sysdeps/init_array/elf-init.c: New file.
53325         * csu/elf-init.c
53326         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53327         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53329         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53330         __gmon_start__ as global, but as static with a .preinit_array pointer.
53331         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53332         * sysdeps/init_array/crti.S: New file, empty except for comments.
53333         * sysdeps/init_array/crtn.S: Likewise.
53335 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53337         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53338         definining bcopy.
53339         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53340         Remove Prefer_SSE_for_memop.
53341         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53342         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53343         HAS_PREFER_SSE_FOR_MEMOP.
53344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53345         memset-x86-64.
53346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53347         Remove bzero, memset ifunc support.
53348         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53349         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53350         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53351         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53353 2013-03-11  Andreas Schwab  <schwab@suse.de>
53355         [BZ #15234]
53356         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53357         by SHLIB_COMPAT.
53358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53359         (GLIBC_2.16): Remove pthread_atfork.
53361 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53363         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53364         (ptestcases.h): Likewise.
53366 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53368         * Makeconfig ($(common-objpfx)config.status): Depend on
53369         sysdeps/*/preconfigure{,.in} too.
53371 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53373         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53374         (__free_hook): Use void * instead of __malloc_ptr_t.
53375         (__malloc_hook): Likewise.
53376         (__realloc_hook): Likewise.
53377         (__memalign_hook): Likewise.
53378         (__after_morecore_hook): Likewise.
53379         * malloc/arena.c (save_malloc_hook): Likewise.
53380         (save_free_hook): Likewise.
53381         * malloc/hooks.c (malloc_hook_ini): Likewise.
53382         (realloc_hook_ini): Likewise.
53383         (memalign_hook_ini): Likewise.
53384         * malloc/malloc.c (malloc_hook_ini): Likewise.
53385         (realloc_hook_ini): Likewise.
53386         (memalign_hook_ini): Likewise.
53387         (__free_hook): Likewise.
53388         (__malloc_hook): Likewise.
53389         (__realloc_hook): Likewise.
53390         (__memalign_hook): Likewise.
53391         (__libc_malloc): Likewise.
53392         (__libc_free): Likewise.
53393         (__libc_realloc): Likewise.
53394         (__libc_memalign): Likewise.
53395         (__libc_valloc): Likewise.
53396         (__libc_pvalloc): Likewise.
53397         (__libc_calloc): Likewise.
53398         (__posix_memalign): Likewise.
53399         * malloc/morecore.c (__sbrk): Likewise.
53400         (__default_morecore): Likewise.
53402         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53404         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53405         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53406         __malloc_ptrdiff_t.
53408         * malloc/malloc.h (__malloc_size_t): Remove macro.
53409         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53410         __malloc_size_t.
53411         (old_memalign_hook): Likewise.
53412         (old_realloc_hook): Likewise.
53413         (struct hdr): Likewise.
53414         (flood): Likewise.
53415         (mallochook): Likewise.
53416         (memalignhook): Likewise.
53417         (reallochook): Likewise.
53418         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53419         (tr_old_realloc_hook): Likewise.
53420         (tr_old_memalign_hook): Likewise.
53421         (tr_mallochook): Likewise.
53422         (tr_reallochook): Likewise.
53423         (tr_memalignhook): Likewise.
53425 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53427         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53428         default_ldbl_pack and using as default implementation.
53429         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53430         implementation.
53431         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53432         redundant definition.
53433         (ldbl_insert_mantissa): Likewise.
53434         (ldbl_canonicalize): Likewise.
53435         (ldbl_nearbyint): Likewise.
53436         (ldbl_pack): Rename to ldbl_pack_ppc.
53437         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53438         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53439         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53441 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53444         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53445         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53446         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53448         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53449         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53450         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53452 2013-03-07  Andreas Jaeger  <aj@suse.de>
53454         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53455         bits/mman-linux.h.
53457 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53459         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53460         Include mpa.h and declare __MPEXP.
53461         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53462         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53463         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53464         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53465         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53466         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53467         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53469         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53470         (__slowpow): Use long double EXPL and LOGL functions to
53471         compute POW.
53472         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53473         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53474         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53475         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53476         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53477         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53479         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53480         intermediate variable to calculate exponent.
53481         (__sqr): Likewise.
53482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53483         Likewise.
53484         (__sqr): Likewise.
53486         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53487         [!NO__SQR]: Define __sqr.
53488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53489         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53490         sysdeps/ieee754/dbl-64/mpa.c.
53491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53493         [BZ #12723]
53494         * posix/Makefile (tests): Add tst-pathconf.
53495         * posix/tst-pathconf.c: New test case.
53496         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53497         _PC_PIPE_BUF.
53498         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53500 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53502         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53504 2013-03-06  Andreas Jaeger  <aj@suse.de>
53506         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53507         definition via __MAP_ANONYMOUS.
53509         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53510         it's not part of Linux headers.
53512         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53513         (MAP_HUGE_MASK): Define.
53515         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53516         Define.
53517         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53518         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53519         Define.
53520         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53521         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53522         Define.
53523         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53524         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53525         Define.
53526         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53528         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53529         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53530         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53531         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53532         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53533         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53535         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53536         Handle f2fs.
53538         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53539         Handle f2fs and efivarfs.
53541         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53542         f2fs.
53544         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53545         (EFIVARFS_MAGIC): Add.
53546         (F2FS_LINK_MAX): Add.
53548 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53550         * stdio-common/vfprintf.c: Replace __builtin_expect with
53551         __glibc_unlikely.
53553 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53555         [BZ #13550]
53556         * sysdeps/generic/bp-sym.h: Remove file.
53557         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53558         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53559         <bp-sym.h> and <bp-asm.h>.
53560         (__longjmp): Don't use BP_SYM.
53561         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53562         and <bp-asm.h>.
53563         (memcpy): Don't use BP_SYM.
53564         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53565         <bp-sym.h> and <bp-asm.h>.
53566         (memcpy): Don't use BP_SYM.
53567         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53568         <bp-asm.h>.
53569         (memcpy): Don't use BP_SYM.
53570         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53571         <bp-asm.h>.
53572         (memset): Don't use BP_SYM.
53573         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53574         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53575         (__bzero): Don't use BP_SYM.
53576         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53577         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53578         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53579         <bp-sym.h> and <bp-asm.h>.
53580         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53581         pointers.
53582         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53583         <bp-sym.h> and <bp-asm.h>.
53584         (memcpy): Don't use BP_SYM.
53585         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53586         <bp-sym.h> and <bp-asm.h>.
53587         (memset): Don't use BP_SYM.
53588         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53589         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53590         (__bzero): Don't use BP_SYM.
53591         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53592         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53593         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53594         <bp-sym.h> and <bp-asm.h>.
53595         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53596         pointers.
53597         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53598         <bp-sym.h> and <bp-asm.h>.
53599         (memcpy): Don't use BP_SYM.
53600         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53601         <bp-sym.h> and <bp-asm.h>.
53602         (memset): Don't use BP_SYM.
53603         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53604         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53605         (__bzero): Don't use BP_SYM.
53606         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53607         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53608         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53609         <bp-sym.h> and <bp-asm.h>.
53610         (__memchr): Don't use BP_SYM.
53611         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53612         <bp-sym.h> and <bp-asm.h>.
53613         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53614         pointers.
53615         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53616         <bp-sym.h> and <bp-asm.h>.
53617         (memcpy): Don't use BP_SYM.
53618         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53619         <bp-sym.h> and <bp-asm.h>.
53620         (__mempcpy): Don't use BP_SYM.
53621         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53622         <bp-sym.h> and <bp-asm.h>.
53623         (__memrchr): Don't use BP_SYM.
53624         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53625         <bp-sym.h> and <bp-asm.h>.
53626         (memset): Don't use BP_SYM.
53627         (__bzero): Likewise.
53628         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53629         <bp-sym.h> and <bp-asm.h>.
53630         (__rawmemchr): Don't use BP_SYM.
53631         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53632         <bp-sym.h> and <bp-asm.h>.
53633         (__STRCMP): Don't use BP_SYM.
53634         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53635         <bp-sym.h> and <bp-asm.h>.
53636         (strchr): Don't use BP_SYM.
53637         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53638         <bp-sym.h> and <bp-asm.h>.
53639         (__strchrnul): Don't use BP_SYM.
53640         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53641         <bp-sym.h> and <bp-asm.h>.
53642         (strlen): Don't use BP_SYM.
53643         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53644         <bp-sym.h> and <bp-asm.h>.
53645         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53646         pointers.
53647         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53648         <bp-sym.h> and <bp-asm.h>.
53649         (__strnlen): Don't use BP_SYM.
53650         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53651         <bp-sym.h> and <bp-asm.h>.
53652         (__GI__setjmp): Don't use BP_SYM.
53653         (_setjmp): Likewise.
53654         (__sigsetjmp): Likewise.
53655         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53656         (L(start_addresses)): Don't use BP_SYM.
53657         (_start): Likewise.
53658         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53659         <bp-asm.h>.
53660         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53661         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53662         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53663         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53664         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53665         <bp-asm.h>.
53666         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53667         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53668         about bounded pointers.
53669         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53670         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53671         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53672         <bp-asm.h>.
53673         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53674         about bounded pointers.  Remove GKM FIXME comments.
53675         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53676         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53677         <bp-asm.h>.
53678         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53679         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53680         Remove GKM FIXME comments.
53681         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53682         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53683         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53684         <bp-asm.h>.
53685         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53686         about bounded pointers.  Remove GKM FIXME comment.
53687         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53688         and <bp-asm.h>.
53689         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53690         pointers.
53691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53692         <bp-sym.h> and <bp-asm.h>.
53693         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53695         <bp-sym.h> and <bp-asm.h>.
53696         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53697         comment.
53699 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53701         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53702         call free(NULL).
53704 2013-03-05  David S. Miller  <davem@davemloft.net>
53706         * po/es.po: Update from translation team.
53708 2013-03-05  Andreas Jaeger  <aj@suse.de>
53710         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53711         <bits/mman-linux.h>.
53712         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53713         is fine.
53714         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53715         <bits/mman-linux.h> to end of file.
53716         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53717         is fine.
53718         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53719         <bits/mman-linux.h> to end of file.
53720         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53721         is fine.
53722         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53723         <bits/mman-linux.h> to end of file.
53725         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53726         (MCL_CURRENT, MCL_FUTURE): Define here.
53728 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53730         [BZ #15232]
53731         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53732         attribute_hidden.
53733         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53735 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53737         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53738         fourth parameter needed for rt_sigprocmask syscall.
53739         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53740         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53741         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53742         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53743         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53744         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53746 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53748         [BZ #13550]
53749         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53750         comment about bounded pointers.
53751         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53752         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53754 2013-03-04  Andreas Jaeger  <aj@suse.de>
53756         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53757         common definitions.
53759         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53760         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53761         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53762         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53763         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53764         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53766 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53768         [BZ #15055]
53769         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53770         __ieee754_sqrl instead of __sqrl.
53772 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53774         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53775         * sysdeps/powerpc/fpu_control.h: ... here.
53776         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53777         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53778         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53779         * sysdeps/powerpc/bits/mathinline.h: ... here.
53781 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53783         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53784         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53785         to just [NEED_DL_SYSINFO_DSO].
53786         * elf/dl-support.c: Likewise.
53787         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53788         * elf/rtld.c (dl_main): Likewise.
53789         * elf/setup-vdso.h (setup_vdso): Likewise.
53790         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53791         * sysdeps/unix/sysv/linux/dl-sysdep.c
53792         (_dl_discover_osversion): Likewise.
53794 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53796         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53797         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53799 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53801         * NEWS: Mention libm performance improvements and non-x86 PI
53802         futex support.
53804         * csu/libc-start.c (__pthread_initialize_minimal): Change
53805         function arguments.
53806         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53808 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53810         [BZ #13550]
53811         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53812         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53813         <bp-sym.h> and <bp-asm.h>.
53814         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53815         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53816         and <bp-asm.h>.
53817         (memcpy): Don't use BP_SYM.
53818         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53819         <bp-asm.h>.
53820         (__mpn_add_n): Don't use BP_SYM.
53821         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53822         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53823         and <bp-asm.h>.
53824         (__mpn_addmul_1): Don't use BP_SYM.
53825         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53826         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53827         <bp-sym.h>.
53828         (_setjmp): Don't use BP_SYM.
53829         (__novmx_setjmp): Likewise.
53830         (__GI__setjmp): Likewise.
53831         (__vmx_setjmp): Likewise.
53832         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53833         <bp-sym.h>.
53834         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53835         (__bzero): Don't use BP_SYM.
53836         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53837         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53838         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53839         <bp-sym.h> and <bp-asm.h>.
53840         (memcpy): Don't use BP_SYM.
53841         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53842         <bp-sym.h> and <bp-asm.h>.
53843         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53844         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53845         <bp-sym.h> and <bp-asm.h>.
53846         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53847         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53848         <bp-asm.h>.
53849         (__mpn_lshift): Don't use BP_SYM.
53850         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53851         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53852         <bp-asm.h>.
53853         (memset): Don't use BP_SYM.
53854         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53855         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53856         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53857         <bp-asm.h>.
53858         (__mpn_mul_1): Don't use BP_SYM.
53859         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53860         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53861         <bp-sym.h> and <bp-asm.h>.
53862         (memcmp): Don't use BP_SYM.
53863         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53864         <bp-sym.h> and <bp-asm.h>.
53865         (memcpy): Don't use BP_SYM.
53866         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53867         <bp-sym.h> and <bp-asm.h>.
53868         (memset): Don't use BP_SYM.
53869         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53870         <bp-sym.h> and <bp-asm.h>.
53871         (strncmp): Don't use BP_SYM.
53872         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53873         <bp-sym.h> and <bp-asm.h>.
53874         (memcpy): Don't use BP_SYM.
53875         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53876         <bp-sym.h> and <bp-asm.h>.
53877         (memset): Don't use BP_SYM.
53878         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53879         <bp-sym.h> and <bp-asm.h>.
53880         (__memchr): Don't use BP_SYM.
53881         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53882         <bp-sym.h> and <bp-asm.h>.
53883         (memcmp): Don't use BP_SYM.
53884         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53885         <bp-sym.h> and <bp-asm.h>.
53886         (memcpy): Don't use BP_SYM.
53887         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53888         <bp-sym.h> and <bp-asm.h>.
53889         (__mempcpy): Don't use BP_SYM.
53890         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53891         <bp-sym.h> and <bp-asm.h>.
53892         (__memrchr): Don't use BP_SYM.
53893         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53894         <bp-sym.h> and <bp-asm.h>.
53895         (memset): Don't use BP_SYM.
53896         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53897         <bp-sym.h> and <bp-asm.h>.
53898         (__rawmemchr): Don't use BP_SYM.
53899         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53900         <bp-sym.h> and <bp-asm.h>.
53901         (__STRCMP): Don't use BP_SYM.
53902         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53903         <bp-sym.h> and <bp-asm.h>.
53904         (strchr): Don't use BP_SYM.
53905         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53906         <bp-sym.h> and <bp-asm.h>.
53907         (__strchrnul): Don't use BP_SYM.
53908         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53909         <bp-sym.h> and <bp-asm.h>.
53910         (strlen): Don't use BP_SYM.
53911         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53912         <bp-sym.h> and <bp-asm.h>.
53913         (strncmp): Don't use BP_SYM.
53914         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53915         <bp-sym.h> and <bp-asm.h>.
53916         (__strnlen): Don't use BP_SYM.
53917         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53918         <bp-asm.h>.
53919         (__mpn_rshift): Don't use BP_SYM.
53920         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53921         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53922         <bp-sym.h> and <bp-asm.h>.
53923         (__sigsetjmp): Don't use BP_SYM.
53924         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53925         (L(start_addresses)): Don't use BP_SYM.
53926         (_start): Likewise.
53927         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53928         <bp-asm.h>.
53929         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53930         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53931         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53932         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53933         <bp-asm.h>.
53934         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53935         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53936         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53937         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53938         <bp-asm.h>.
53939         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53940         comments.
53941         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53942         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53943         <bp-asm.h>.
53944         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53945         FIXME comments.
53946         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53947         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53948         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53949         <bp-asm.h>.
53950         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53951         comment.
53952         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53953         and <bp-asm.h>.
53954         (strncmp): Don't use BP_SYM,
53955         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53956         <bp-asm.h>.
53957         (__mpn_sub_n): Don't use BP_SYM.
53958         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53959         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53960         and <bp-asm.h>.
53961         (__mpn_submul_1): Don't use BP_SYM.
53962         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53964         <bp-sym.h> and <bp-asm.h>.
53965         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53967         <bp-sym.h> and <bp-asm.h>.
53968         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53969         comment.
53971 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53974         Use ZK to minimize writes to Z.
53975         (sub_magnitudes): Simplify code a bit.
53976         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53977         Use ZK to minimize writes to Z.
53978         (sub_magnitudes): Simplify code a bit.
53980 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53982         * csu/gmon-start.c: Add special exception to license text.
53984 2013-02-27  Richard Henderson  <rth@redhat.com>
53986         * scripts/config.guess: Update from config.git.
53987         * scripts/config.sub: Likewise.
53989 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53991         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53993         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53995         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53997         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53999         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54001 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54003         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54004         [$(build-shared = yes].
54006 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54008         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54009         (__mul): Reduce iterations for calculating mantissa.
54011         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54012         MPTWO.
54013         (__mpranred): Likewise.
54015         [BZ #15160]
54016         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54017         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54019 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54021         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54022         Define __attribute__.
54024 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54026         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54027         unused.
54028         * posix/regex_internal.h (__attribute): Remove.
54029         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54030         (re_string_context_at): Likewise.
54031         (bitset_not): Use __attribute__ and mark function as possibly
54032         unused.
54033         (bitset_merge): Likewise.
54034         (bitset_mask): Likewise.
54035         (re_string_char_size_at): Likewise.
54036         (re_string_wchar_at): Likewise.
54037         (re_string_elem_size_at): Likewise.
54039 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54041         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54042         code.
54043         (cc32): Likewise.
54045         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54046         (__acr): Likewise.
54047         (__cpy): Likewise.
54048         (norm): Likewise.
54049         (denorm): Likewise.
54050         (__dbl_mp): Likewise.
54051         (add_magnitudes): Likewise.
54052         (sub_magnitudes): Likewise.
54053         (__mul): Likewise.
54054         (__inv): Likewise.
54056         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54057         style.
54059         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54060         style.
54062         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54063         code.
54065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54066         up changes with default code.
54067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54068         Likewise.
54070 2013-02-24  Allan McRae  <allan@archlinux.org>
54072         * manual/socket.texi (The Internet Namespace): Order menu items
54073         to match that in the file.
54075         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54076         node listing of the info page menu.
54078 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54080         [BZ #13550]
54081         * sysdeps/i386/bp-asm.h: Remove file.
54082         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54083         (PARMS): Do not use macros from bp-asm.h.
54084         (S1): Likewise.
54085         (S2): Likewise.
54086         (SIZE): Likewise.
54087         (__mpn_add_n): Do not use BP_SYM
54088         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54089         "bp-asm.h".
54090         (PARMS): Do not use macros from bp-asm.h.
54091         (S1): Likewise.
54092         (SIZE): Likewise.
54093         (__mpn_addmul_1): Do not use BP_SYM
54094         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54095         "bp-asm.h".
54096         (PARMS): Do not use macros from bp-asm.h.
54097         (SIGMSK): Likewise.
54098         (_setjmp): Likewise.  Do not use BP_SYM.
54099         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54100         "bp-asm.h".
54101         (PARMS): Do not use macros from bp-asm.h.
54102         (SIGMSK): Likewise.
54103         (setjmp): Likewise.  Do not use BP_SYM.
54104         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54105         "bp-asm.h".
54106         (PARMS): Do not use macros from bp-asm.h.
54107         (__frexp): Do not use BP_SYM.
54108         (frexp): Likewise.
54109         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54110         "bp-asm.h".
54111         (PARMS): Do not use macros from bp-asm.h.
54112         (__frexpf): Do not use BP_SYM.
54113         (frexpf): Likewise.
54114         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54115         "bp-asm.h".
54116         (PARMS): Do not use macros from bp-asm.h.
54117         (__frexpl): Do not use BP_SYM.
54118         (frexpl): Likewise.
54119         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54120         "bp-asm.h".
54121         (PARMS): Do not use macros from bp-asm.h.
54122         (__remquo): Do not use BP_SYM.
54123         (remquo): Likewise.
54124         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54125         "bp-asm.h".
54126         (PARMS): Do not use macros from bp-asm.h.
54127         (__remquof): Do not use BP_SYM.
54128         (remquof): Likewise.
54129         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54130         "bp-asm.h".
54131         (PARMS): Do not use macros from bp-asm.h.
54132         (__remquol): Do not use BP_SYM.
54133         (remquol): Likewise.
54134         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54135         "bp-asm.h".
54136         (PARMS): Do not use macros from bp-asm.h.
54137         (DEST): Likewise.
54138         (SRC): Likewise.
54139         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54140         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54141         "bp-asm.h".
54142         (PARMS): Do not use macros from bp-asm.h.
54143         (strlen): Do not use BP_SYM.
54144         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54145         "bp-asm.h".
54146         (PARMS): Do not use macros from bp-asm.h.
54147         (S1): Likewise.
54148         (S2): Likewise.
54149         (SIZE): Likewise.
54150         (__mpn_add_n): Do not use BP_SYM.
54151         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54152         "bp-asm.h".
54153         (PARMS): Do not use macros from bp-asm.h.
54154         (S1): Likewise.
54155         (SIZE): Likewise.
54156         (__mpn_addmul_1): Do not use BP_SYM.
54157         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54158         weak_alias.
54159         (bzero): Likewise.
54160         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54161         "bp-asm.h".
54162         (PARMS): Do not use macros from bp-asm.h.
54163         (S): Likewise.
54164         (SIZE): Likewise.
54165         (__mpn_lshift): Do not use BP_SYM.
54166         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54167         "bp-asm.h".
54168         (PARMS): Do not use macros from bp-asm.h.
54169         (DEST): Likewise.
54170         (SRC): Likewise.
54171         (LEN): Likewise.
54172         (memcpy): Likewise.  Do not use BP_SYM.
54173         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54174         libc_hidden_def and weak_alias.
54175         (mempcpy): Do not use BP_SYM in weak_alias.
54176         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54177         "bp-asm.h".
54178         (PARMS): Do not use macros from bp-asm.h.
54179         (DEST): Likewise.
54180         (LEN): Likewise.
54181         [!BZERO_P] (CHR): Likewise.
54182         (memset): Likewise.  Do not use BP_SYM.
54183         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54184         "bp-asm.h".
54185         (PARMS): Do not use macros from bp-asm.h.
54186         (S1): Likewise.
54187         (SIZE): Likewise.
54188         (__mpn_mul_1): Do not use BP_SYM.
54189         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54190         "bp-asm.h".
54191         (PARMS): Do not use macros from bp-asm.h.
54192         (S): Likewise.
54193         (SIZE): Likewise.
54194         (__mpn_rshift): Do not use BP_SYM.
54195         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54196         "bp-asm.h".
54197         (PARMS): Do not use macros from bp-asm.h.
54198         (STR): Likewise.
54199         (CHR): Likewise.
54200         (strchr): Likewise.  Do not use BP_SYM.
54201         (index): Do not use BP_SYM in weak_alias.
54202         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54203         "bp-asm.h".
54204         (PARMS): Do not use macros from bp-asm.h.
54205         (DEST): Likewise.
54206         (SRC): Likewise.
54207         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54208         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54209         "bp-asm.h".
54210         (PARMS): Do not use macros from bp-asm.h.
54211         (strlen): Do not use BP_SYM.
54212         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54213         "bp-asm.h".
54214         (PARMS): Do not use macros from bp-asm.h.
54215         (S1): Likewise.
54216         (S2): Likewise.
54217         (SIZE): Likewise.
54218         (__mpn_sub_n): Do not use BP_SYM.
54219         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54220         "bp-asm.h".
54221         (PARMS): Do not use macros from bp-asm.h.
54222         (S1): Likewise.
54223         (SIZE): Likewise.
54224         (__mpn_submul_1): Do not use BP_SYM.
54225         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54226         "bp-asm.h".
54227         (PARMS): Do not use macros from bp-asm.h.
54228         (S1): Likewise.
54229         (S2): Likewise.
54230         (SIZE): Likewise.
54231         (__mpn_add_n): Do not use BP_SYM.
54232         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54233         weak_alias.
54234         (bzero): Likewise.
54235         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54236         "bp-asm.h".
54237         (PARMS): Do not use macros from bp-asm.h.
54238         (BLK2): Likewise.
54239         (LEN): Likewise.
54240         (memcmp): Do not use BP_SYM.
54241         (bcmp): Do not use BP_SYM in weak_alias.
54242         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54243         "bp-asm.h".
54244         (PARMS): Do not use macros from bp-asm.h.
54245         (DEST): Likewise.
54246         (SRC): Likewise.
54247         (LEN): Likewise.
54248         (memcpy): Likewise.  Do not use BP_SYM.
54249         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54250         "bp-asm.h".
54251         (PARMS): Do not use macros from bp-asm.h.
54252         (DEST): Likewise.
54253         (SRC): Likewise.
54254         (LEN): Likewise.
54255         (memmove): Likewise.  Do not use BP_SYM.
54256         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54257         "bp-asm.h".
54258         (PARMS): Do not use macros from bp-asm.h.
54259         (DEST): Likewise.
54260         (SRC): Likewise.
54261         (LEN): Likewise.
54262         (__mempcpy): Likewise.  Do not use BP_SYM.
54263         (mempcpy): Do not use BP_SYM in weak_alias.
54264         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54265         "bp-asm.h".
54266         (PARMS): Do not use macros from bp-asm.h.
54267         (DEST): Likewise.
54268         (LEN): Likewise.
54269         [!BZERO_P] (CHR): Likewise.
54270         (memset): Likewise.  Do not use BP_SYM.
54271         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54272         "bp-asm.h".
54273         (PARMS): Do not use macros from bp-asm.h.
54274         (STR2): Likewise.
54275         (strcmp): Do not use BP_SYM.
54276         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54277         "bp-asm.h".
54278         (PARMS): Do not use macros from bp-asm.h.
54279         (STR): Likewise.
54280         (DELIM): Likewise.
54281         [USE_AS_STRTOK_R] (SAVE): Likewise.
54282         (FUNCTION): Likewise.  Do not use BP_SYM.
54283         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54284         aliases.
54285         (strtok_r): Likewise.
54286         (__GI___strtok_r): Likewise.
54287         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54288         (PARMS): Do not use macros from bp-asm.h.
54289         (S): Likewise.
54290         (SIZE): Likewise.
54291         (__mpn_lshift): Do not use BP_SYM.
54292         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54293         (PARMS): Do not use macros from bp-asm.h.
54294         (STR): Likewise.
54295         (CHR): Likewise.
54296         (__memchr): Do not use BP_SYM.
54297         (memchr): Do not use BP_SYM in weak_alias.
54298         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54299         (PARMS): Do not use macros from bp-asm.h.
54300         (BLK2): Likewise.
54301         (LEN): Likewise.
54302         (memcmp): Do not use BP_SYM.
54303         (bcmp): Do not use BP_SYM in weak_alias.
54304         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54305         (PARMS): Do not use macros from bp-asm.h.
54306         (S1): Likewise.
54307         (SIZE): Likewise.
54308         (__mpn_mul_1): Do not use BP_SYM.
54309         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54310         "bp-asm.h".
54311         (PARMS): Do not use macros from bp-asm.h.
54312         (STR): Likewise.
54313         (CHR): Likewise.
54314         (__rawmemchr): Do not use BP_SYM.
54315         (rawmemchr): Do not use BP_SYM in weak_alias.
54316         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54317         (PARMS): Do not use macros from bp-asm.h.
54318         (S): Likewise.
54319         (SIZE): Likewise.
54320         (__mpn_rshift): Do not use BP_SYM.
54321         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54322         (PARMS): Do not use macros from bp-asm.h.
54323         (SIGMSK): Likewise.
54324         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54325         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54326         (_start): Do not use BP_SYM.
54327         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54328         (PARMS): Do not use macros from bp-asm.h.
54329         (DEST): Likewise.
54330         (SRC): Likewise.
54331         (__stpcpy): Likewise.  Do not use BP_SYM.
54332         (stpcpy): Do not use BP_SYM in weak_alias.
54333         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54334         "bp-asm.h".
54335         (PARMS): Do not use macros from bp-asm.h.
54336         (DEST): Likewise.
54337         (SRC): Likewise.
54338         (LEN): Likewise.
54339         (__stpncpy): Likewise.  Do not use BP_SYM.
54340         (stpncpy): Do not use BP_SYM in weak_alias.
54341         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54342         (PARMS): Do not use macros from bp-asm.h.
54343         (STR): Likewise.
54344         (CHR): Likewise.
54345         (strchr): Likewise.  Do not use BP_SYM.
54346         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54347         "bp-asm.h".
54348         (PARMS): Do not use macros from bp-asm.h.
54349         (STR): Likewise.
54350         (CHR): Likewise.
54351         (__strchrnul): Likewise.  Do not use BP_SYM.
54352         (strchrnul): Do not use BP_SYM in weak_alias.
54353         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54354         "bp-asm.h".
54355         (PARMS): Do not use macros from bp-asm.h.
54356         (STOP): Likewise.
54357         (strcspn): Do not use BP_SYM.
54358         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54359         "bp-asm.h".
54360         (PARMS): Do not use macros from bp-asm.h.
54361         (STR): Likewise.
54362         (STOP): Likewise.
54363         (strpbrk): Likewise.  Do not use BP_SYM.
54364         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54365         "bp-asm.h".
54366         (PARMS): Do not use macros from bp-asm.h.
54367         (STR): Likewise.
54368         (CHR): Likewise.
54369         (strrchr): Likewise.  Do not use BP_SYM.
54370         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54371         (PARMS): Do not use macros from bp-asm.h.
54372         (SKIP): Likewise.
54373         (strspn): Do not use BP_SYM.
54374         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54375         (PARMS): Do not use macros from bp-asm.h.
54376         (STR): Likewise.
54377         (DELIM): Likewise.
54378         (SAVE): Likewise.
54379         (FUNCTION): Likewise.  Do not use BP_SYM.
54380         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54381         aliases.
54382         (strtok_r): Likewise.
54383         (__GI___strtok_r): Likewise.
54384         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54385         (PARMS): Do not use macros from bp-asm.h.
54386         (S1): Likewise.
54387         (S2): Likewise.
54388         (SIZE): Likewise.
54389         (__mpn_sub_n): Do not use BP_SYM.
54390         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54391         "bp-asm.h".
54392         (PARMS): Do not use macros from bp-asm.h.
54393         (S1): Likewise.
54394         (SIZE): Likewise.
54395         (__mpn_submul_1): Do not use BP_SYM.
54396         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54397         <bp-sym.h>.
54398         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54399         and <bp-asm.h>.
54400         (PARMS): Do not use macros from bp-asm.h.
54401         (FLAGS): Likewise.
54402         (PTID): Likewise.
54403         (TLS): Likewise.
54404         (CTID): Likewise.
54405         (__clone): Do not use BP_SYM.
54406         (clone): Do not use BP_SYM in weak_alias.
54407         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54408         and <bp-asm.h>.
54409         (PARMS): Do not use macros from bp-asm.h.
54410         (LEN): Likewise.
54411         (__mmap64): Do not use BP_SYM.
54412         (mmap64): Do not use BP_SYM in weak_alias.
54413         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54414         <bp-sym.h> and <bp-asm.h>.
54415         (PARMS): Do not use macros from bp-asm.h.
54416         (__posix_fadvise64_l64): Do not use BP_SYM.
54417         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54418         (PARMS): Do not use macros from bp-asm.h.
54419         (NSOPS): Likewise.
54420         (semtimedop): Do not use BP_SYM.
54421         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54422         and <bp-asm.h>.
54424 2013-02-21  Allan McRae  <allan@archlinux.org>
54426         * manual/message.texi (Charset conversion in gettext):
54427         Move @end statement to beginning of line.
54429 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54431         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54432         static.
54433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54434         Likewise.
54436         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54437         (denorm): Likewise.
54438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54441 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54443         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54444         tail-call to the resolved function if pltexit isn't needed.
54446 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54449         or Y being zero as being unlikely.
54450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54451         Likewise.
54453 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54455         * manual/nss.texi (System Databases and Name Service Switch):
54456         Remove frobnicate @pxref.
54458 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54460         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54461         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54463 2013-02-20  Petr Machata  <pmachata@redhat.com>
54465         * elf/elf.h (R_ARM_TARGET1): New macro.
54466         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54467         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54468         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54469         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54470         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54471         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54472         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54473         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54474         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54475         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54476         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54477         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54478         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54479         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54480         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54481         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54482         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54483         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54484         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54485         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54486         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54487         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54488         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54489         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54490         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54491         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54492         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54493         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54494         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54495         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54496         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54497         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54498         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54499         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54500         (R_ARM_THM_GOT_BREL12): Likewise.
54501         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54502         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54503         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54504         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54505         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54506         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54507         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54508         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54509         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54511 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54513         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54514         __attribute_used__ to __attribute__ ((unused)).
54516 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54518         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54519         powerpc mpa.c.
54520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54521         comment formatting.
54522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54524 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54526         [BZ #13550]
54527         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54528         Remove macro.
54529         (ENTER): Remove both macro definitions.
54530         (LEAVE): Likewise.
54531         (CHECK_BOUNDS_LOW): Likewise.
54532         (CHECK_BOUNDS_HIGH): Likewise.
54533         (CHECK_BOUNDS_BOTH): Likewise.
54534         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54535         (RETURN_BOUNDED_POINTER): Likewise.
54536         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54537         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54538         (POP_ERRNO_LOCATION_RETURN): Likewise.
54539         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54540         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54541         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54542         macros.
54543         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54544         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54545         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54546         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54547         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54548         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54549         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54550         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54551         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54552         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54553         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54554         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54555         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54556         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54557         removed macros.
54558         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54559         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54560         macros.
54561         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54562         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54563         * sysdeps/i386/i586/memset.S (memset): Likewise.
54564         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54565         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54566         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54567         macros.
54568         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54569         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54570         Change uses of L(2) to L(out).
54571         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54572         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54573         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54574         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54575         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54576         removed macros.
54577         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54578         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54579         macros.
54580         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54581         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54582         (RETURN): Do not use macro LEAVE.
54583         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54584         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54585         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54586         * sysdeps/i386/i686/memset.S (memset): Likewise.
54587         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54588         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54589         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54590         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54591         Likewise.
54592         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54593         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54594         L(1_2) and L(1_3) into L(1).
54595         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54596         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54597         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54598         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54599         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54600         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54601         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54602         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54603         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54604         macros.
54605         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54606         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54607         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54608         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54609         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54610         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54611         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54612         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54613         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54614         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54615         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54616         * sysdeps/i386/strspn.S (strspn): Likewise.
54617         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54618         conditional code.
54619         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54620         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54621         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54622         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54623         L(1_3) into L(1_1).
54624         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54625         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54626         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54627         macros.
54628         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54630 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54632         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54633         macro.
54635 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54637         * math/atest-exp.c (exp_mpn): Remove ROUND.
54638         * math/atest-exp2.c (exp_mpn): Likewise.
54639         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54641         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54642         * stdlib/tst-tls-atexit-lib.c: Likewise.
54643         * stdlib/tst-tls-atexit.c: Likewise.
54645 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54647         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54648         and __attribute_alloc_size__.
54650 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54652         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54653         __attribute_alloc_size__.
54654         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54655         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54657 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54659         * include/programs/xmalloc.h: New file.
54660         * catgets/gencat.c: Include it.
54661         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54662         * elf/pldd.c: Likewise.
54663         * iconv/iconv_charmap.c: Likewise.
54664         * iconv/iconvconfig.c: Likewise.
54665         * iconv/strtab.c: Likewise.
54666         * locale/programs/locale.c: Likewise.
54667         * locale/programs/localedef.h: Likewise.
54668         * locale/programs/simple-hash.c: Likewise.
54669         * nscd/nscd.h: Likewise.
54670         * nss/makedb.c: Likewise.
54671         * sysdeps/generic/ldconfig.h: Likewise.
54673 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54675         * Versions.def: Add GLIBC_2.18.
54676         * include/link.h (struct link_map): New member l_tls_dtor_count.
54677         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54678         (__call_tls_dtors): Likewise.
54679         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54680         __cxa_thread_atexit_impl.
54681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54682         Likewise.
54683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54684         Likewise.
54685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54686         Likewise.
54687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54688         Likewise.
54689         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54691         Likewise.
54692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54693         Likewise.
54694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54696         Likewise.
54697         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54698         (tests): Add test case tst-tls-atexit.
54699         (modules-names): Add shared library for tst-tls-atexit.
54700         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54701         (GLIBC_PRIVATE): Add __call_tls_dtors.
54702         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54703         for libstdc++.
54704         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54705         * stdlib/tst-tls-atexit.c: New test case.
54706         * stdlib/tst-tls-atexit-lib.c: New test case.
54708         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54710         * elf/Versions (ld): Add _dl_find_dso_for_object.
54711         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54712         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54713         (dl_open_worker): Use _dl_find_dso_for_object.
54714         * elf/dl-sym.c (do_sym): Likewise.
54715         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54717 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54719         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54720         Syntactic changes only.
54721         (_dl_runtime_profile): Do a tail-call to the resolved function.
54723 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54725         [BZ #13550]
54726         * sysdeps/x86_64/bp-asm.h: Remove file.
54727         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54728         <bp-sym.h> and <bp-asm.h>.
54729         (__clone): Do not use BP_SYM.
54730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54731         <bp-sym.h> and <bp-asm.h>.
54732         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54733         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54734         "bp-asm.h".
54735         (_setjmp): Do not use BP_SYM.
54736         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54737         "bp-asm.h".
54738         (setjmp): Do not use BP_SYM.
54739         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54740         libc_hidden_def.
54741         (mempcpy): Do not use BP_SYM in weak_alias.
54742         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54743         "bp-asm.h".
54744         (strchr): Do not use BP_SYM.
54745         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54746         "bp-asm.h".
54747         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54748         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54749         (_start): Do not use BP_SYM.
54750         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54751         "bp-asm.h".
54752         (strcat): Do not use BP_SYM.
54753         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54754         "bp-asm.h".
54755         (STRCMP): Do not use BP_SYM.
54756         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54757         "bp-asm.h".
54758         (STRCPY): Do not use BP_SYM.
54759         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54760         "bp-asm.h".
54761         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54762         "bp-asm.h".
54763         (FUNCTION): Do not use BP_SYM.
54764         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54765         weak_alias.
54766         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54768 2013-02-17  Andreas Jaeger  <aj@suse.de>
54770         * time/Versions: Sort entries.
54771         * string/Versions: Likewise.
54772         * resolv/Versions: Likewise.
54773         * posix/Versions: Likewise.
54774         * iconv/Versions: Likewise.
54775         * elf/Versions: Likewise.
54776         * wcsmbs/Versions: Likewise.
54778 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54780         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54781         loop termination condition.
54783         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54784         variable to calculate EZ.
54785         (__sqr): Likewise.
54787         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54788         the lower precision input.
54790 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54792         [BZ #13550]
54793         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54794         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54795         (run-via-rtld-prefix): Do not handle %-bp tests.
54796         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54797         (all-object-suffixes): Remove .ob.
54798         (bppfx): Remove variable.
54799         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54800         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54801         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54802         [$(build-bounded) = yes] (libtype.ob): Likewise.
54803         * Makerules (elide-routines.ob): Remove variable.
54804         (do-tests-clean): Do not handle *-bp.out.
54805         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54806         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54807         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54808         (tests): Do not include $(tests-bp.out).
54809         (xtests): Do not include $(xtests-bp.out).
54810         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54811         [$(build-bounded) = yes] ($(addprefix
54812         $(objpfx),$(binaries-bounded))): Remove rule.
54813         ($(objpfx)%-bp.out): Remove rule.
54814         * config.make.in (build-bounded): Remove variable.
54815         * crypt/Makefile [$(build-bounded) = yes]
54816         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54817         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54818         append to variable.
54819         [$(build-bounded) = yes] (install-lib): Likewise.
54820         [$(build-bounded) = yes] (generated): Likewise.
54821         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54822         Remove rule.
54823         * intl/Makefile [$(build-bounded) = yes]
54824         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54825         * math/Makefile [$(build-bounded) = yes]
54826         ($(tests:%=$(objpfx)%-bp): Likewise.
54827         * misc/Makefile [$(build-bounded) = yes]
54828         ($(objpfx)tst-tsearch-bp): Likewise.
54829         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54830         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54831         Remove dependency.
54832         * string/Makefile (o-objects.ob): Remove variable.
54833         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54834         (CFLAGS-.ob): Remove variable.
54835         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54836         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54837         both definitions of variable.
54838         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54839         (ASFLAGS-.ob): Remove variable.
54841 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54843         [BZ #13550]
54844         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54845         Remove __BOUNDED_POINTERS__ from condition.
54846         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54847         * string/bits/string2.h [!__NO_STRING_INLINES &&
54848         !__BOUNDED_POINTERS__]: Likewise.
54849         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54850         Likewise.
54851         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54852         Remove conditional code.
54853         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54854         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54855         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54856         condition.
54858         [BZ #13550]
54859         * csu/libc-start.c: Do not include <bp-sym.h>.
54860         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54861         * elf/dl-open.c: Do not include <bp-sym.h>.
54862         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54863         * math/fegetenv.c: Do not include <bp-sym.h>.
54864         (fegetenv): Do not use BP_SYM in versioned symbols.
54865         * nptl/sysdeps/pthread/bits/libc-lockP.h
54866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54867         <bp-sym.h>.
54868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54869         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54871         (__pthread_mutex_destroy): Likewise.
54872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54873         (__pthread_mutex_lock): Likewise.
54874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54875         (__pthread_mutex_trylock): Likewise.
54876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54877         (__pthread_mutex_unlock): Likewise.
54878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54879         (__pthread_mutexattr_init): Likewise.
54880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54881         (__pthread_mutexattr_destroy): Likewise.
54882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54883         (__pthread_mutexattr_settype): Likewise.
54884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54885         (__pthread_rwlock_init): Likewise.
54886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54887         (__pthread_rwlock_destroy): Likewise.
54888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54889         (__pthread_rwlock_rdlock): Likewise.
54890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54891         (__pthread_rwlock_tryrdlock): Likewise.
54892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54893         (__pthread_rwlock_wrlock): Likewise.
54894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54895         (__pthread_rwlock_trywrlock): Likewise.
54896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54897         (__pthread_rwlock_unlock): Likewise.
54898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54899         (__pthread_key_create): Likewise.
54900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54901         (__pthread_setspecific): Likewise.
54902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54903         (__pthread_getspecific): Likewise.
54904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54905         Likewise.
54906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54907         (_pthread_cleanup_push_defer): Likewise.
54908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54909         (_pthread_cleanup_pop_restore): Likewise.
54910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54911         (pthread_setcancelstate): Likewise.
54912         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54913         <bp-sym.h>.
54914         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54915         (memchr): Do not use BP_SYM in weak_alias.
54916         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54917         (fegetenv): Do not use BP_SYM in versioned symbols.
54918         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54919         (fesetenv): Do not use BP_SYM in versioned symbols.
54920         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54921         (feupdateenv): Do not use BP_SYM in versioned symbols.
54922         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54923         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54924         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54925         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54926         (open64): Do not use BP_SYM in weak_alias.
54927         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54928         (fegetenv): Do not use BP_SYM in versioned symbols.
54929         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54930         (fesetenv): Do not use BP_SYM in versioned symbols.
54931         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54932         (feupdateenv): Do not use BP_SYM in versioned symbols.
54933         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54934         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54935         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54936         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54937         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54938         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54939         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54940         <bp-sym.h>.
54941         (__libc_start_main): Do not use BP_SYM.
54943 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54946         redundant return line.
54947         (norm): Likewise.
54948         (denorm): Likewise.
54949         (dbl_mp): Likewise.
54950         (sub_magnitudes): Likewise.
54951         (__add): Likewise.
54952         (__sub): Likewise.
54953         (__mul): Likewise.
54954         (__inv): Likewise.
54955         (__dvd): Likewise.
54956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54957         (norm): Likewise.
54958         (denorm): Likewise.
54959         (dbl_mp): Likewise.
54960         (sub_magnitudes): Likewise.
54961         (__add): Likewise.
54962         (__sub): Likewise.
54963         (__mul): Likewise.
54964         (__inv): Likewise.
54965         (__dvd): Likewise.
54967         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54968         instead of __mul.
54969         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54970         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54971         (cc32): Likewise.
54973         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54974         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54975         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54976         of __mul for squares.
54977         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54978         function
54979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54980         Likewise.
54981         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54982         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54984 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54986         [BZ #13550]
54987         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54988         code.
54989         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54990         prototype or function definition.  Rename ubp_* variables and
54991         parameters.  Remove argv definitions conditional on
54992         [__BOUNDED_POINTERS__].
54993         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54994         * elf/dl-runtime.c (_dl_fixup): Likewise.
54995         * include/set-hooks.h (RUN_HOOK): Likewise.
54996         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54997         definition.
54998         * string/strcpy.c (strcpy): Do not use __unbounded.
54999         * sysdeps/generic/frame.h (struct layout): Likewise.
55000         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55001         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55002         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55003         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55004         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55005         (__backtrace): Likewise.
55006         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55007         use __ptrvalue.
55008         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55009         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55010         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55011         Likewise.
55012         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55013         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55014         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55015         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55016         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55017         Do not use __unbounded.
55018         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55019         Rename __unboundedrlimits parameter to rlimits in prototype.
55020         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55021         Do not use __unbounded.
55022         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55023         not use __ptrvalue.
55024         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55025         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55026         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55027         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55028         __ptrvalue or __unbounded.
55029         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55030         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55031         use __unbounded.
55032         (__new_msgctl): Do not use __ptrvalue.
55033         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55034         __unbounded.
55035         (__libc_msgrcv): Do not use __ptrvalue.
55036         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55037         startup_info): Do not use __unbounded.
55038         (__libc_start_main): Likewise.  Rename ubp_* variables and
55039         parameters.  Remove argv definitions conditional on
55040         [__BOUNDED_POINTERS__].
55041         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55042         __ptrvalue.
55043         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55044         use __unbounded.
55045         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55046         or __ptrvalue.
55047         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55048         use __unbounded.
55049         (__new_shmctl): Do not use __ptrvalue.
55050         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55051         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55052         Likewise.
55053         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55054         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55055         (__libc_sigaction): Likewise.
55056         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55057         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55058         Likewise.
55059         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55061 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55063         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55065         * string/mempcpy.c: Implement by calling memcpy.
55067 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55069         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55071         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55072         evaluation.
55074         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55075         values in the mantissa.
55077         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55078         minimize writes to Z.
55079         (sub_magnitudes): Simplify code a bit.
55081 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55083         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55084         from the message.  The linker prefixes all warnings with that already.
55086 2013-02-12  Andreas Schwab  <schwab@suse.de>
55088         [BZ #15078]
55089         * posix/regexec.c (extend_buffers): Add parameter min_len.
55090         (check_matching): Pass minimum needed length.
55091         (clean_state_log_if_needed): Likewise.
55092         (get_subexp): Likewise.
55093         * posix/Makefile (tests): Add bug-regex34.
55094         (bug-regex34-ENV): Define.
55095         * posix/bug-regex34.c: New file.
55097         [BZ #11561]
55098         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55099         elements compare against the byte sequence of it, not its name.
55100         * posix/Makefile (tests): Add bug-regex35.
55101         (bug-regex35-ENV): Define.
55102         * posix/bug-regex35.c: New file.
55104 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55106         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55107         comment.
55108         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55109         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55110         (CHECK_EOL): Add undef.
55112 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55114         * bits/stdlib-bsearch.h: New file.
55115         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55116         * stdlib/stdlib.h: Likewise.
55118 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55120         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55121         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55122         declaration.
55123         * manual/search.texi (Array Search Function): Add missing const in
55124         lfind prototype.
55125         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55126         declaration to use rlim_t.
55127         (Basic Scheduling Functions): Remove erroneous const from
55128         sched_getparam prototype.  Remove erroneous * from
55129         sched_get_priority_max and sched_get_priority_min prototypes.
55130         (Resource Usage): Fix summary @comment on vtimes to refer to
55131         sys/vtimes.h rather than vtimes.h.
55132         Add missing *s in vtimes prototype.
55133         (Limits on Resources): Fix ulimit prototype to return long int.
55134         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55135         prototypes to use long int rather than double.
55136         (BSD Random): Fix initstate and setstate to use char *, not void *.
55137         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55138         prototype to make second argument 'struct aiocb64 *const[]'.
55139         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55140         (Status of AIO Operations): Remove erroneous const in aio_return and
55141         aio_return64 prototypes.
55142         (Synchronizing I/O): Fix sync prototype to return void.
55143         * manual/startup.texi (Suboptions): Remove an erroneous const in
55144         getsubopt prototype.
55145         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55146         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55147         use size_t rather than int.
55148         (Scanning All Users): Likewise for getpwent_r.
55149         (Setting Groups): Add missing const to setgroups prototype.
55150         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55151         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55152         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55153         'const void *' rather than 'const char *'.
55154         (Host Address Functions): Likewise for inet_ntop.
55155         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55156         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55157         ssize_t for return value.
55158         (Sending Data): Likewise for send, sendto, sendmsg.
55159         (Socket Option Functions): Add a missing const in setsockopt prototype.
55160         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55161         use wchar_t for the argument.
55162         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55163         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55164         take no arguments.
55165         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55166         double/float/long double for second argument.
55167         Fix return types of significand, significandf, significandl.
55168         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55169         argument in fchmod prototype.
55170         (File Owner): Use uid_t and gid_t in fchown prototype.
55171         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55172         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55173         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55174         use 'const struct dirent **' as argument types to CMP function pointer
55175         argument.
55176         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55177         (File Times): Fix summary magic @comment for struct utimbuf and utime
55178         to refer to utime.h, not time.h.
55179         * manual/string.texi (Argz Functions): Add missing const in
55180         argz_extract and argz_next prototypes.
55181         (Finding Tokens in a String): Likewise for basename.
55182         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55183         (Copying and Concatenation): Fix typo in wmemmove prototype.
55184         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55185         (Signal Stack): Remove erroneous const in sigstack prototype.
55186         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55187         prototype.
55188         (Simple Calendar Time): Likewise for stime.
55189         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55190         prototype.
55191         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55192         say sys/sysctl.h instead.
55193         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55194         and vsyslog prototypes.
55196 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55198         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55199         Remove.
55201 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55203         * misc/sys/mman.h: Fix typo in mremap comment.
55205 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55207         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55208         the '\0' terminator.
55210 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55212         [BZ #13550]
55213         * debug/segfault.c: Don't include <bp-checks.h>.
55214         * sysdeps/generic/bp-checks.h: Remove file.
55215         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55216         (__GETDENTS): Don't use CHECK_N.
55217         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55218         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55219         (__getgroups): Don't use CHECK_N.
55220         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55221         (setgroups): Don't use CHECK_N.
55222         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55223         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55224         (__libc_msgrcv): Don't use CHECK_N.
55225         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55226         (__libc_msgsnd): Don't use CHECK_N.
55227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55228         <bp-checks.h>.
55229         (__libc_pread): Don't use CHECK_N.
55230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55231         include <bp-checks.h>.
55232         (__libc_pread64): Don't use CHECK_N.
55233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55234         include <bp-checks.h>.
55235         (__libc_pwrite): Don't use CHECK_N.
55236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55237         include <bp-checks.h>.
55238         (__libc_pwrite64): Don't use CHECK_N.
55239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55240         <bp-checks.h>.
55241         (__libc_pread): Don't use CHECK_N.
55242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55243         include <bp-checks.h>.
55244         (__libc_pread64): Don't use CHECK_N.
55245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55246         include <bp-checks.h>.
55247         (__libc_pwrite): Don't use CHECK_N.
55248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55249         include <bp-checks.h>.
55250         (__libc_pwrite64): Don't use CHECK_N.
55251         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55252         (do_pread): Don't use CHECK_N.
55253         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55254         (do_pread64): Don't use CHECK_N.
55255         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55256         (do_pwrite): Don't use CHECK_N.
55257         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55258         (do_pwrite64): Don't use CHECK_N.
55259         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55260         (__libc_readv): Don't use CHECK_N.
55261         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55262         (semop): Don't use CHECK_N.
55263         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55264         <bp-checks.h>.
55265         (semtimedop): Don't use CHECK_N.
55266         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55267         (__libc_pread): Don't use CHECK_N.
55268         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55269         <bp-checks.h>.
55270         (__libc_pread64): Don't use CHECK_N.
55271         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55272         <bp-checks.h>.
55273         (__libc_pwrite): Don't use CHECK_N.
55274         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55275         <bp-checks.h>.
55276         (__libc_pwrite64): Don't use CHECK_N.
55277         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55278         <bp-checks.h>.
55279         (__libc_msgrcv): Don't use CHECK_N.
55280         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55281         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55282         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55283         (__libc_writev): Don't use CHECK_N.
55285 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55287         * string/strcpy.c: Removed unused variable.
55289         * Makeconfig (+sysdep-includes): Define with := rather than =.
55290         Use an existing include/ subdir of each sysdeps dir before it.
55292 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55294         * nscd/connection.c (register_traced_file): Comment function.
55295         [HAVE_INOTIFY] (union __inev): Define.
55296         [HAVE_INOTIFY] (inotify_check_files): New function.
55297         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55298         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55299         clear_db_cache.
55300         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55302 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55304         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55305         loaded if not already and that a failure is permanent.
55307 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55309         [BZ #15006]
55310         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55311         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55313 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55315         [BZ #13550]
55316         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55317         (CHECK_1_NULL_OK): Likewise.
55318         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55319         (__fxstat): Do not use CHECK_1.
55320         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55321         <bp-checks.h>.
55322         (___fxstat64): Do not use CHECK_1.
55323         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55324         <bp-checks.h>.
55325         (__fxstatat): Do not use CHECK_1.
55326         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55327         <bp-checks.h>.
55328         (__fxstatat64): Do not use CHECK_1.
55329         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55330         <bp-checks.h>.
55331         (__fxstat): Do not use CHECK_1.
55332         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55333         <bp-checks.h>.
55334         (__fxstatat): Do not use CHECK_1.
55335         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55336         <bp-checks.h>.
55337         (__getresgid): Do not use CHECK_1.
55338         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55339         <bp-checks.h>.
55340         (__getresuid): Do not use CHECK_1.
55341         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55342         <bp-checks.h>.
55343         (__lxstat): Do not use CHECK_1.
55344         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55345         <bp-checks.h>.
55346         (__old_msgctl): Do not use CHECK_1.
55347         (__new_msgctl): Likewise.
55348         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55349         <bp-checks.h>.
55350         (__new_setrlimit): Do not use CHECK_1.
55351         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55352         <bp-checks.h>.
55353         (__old_shmctl): Do not use CHECK_1.
55354         (__new_shmctl): Likewise.
55355         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55356         <bp-checks.h>.
55357         (__xstat): Do not use CHECK_1.
55358         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55359         (__lxstat): Do not use CHECK_1.
55360         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55361         <bp-checks.h>.
55362         (___lxstat64): Do not use CHECK_1.
55363         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55364         (__old_msgctl): Do not use CHECK_1.
55365         (__new_msgctl): Likewise.
55366         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55367         <bp-checks.h>.
55368         (__gettimeofday): Do not use CHECK_1.
55369         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55370         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55371         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55372         <bp-checks.h>.
55373         (__gettimeofday): Do not use CHECK_1.
55374         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55375         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55376         (__new_shmctl): Do not use CHECK_1.
55377         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55378         <bp-checks.h>.
55379         (do_sigtimedwait): Do not use CHECK_1.
55380         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55381         <bp-checks.h>.
55382         (do_sigwaitinfo): Do not use CHECK_1.
55383         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55384         <bp-checks.h>.
55385         (msgctl): Do not use CHECK_1.
55386         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55387         <bp-checks.h>.
55388         (shmctl): Do not use CHECK_1.
55389         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55390         (ustat): Do not use CHECK_1.
55391         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55392         <bp-checks.h>.
55393         (__fxstat): Do not use CHECK_1.
55394         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55395         <bp-checks.h>.
55396         (__fxstatat): Do not use CHECK_1.
55397         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55398         <bp-checks.h>.
55399         (__lxstat): Do not use CHECK_1.
55400         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55401         <bp-checks.h>.
55402         (__xstat): Do not use CHECK_1.
55403         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55404         (__xstat): Do not use CHECK_1.
55405         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55406         (___xstat64): Do not use CHECK_1.
55408         [BZ #13550]
55409         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55410         definitions.
55411         (CHECK_BOUNDS_HIGH): Likewise.
55412         * string/strcpy.c: Do not include <bp-checks.h>.
55413         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55415 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55417         * nscd/nscd-client.h (__nscd_drop_map_ref):
55418         Add __attribute__ ((unused)).
55419         * nis/nss-nisplus.h (niserr2nss): Likewise.
55421         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55422         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55424         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55425         Remove inline keyword.
55426         * include/rounding-mode.h (round_away): Likewise.
55427         * libio/wfileops.c (adjust_wide_data): Likewise.
55428         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55429         (__m128i_strloadu_tolower): Likewise.
55430         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55431         (__m128i_strloadu_tolower): Likewise.
55432         * time/mktime.c (ydhms_diff): Likewise.
55433         * locale/elem-hash.h (elem_hash): Likewise.
55434         * locale/setlocale.c (setdata): Likewise.
55435         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55436         (re_string_wchar_at): Likewise.
55437         (bitset_not, bitset_merge, bitset_mask): Likewise.
55438         [!(__GNUC__ > 3)] (inline): Remove macro.
55439         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55440         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55441         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55442         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55443         * string/memcmp.c (memcmp_bytes): Likewise.
55444         * locale/programs/locarchive.c (compute_hashval): Likewise.
55445         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55446         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55447         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55448         * nss/getent.c (print_rpc, print_protocols): Likewise.
55449         (print_passwd, print_group, print_aliases): Likewise.
55450         * nis/nss-nisplus.h (niserr2nss): Likewise.
55451         * nscd/connections.c (restart_p): Likewise.
55452         Change return type to bool.
55454 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55456         * Makeconfig (all-Depend-files): Add existing
55457         $(sorted-subdirs:=/Depend) files.
55458         (all-subdirs): Remove nss.
55459         * sysdeps/unix/inet/Subdirs: Add it here instead.
55460         * hesiod/Depend: New file.
55462         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55463         instead of calling alloca.
55465         * io/lseek.c (__lseek): Rename to __libc_lseek.
55466         Define __lseek as an alias.
55468         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55470 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55472         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55473         else clause and remove check for non-standard endianness.
55475 2013-02-04  David S. Miller  <davem@davemloft.net>
55477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55479 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55481         [BZ #13550]
55482         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55483         (__ubp_memchr): Remove prototype.
55484         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55485         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55486         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55487         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55488         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55489         Remove alias.
55490         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55491         (__ubp_memchr): Likewise.
55492         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55493         (__ubp_memchr): Likewise.
55494         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55495         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55496         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55497         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55498         CHECK_STRING.
55499         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55500         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55501         (__getcwd): Do not use CHECK_STRING.
55502         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55503         <bp-checks.h>.
55504         (__real_chown): Do not use CHECK_STRING.
55505         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55506         <bp-checks.h>.
55507         (fchownat): Do not use CHECK_STRING.
55508         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55509         CHECK_STRING.
55510         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55511         <bp-checks.h>.
55512         (__lchown): Do not use CHECK_STRING.
55513         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55514         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55515         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55516         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55518         include <bp-checks.h>.
55519         (truncate64): Do not use CHECK_STRING.
55520         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55521         <bp-checks.h>.
55522         (__real_chown): Do not use CHECK_STRING.
55523         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55524         <bp-checks.h>.
55525         (__lchown): Do not use CHECK_STRING.
55526         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55527         <bp-checks.h>.
55528         (__chown): Do not use CHECK_STRING.
55529         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55530         <bp-checks.h>.
55531         (truncate64): Do not use CHECK_STRING.
55532         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55533         Likewise.
55534         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55535         (__xmknod): Do not use CHECK_STRING.
55536         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55537         <bp-checks.h>.
55538         (__xmknodat): Do not use CHECK_STRING.
55539         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55540         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55542 2013-02-04  Andreas Schwab  <schwab@suse.de>
55544         [BZ #14142]
55545         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55546         * include/netdb.h: Likewise for h_errno.
55547         * elf/tst-stackguard1.c: Include <tls.h>.
55549 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55551         * elf/link.h (struct link_map): Extend the l_addr comment.
55552         * include/link.h (struct link_map): Likewise.
55554 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55556         [BZ #13550]
55557         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55558         (BOUNDED_1): Remove macro.
55559         * debug/backtrace.c: Don't include <bp-checks.h>.
55560         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55561         (__backtrace): Likewise.
55562         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55563         <bp-checks.h>.
55564         (__backtrace): Don't use BOUNDED_1.
55565         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55566         <bp-checks.h>.
55567         (__backtrace): Don't use BOUNDED_1.
55568         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55569         (__backtrace): Don't use BOUNDED_1.
55570         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55571         (shmat): Don't use BOUNDED_N.
55573 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55575         [BZ #13550]
55576         * sysdeps/generic/bp-start.h: Remove file.
55577         * csu/libc-start.c: Don't include <bp-start.h>.
55578         (LIBC_START_MAIN): Set up __environ directly instead of using
55579         INIT_ARGV_and_ENVIRON.
55580         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55581         <bp-start.h>.
55583         [BZ #13550]
55584         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55585         definitions.
55586         (CHECK_FCNTL): Likewise.
55587         (CHECK_N_PAGES): Likewise.
55589         [BZ #13550]
55590         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55591         definitions.
55592         (CHECK_SIGSET_NULL_OK): Likewise.
55593         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55594         <bp-checks.h>.
55595         (sigpending): Don't use CHECK_SIGSET.
55596         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55597         <bp-checks.h>.
55598         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55599         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55600         <bp-checks.h>.
55601         (do_sigsuspend): Don't use CHECK_SIGSET.
55602         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55603         use CHECK_SIGSET.
55604         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55605         (do_sigwait): Don't use CHECK_SIGSET.
55606         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55607         use CHECK_SIGSET.
55608         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55609         include <bp-checks.h>.
55610         (sigpending): Don't use CHECK_SIGSET.
55611         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55612         include <bp-checks.h>.
55613         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55614         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55615         <bp-checks.h>.
55616         (sigpending): Don't use CHECK_SIGSET.
55617         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55618         <bp-checks.h>.
55619         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55621         [BZ #13550]
55622         * sysdeps/generic/bp-semctl.h: Remove file.
55623         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55624         <bp-checks.h> and <bp-semctl.h>.
55625         (__old_semctl): Don't use CHECK_SEMCTL.
55626         (__new_semctl): Likewise.
55627         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55628         and <bp-semctl.h>.
55629         (__old_semctl): Don't use CHECK_SEMCTL.
55630         (__new_semctl): Likewise.
55631         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55632         <bp-checks.h> and <bp-semctl.h>.
55633         (__old_semctl): Don't use CHECK_SEMCTL.
55634         (__new_semctl): Likewise.
55635         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55636         <bp-checks.h> and <bp-semctl.h>.
55637         (semctl): Don't use CHECK_SEMCTL.
55639         [BZ #13550]
55640         * Makerules (elide-bp-thunks): Remove variable.
55641         (elide-routines.oS): Don't use $(elide-bp-thunks).
55642         (elide-routines.os): Likewise.
55643         (elide-routines.o): Likewise.
55644         (elide-routines.op): Likewise.
55645         (elide-routines.og): Likewise.
55646         (objects): Don't use $(bp-thunks).
55647         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55648         include.
55649         (common-generated): Do not add s-proto-bp.d.
55650         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55651         (int): Likewise.
55652         (typ): Likewise.
55653         Do not generate makefile rules for bounded-pointer thunks.
55654         * sysdeps/generic/bp-thunks.h: Remove file.
55655         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55656         * sysdeps/unix/s-proto-bp.S: Likewise.
55658         [BZ #15062]
55659         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55660         parts of result separately when argument is not close to line from
55661         -i to i and one part of argument is small.
55662         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55663         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55664         * math/libm-test.inc (cacos_test): Add more tests.
55665         (casin_test): Likewise.
55666         (casinh_test): Likewise.
55667         * sysdeps/i386/fpu/libm-test-ulps: Update.
55668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55670 2013-01-31  David S. Miller  <davem@davemloft.net>
55672         * po/de.po: Update from translation team.
55674 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55676         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55678 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55680         * configure.in (_AC_PROG_CC_C89): New definition.
55681         * configure: Regenerate.
55683         * configure.in (AC_PROG_CPP): New definition.
55684         * configure: Regenerate.
55686 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55688         * debug/tst-backtrace.h: New file.
55689         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55690         (ret): Remove variable.
55691         (x): Likewise.
55692         (FAIL): Remove macro.
55693         (NO_INLINE): Likewise.
55694         (fn1): Use match function instead of strstr.
55695         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55696         (ret): Remove variable.
55697         (x): Likewise.
55698         (FAIL): Remove macro.
55699         (NO_INLINE): Likewise.
55700         (fn): Use match function instead of strstr.
55701         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55702         (ret): Remove variable.
55703         (x): Likewise.
55704         (FAIL): Remove macro.
55705         (NO_INLINE): Likewise.
55706         (handle_signal): Use match function instead of strstr.
55707         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55708         (ret): Remove variable.
55709         (x): Likewise.
55710         (FAIL): Remove macro.
55711         (NO_INLINE): Likewise.
55712         (handle_signal): Use match function instead of strstr.
55714 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55716         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55718 2013-01-23  David S. Miller  <davem@davemloft.net>
55720         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55721         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55722         argument of CAS if possible.
55723         * sysdeps/sparc/sparc64/bits/atomic.h
55724         (__arch_compare_and_exchange_val_32_acq): Likewise.
55725         (__arch_compare_and_exchange_val_64_acq): Likewise.
55727 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55729         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55730         * sysdeps/posix/ulimit.c: ... this.
55731         Include <limits.h>.
55732         * sysdeps/unix/bsd/ulimit.c: Remove file.
55734 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55736         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55737         (LDFLAGS-tst-array5): Likewise.
55739 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55741         [BZ #15036]
55742         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55743         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55744         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55745         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55747 2013-01-21  David S. Miller  <davem@davemloft.net>
55749         * sysdeps/sparc/backtrace.c: New file.
55750         * sysdeps/sparc/sparc32/backtrace.h: New file.
55751         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55752         * sysdeps/sparc/sparc64/backtrace.h: New file.
55753         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55754         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55755         -funwind-tables.
55757 2013-01-21  Andreas Schwab  <schwab@suse.de>
55759         [BZ #15020]
55760         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55761         closed its stdout.
55763 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55765         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55766         "mpa2.h".
55767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55769 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55770             Mark Mitchell  <mark@codesourcery.com>
55771             Tom de Vries  <tom@codesourcery.com>
55772             Paul Pluzhnikov  <ppluzhnikov@google.com>
55774         * debug/tst-backtrace2.c: New file.
55775         * debug/tst-backtrace3.c: Likewise.
55776         * debug/tst-backtrace4.c: Likewise.
55777         * debug/tst-backtrace5.c: Likewise.
55778         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55779         (CFLAGS-tst-backtrace3.c): Likewise.
55780         (CFLAGS-tst-backtrace4.c): Likewise.
55781         (CFLAGS-tst-backtrace5.c): Likewise.
55782         (LDFLAGS-tst-backtrace2): Likewise.
55783         (LDFLAGS-tst-backtrace3): Likewise.
55784         (LDFLAGS-tst-backtrace4): Likewise.
55785         (LDFLAGS-tst-backtrace5): Likewise.
55786         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55787         tst-backtrace4 and tst-backtrace5.
55789 2013-01-18  Anton Blanchard  <anton@samba.org>
55790             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55792         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55793         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55794         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55795         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55797         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55798         "+r" and remove output regs list as redundant.  Add explicit inline
55799         asm to specify register of return val to work around compiler codegen
55800         bug.  Remove (int) cast on return value.  Add return type parameter to
55801         use in macro so that this macro does not truncate return value for
55802         64-bit values.
55803         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55804         pass to INTERNAL_VSYSCALL_NCS.
55805         (INLINE_VSYSCALL): Add 'long int' as return type to
55806         INTERNAL_VSYSCALL_NCS macro invocation.
55807         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55808         INTERNAL_VSYSCALL_NCS macro invocation.
55809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55811 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55813         [BZ #14496]
55814         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55815         Fix application of SIMD FP exception mask.
55817         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55818         mp_no from a power of two.
55819         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55820         __mpexp_twomm1.  Use __pow_mp.
55822         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55823         multiplication.
55825 2013-01-17  David S. Miller  <davem@davemloft.net>
55827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55829 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55831         [BZ #15023]
55832         * include/complex.h: Condition contents on [!_COMPLEX_H].
55833         (__kernel_casinhf): New prototype.
55834         (__kernel_casinh): Likewise.
55835         (__kernel_casinhl): Likewise.
55836         * math/Makefile (libm_calls): Add k_casinh.
55837         * math/k_casinh.c: New file.
55838         * math/k_casinhf.c: Likewise.
55839         * math/k_casinhl.c: Likewise.
55840         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55841         finite nonzero arguments.
55842         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55843         finite nonzero arguments.
55844         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55845         finite nonzero arguments.
55846         * math/s_casinh.c: Do not include <float.h>.
55847         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55848         * math/s_casinhf.c: Do not include <float.h>.
55849         (__casinhf): Move code for finite nonzero arguments to
55850         k_casinhf.c.
55851         * math/s_casinhl.c: Do not include <float.h>.
55852         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55853         redefine.
55854         (__casinhl): Move code for finite nonzero arguments to
55855         k_casinhl.c.
55856         * math/libm-test.inc (cacos_test): Add more tests.
55857         * sysdeps/i386/fpu/libm-test-ulps: Update.
55858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55860 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55862         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55863         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55864         [!HAVE_MREMAP]: Remove [defined linux] case.
55865         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55867 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55869         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55871 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55873         * elf/elf.h (R_386_SIZE32): New relocation.
55874         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55875         R_386_SIZE32.
55876         (elf_machine_rela): Likewise.
55877         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55878         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55880 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55882         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55883         (FP_FAST_FMA): Do not define.
55884         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55885         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55886         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55887         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55888         !_SOFT_FLOAT]: Likewise.
55889         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55890         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55891         value.
55892         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55893         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55894         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55895         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55896         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55897         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55898         file.
55900 2013-01-16  Andreas Schwab  <schwab@suse.de>
55902         [BZ #14327]
55903         * include/stdlib.h (__mktemp): Add declaration.
55904         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55905         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55907 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55909         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55910         definitions.
55911         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55912         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55913         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55914         definitions here.
55915         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55916         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55917         definitions.
55918         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55919         and ONE.
55920         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55921         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55922         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55923         definitions.
55924         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55925         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55926         definitions.
55927         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55929         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55931 2013-01-15  David S. Miller  <davem@davemloft.net>
55933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55934         trunc{,f} to libm-sysdep_routes.
55935         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55937         file.
55938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55940         file.
55941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55942         file.
55943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55945         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55946         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55947         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55948         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55949         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55950         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55953         nearbyint{,f} to libm-sysdep_routes.
55954         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55956         New file.
55957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55958         file.
55959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55960         New file.
55961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55962         file.
55963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55965         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55966         file.
55967         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55968         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55969         file.
55970         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55971         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55972         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55974         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55975         libc_feholdexcept and libc_fesetenv.
55977 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55979         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55981 2013-01-14  David S. Miller  <davem@davemloft.net>
55983         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55984         (SPARC_ASM_VIS2_IFUNC): Likewise.
55985         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55987         use of 'siam' instruction.
55988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55989         Likewise.
55990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55991         Likewise.
55992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55993         Likewise.
55994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55996         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55997         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55999         file.
56000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56001         file.
56002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56003         file.
56004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56005         file.
56006         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56007         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56011         new VIS2 routines.
56012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56015         Likewise.
56016         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56017         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56021         routines to libm-sysdep_routines.
56022         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56025         fdim/fdimf to libm-sysdep_routines.
56026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56027         file.
56028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56030         file.
56031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56034         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56035         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56036         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56037         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56039 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56041         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56042         to optimize copies.
56044         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56049         local variable MPTWO.
56050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56051         Likewise.
56053 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56055         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56056         GLOB_NOESCAPE.
56058 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56060         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56062 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56064         * manual/pattern.texi (glob_t): Document gl_flags.
56065         (glob64_t): Likewise.
56067 2013-01-11  David S. Miller  <davem@davemloft.net>
56069         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56070         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56071         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56072         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56073         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56074         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56075         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56076         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56077         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56078         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56079         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56080         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56081         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56083         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56084         sparc V9 rather than using V8 code.
56085         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56086         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56088         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56089         Move to...
56090         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56091         Here.
56093 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56095         [BZ #14941]
56096         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56097         not in the main loop.
56098         * configure: Regenerated.
56100 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56102         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56103         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56104         to just #else.
56105         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56106         [!__GLIBC_HAVE_LONG_LONG] case.
56107         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56108         condition to just #else.
56109         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56110         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56111         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56112         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56113         unconditional.
56114         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56115         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56116         #elif condition to just #else.
56117         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56118         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56119         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56120         #elif condition to just #else.
56122 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56124         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56125         (EF_MIPS_ARCH_64): Fix value.
56126         (EF_MIPS_ARCH_32R2): New.
56127         (EF_MIPS_ARCH_64R2): New.
56129 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56131         * Makeconfig (+link-pie-before-libc): New.
56132         (+link-pie-after-libc): Likewise.
56133         (+link-pie-tests): Likewise.
56134         (+link-pie): Rewritten.
56135         (link-before-libc): Remove $(config-LDFLAGS).
56136         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56137         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56138         (config-LDFLAGS): Renamed to ...
56139         (rtld-LDFLAGS): This.
56140         (rtld-tests-LDFLAGS): New macro.
56141         (link-libc-rpath-link): Likewise.
56142         (link-libc-tests-rpath-link): Likewise.
56143         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56144         (link-libc): Prepand $(link-libc-rpath-link).
56145         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56146         (test-program-prefix): New macro.
56147         (test-via-rtld-prefix): Likewise.
56148         (test-program-cmd): Likewise.
56149         (host-test-program-cmd): Likewise.
56150         * Makefile ($(common-objpfx)testrun.sh): Replace
56151         $(run-program-prefix) with $(test-program-prefix).
56152         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56153         $(rtld-LDFLAGS).
56154         ($(common-objpfx)shlib.lds): Likewise.
56155         (build-module-helper): Likewise.
56156         ($(common-objpfx)format.lds): Likewise.
56157         * Rules (binaries-pie-tests): New.
56158         (binaries-pie-notests): Likewise.
56159         (binaries-pie): Rewritten.
56160         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56161         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56162         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56163         (make-test-out): Replace $(host-built-program-cmd) with
56164         $(host-test-program-cmd).
56165         * config.make.in (build-hardcoded-path-in-tests): New variable.
56166         * configure.in (--enable-hardcoded-path-in-tests): New configure
56167         option.
56168         (hardcoded_path_in_tests): New AC_SUBST.
56169         * configure: Regenerated.
56170         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56171         $(built-program-cmd) with $(test-program-cmd).
56172         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56173         (test_program_cmd): This.
56174         * elf/Makefile ($(objpfx)order.out): Run test with
56175         $(test-program-prefix).
56176         ($(objpfx)order2.out): Likewise.
56177         ($(objpfx)tst-initorder.out): Likewise.
56178         ($(objpfx)tst-initorder2.out): Likewise.
56179         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56180         $(test-program-cmd).
56181         ($(objpfx)tst-array1-static.out): Likewise.
56182         ($(objpfx)tst-array2.out): Likewise.
56183         ($(objpfx)tst-array3.out): Likewise.
56184         ($(objpfx)tst-array4.out): Likewise.
56185         ($(objpfx)tst-array5.out): Likewise.
56186         ($(objpfx)tst-array5-static.out): Likewise.
56187         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56188         $(test-program-cmd).
56189         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56190         $(run-program-prefix) with $(test-program-prefix).
56191         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56192         (test_program_prefix): This.
56193         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56194         $(run-program-prefix) with $(test-program-prefix).
56195         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56196         (test_program_prefix): This.
56197         * iconvdata/tst-tables.sh: Likewise.
56198         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56199         $(run-program-prefix) with $(test-program-prefix).
56200         ($(objpfx)tst-translit.out): Likewise.
56201         ($(objpfx)tst-gettext2.out): Likewise.
56202         ($(objpfx)tst-gettext4.out): Likewise.
56203         ($(objpfx)tst-gettext6.out): Likewise.
56204         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56205         (test_program_prefix): This.
56206         * intl/tst-gettext2.sh: Likewise.
56207         * intl/tst-gettext4.sh  Likewise.
56208         * intl/tst-gettext6.sh: Likewise.
56209         * intl/tst-translit.sh: Likewise.
56210         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56211         with $(test-program-cmd).
56212         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56213         $(run-program-prefix) with $(test-program-prefix).
56214         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56215         (test_program_prefix): This.
56216         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56217         $(run-program-prefix) with $(test-program-prefix).
56218         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56219         (test_program_prefix): This.
56220         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56221         * posix/Makefile ($(objpfx)globtest.out): Replace
56222         $(run-via-rtld-prefix) and $(test-wrapper) with
56223         $(test-program-prefix) and $(test-via-rtld-prefix).
56224         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56225         $(test-program-prefix).
56226         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56227         $(host-test-program-cmd).
56228         (tst-spawn-ARGS): Likewise.
56229         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56230         $(test-program-prefix).
56231         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56232         (test_via_rtld_prefix): This.
56233         (test_wrapper): Renamed to ...
56234         (test_program_prefix): This.
56235         (run_program_prefix): Replaced by test_program_prefix.
56236         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56237         (test_program_prefix): This.
56238         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56239         with $(host-test-program-cmd).
56240         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56241         $(run-program-prefix) with $(test-program-prefix).
56242         ($(objpfx)tst-printf.out): Likewise.
56243         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56244         $(test-program-cmd).
56245         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56246         (test_program_prefix): This.
56247         * stdio-common/tst-unbputc.sh: Likewise.
56248         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56249         $(run-program-prefix) with $(test-program-prefix).
56250         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56251         (test_program_prefix): This.
56252         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56253         $(built-program-cmd) with $(test-program-cmd).
56255 2013-01-11  Andreas Jaeger  <aj@suse.de>
56257         [BZ #15003]
56258         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56259         value. Sync with Linux 3.7.
56261 2013-01-10  David S. Miller  <davem@davemloft.net>
56263         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56264         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56265         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56267 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56269         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56270         never set.
56271         * configure: Regenerated.
56273 2013-01-10  David S. Miller  <davem@davemloft.net>
56275         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56276         sparc V9 rather than using V8 code.
56277         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56278         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56280 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56282         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56283         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56284         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56285         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56286         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56287         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56288         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56289         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56290         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56291         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56292         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56293         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56294         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56295         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56296         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56297         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56298         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56299         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56300         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56301         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56302         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56303         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56304         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56305         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56306         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56307         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56308         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56310 2013-01-10  David S. Miller  <davem@davemloft.net>
56312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56314 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56316         * posix/Makefile (tests-static): New variable.
56317         (tests): Add $(tests-static).
56318         (tst-exec-static-ARGS): New variable.
56319         (tst-spawn-static-ARGS): Likewise.
56320         * posix/tst-exec-static.c: New file.
56321         * posix/tst-spawn-static.c: Likewise.
56322         * posix/tst-exec.c: Support run directly.
56323         * posix/tst-spawn.c: Likewise.
56325 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56327         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56328         long.
56329         * math/bits/mathcalls.h (llrint): Likewise.
56330         (llround): Likewise.
56331         * stdlib/stdlib.h (struct drand48_data): Likewise.
56332         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56333         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56334         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56335         Likewise.
56336         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56337         Likewise.
56338         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56339         (elf_greg_t): Likewise.
56340         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56341         (__jmp_buf): Likewise.
56342         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56343         definitions.
56344         (llrint): Likewise, for all definitions.
56345         (llrintl): Likewise.
56347         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56348         Remove [__GNUC__] condition.
56349         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56350         condition to just [__USE_ISOC99].
56351         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56353 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56355         [BZ #14200]
56356         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56357         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56358         defined.
56359         (_POSIX_V6_ILP32_OFF32): Likewise.
56360         (_XBS5_ILP32_OFF32): Likewise.
56361         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56362         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56364 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56366         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56368         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56369         doubles __mpexp_twomm1.  Adjust usage.
56370         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56371         Remove.
56373 2013-01-10  Andreas Schwab  <schwab@suse.de>
56375         [BZ #14964]
56376         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56377         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56379 2013-01-09  David S. Miller  <davem@davemloft.net>
56381         [BZ #15003]
56382         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56383         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56384         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56385         (TCP_FASTOPEN): Define.
56386         (tcp_repair_opt): New structure.
56387         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56388         enum values.
56389         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56390         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56391         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56392         (tcp_cookie_transactions): New structure.
56394 2013-01-09  Anton Blanchard  <anton@samba.org>
56396         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56397         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56398         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56399         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56401 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56403         * include/features.h (__USE_ANSI): Remove.
56405 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56407         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56409         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56411 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56413         * sysdeps/s390/fpu/libm-test-ulps: Update.
56415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56417         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56418         (__acr): Likewise.
56419         (__cpy): Likewise.
56420         (norm): Likewise.
56421         (denorm): Likewise.
56422         (__mp_dbl): Likewise.
56423         (__dbl_mp): Likewise.
56424         (add_magnitudes): Likewise.
56425         (sub_magnitudes): Likewise.
56426         (__add): Likewise.
56427         (__sub): Likewise.
56428         (__mul): Likewise.
56429         (__inv): Likewise.
56430         (__dvd): Likewise.
56431         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56432         (__acr): Likewise.
56433         (__cpy): Likewise.
56434         (norm): Likewise.
56435         (denorm): Likewise.
56436         (__mp_dbl): Likewise.
56437         (__dbl_mp): Likewise.
56438         (add_magnitudes): Likewise.
56439         (sub_magnitudes): Likewise.
56440         (__add): Likewise.
56441         (__sub): Likewise.
56442         (__mul): Likewise.
56443         (__inv): Likewise.
56444         (__dvd): Likewise.
56445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56446         (__acr): Likewise.
56447         (__cpy): Likewise.
56448         (norm): Likewise.
56449         (denorm): Likewise.
56450         (__mp_dbl): Likewise.
56451         (__dbl_mp): Likewise.
56452         (add_magnitudes): Likewise.
56453         (sub_magnitudes): Likewise.
56454         (__add): Likewise.
56455         (__sub): Likewise.
56456         (__mul): Likewise.
56457         (__inv): Likewise.
56458         (__dvd): Likewise.
56460 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56462         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56463         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56464         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56465         2 && __USE_EXTERN_INLINES]: Likewise.
56467 2013-01-08  Andreas Jaeger  <aj@suse.de>
56469         [BZ# 14985]
56470         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56471         Remove.
56472         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56473         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56475 2013-01-07  Anton Blanchard  <anton@samba.org>
56477         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56478         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56479         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56480         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56481         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56482         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56483         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56484         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56485         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56486         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56487         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56488         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56489         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56490         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56491         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56492         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56493         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56494         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56495         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56496         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56497         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56498         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56499         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56500         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56501         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56502         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56503         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56504         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56505         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56506         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56507         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56509         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56510         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56511         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56512         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56513         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56514         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56515         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56516         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56517         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56518         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56519         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56521 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56523         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56524         (__MALLOC_PMT): Likewise.
56525         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56526         [__GNUC__], only on [_LIBC].
56527         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56528         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56529         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56530         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56531         forward declaration.
56532         (realloc_hook_ini): Likewise.
56533         (memalign_hook_ini): Likewise.
56534         (__libc_memalign): Do not use __MALLOC_PMT in variable
56535         declaration.
56536         (__libc_valloc): Likewise.
56537         (__libc_pvalloc): Likewise.
56538         (__libc_calloc): Likewise.
56539         (__posix_memalign): Likewise.
56541         [BZ #14996]
56542         * math/s_casinh.c: Include <float.h>.
56543         (__casinh): Do not do computation with squaring and square root
56544         for large arguments.
56545         * math/s_casinhf.c: Include <float.h>.
56546         (__casinhf): Do not do computation with squaring and square root
56547         for large arguments.
56548         * math/s_casinhl.c: Include <float.h>.
56549         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56550         (__casinhl): Do not do computation with squaring and square root
56551         for large arguments.
56552         * math/libm-test.inc (casin_test): Add more tests.
56553         (casinh_test): Likewise.
56554         * sysdeps/i386/fpu/libm-test-ulps: Update.
56555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56557 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56559         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56560         (__x86_64_raw_data_cache_size): Likewise.
56561         (__x86_64_data_cache_size_half): Likewise.
56562         (__x86_64_raw_data_cache_size_half): Likewise.
56563         (__x86_64_shared_cache_size): Likewise.
56564         (__x86_64_raw_shared_cache_size): Likewise.
56565         (__x86_64_shared_cache_size_half): Likewise.
56566         (__x86_64_raw_shared_cache_size_half): Likewise.
56567         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56568         to ...
56569         (__x86_data_cache_size): This.
56570         (__x86_64_raw_data_cache_size): Renamed to ...
56571         (__x86_raw_data_cache_size): This.
56572         (__x86_64_data_cache_size_half): Renamed to ...
56573         (__x86_data_cache_size_half): This.
56574         (__x86_64_raw_data_cache_size_half): Renamed to ...
56575         (__x86_raw_data_cache_size_half): This.
56576         (__x86_64_shared_cache_size): Renamed to ...
56577         (__x86_shared_cache_size): This.
56578         (__x86_64_raw_shared_cache_size): Renamed to ...
56579         (__x86_raw_shared_cache_size): This.
56580         (__x86_64_shared_cache_size_half): Renamed to ...
56581         (__x86_shared_cache_size_half): This.
56582         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56583         (__x86_raw_shared_cache_size_half): This.
56584         * sysdeps/x86_64/memcpy.S: Updated.
56585         * sysdeps/x86_64/memset.S: Likewise.
56586         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56587         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56588         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56590 2013-01-04  David S. Miller  <davem@davemloft.net>
56592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56594 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56596         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56597         1 to avoid redefinition warning.
56598         (__USE_GNU): Don't define.
56599         (init_signaling_nan): Protoize.
56601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56603 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56605         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56607         (__cpymn): Likewise.
56608         (norm): Remove commented code.
56609         (denorm): Likewise.
56610         (__mp_dbl): Likewise.
56611         (__inv): Likewise.
56612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56613         (__cpymn): Likewise.
56614         (norm): Remove commented code.
56615         (denorm): Likewise.
56616         (__mp_dbl): Likewise.
56617         (__inv): Likewise.
56619         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56620         mp_no value for 1.0 and 2.0.
56621         (norm): Use RADIXI instead of radixi.d.
56622         (denorm): Likewise.
56623         (__mul): Use 0.0 instead of zero.d.
56624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56625         mp_no value for 1.0 and 2.0.
56626         (norm): Use RADIXI instead of radixi.d.
56627         (denorm): Likewise.
56628         (__mul): Use 0.0 instead of zero.d.
56630 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56632         [BZ #14994]
56633         * math/s_casinh.c (__casinh): Reduce finite argument to first
56634         quadrant then set signs of results at the end.
56635         * math/s_casinhf.c (__casinhf): Likewise.
56636         * math/s_casinhl.c (__casinhl): Likewise.
56637         * math/libm-test.inc (casin_test): Add more tests.
56638         (casinh_test): Likewise.
56639         * sysdeps/i386/fpu/libm-test-ulps: Update.
56640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56642 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56644         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56646         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56648         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56649         declarations.
56650         (denorm): Likewise.
56651         (__mp_dbl): Likewise.
56652         (__inv): Likewise.
56654         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56655         and adjust the header comment.
56657         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56658         variable name from declaration.
56660 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56663         Initialize COMMON_CPUID_INDEX_7 element.
56664         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56665         (CPUID_RTM): Likewise.
56666         (HAS_RTM): Likewise.
56667         (COMMON_CPUID_INDEX_7): New enum.
56669 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56671         [BZ #14981]
56672         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56673         size is zero, record memory as freed.
56675 2013-01-03  Andreas Jaeger  <aj@suse.de>
56677         * po/ia.po: Add new Interlingua translation.
56679 2012-01-03  Allan McRae  <allan@archlinux.org>
56681         * locale/programs/localedef.c: Fix description of '--posix' flag.
56683 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56685         * NEWS: Update dates in second copyright notice.
56686         * README: Update copyright dates in example.
56687         * manual/libc.texinfo: Update copyright dates.
56688         * scripts/test-installation.pl: Update copyright date in --version
56689         output.
56691         * hurd/ctty-input.c: Fix copyright notice formatting.
56692         * hurd/ctty-output.c: Likewise.
56693         * hurd/dtable.c: Likewise.
56694         * hurd/hurd-raise.c: Likewise.
56695         * hurd/hurdprio.c: Likewise.
56696         * hurd/msgportdemux.c: Likewise.
56697         * misc/sys/file.h: Likewise.
56698         * misc/sys/ioctl.h: Likewise.
56699         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56700         * sysdeps/mach/hurd/chdir.c: Likewise.
56701         * sysdeps/mach/hurd/fchdir.c: Likewise.
56702         * sysdeps/mach/hurd/rename.c: Likewise.
56703         * sysdeps/mach/hurd/rmdir.c: Likewise.
56704         * sysdeps/mach/hurd/seekdir.c: Likewise.
56705         * sysdeps/mach/hurd/setsid.c: Likewise.
56706         * sysdeps/posix/wait3.c: Likewise.
56708         * All files with FSF copyright notices: Update copyright dates
56709         using scripts/update-copyrights.
56710         * intl/plural.c: Regenerated.
56711         * locale/programs/charmap-kw.h: Likewise.
56712         * locale/programs/locfile-kw.h: Likewise.
56714 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56716         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56717         four values.
56719         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56720         calculation loop and add branch prediction.
56722         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56723         check access beyond bounds of m1np.
56725         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56726         MPTWO.
56727         (__inv): Remove local variable MPTWO to use the global
56728         constant.
56729         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56730         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56731         variable MPTWO.
56732         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56733         MP3HALFS static const.
56735 2013-01-01  David S. Miller  <davem@davemloft.net>
56737         * po/ca.po: Update from translation team.
56739 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56741         * scripts/update-copyrights: New file.
56742         * Makeconfig: Reformat copyright notice.
56743         * ctype/ctype.h: Likewise.
56744         * debug/swprintf_chk.c: Likewise.
56745         * elf/dl-cache.c: Likewise.
56746         * elf/dl-debug.c: Likewise.
56747         * elf/dl-object.c: Likewise.
56748         * grp/initgroups.c: Likewise.
56749         * hurd/Makefile: Likewise.
56750         * hurd/hurd/signal.h: Likewise.
56751         * hurd/hurdfault.c: Likewise.
56752         * hurd/hurdioctl.c: Likewise.
56753         * hurd/hurdlookup.c: Likewise.
56754         * hurd/intr-msg.c: Likewise.
56755         * iconv/gconv_open.c: Likewise.
56756         * libio/swprintf.c: Likewise.
56757         * locale/lc-ctype.c: Likewise.
56758         * locale/nl_langinfo.c: Likewise.
56759         * mach/Machrules: Likewise.
56760         * mach/Makefile: Likewise.
56761         * malloc/obstack.h: Likewise.
56762         * manual/Makefile: Likewise.
56763         * manual/tsort.awk: Likewise.
56764         * misc/bits/stab.def: Likewise.
56765         * nis/nis_print_group_entry.c: Likewise.
56766         * nis/nis_table.c: Likewise.
56767         * nis/nss_compat/compat-pwd.c: Likewise.
56768         * nis/nss_compat/compat-spwd.c: Likewise.
56769         * po/Makefile: Likewise.
56770         * posix/fnmatch.c: Likewise.
56771         * posix/regex.h: Likewise.
56772         * resolv/Makefile: Likewise.
56773         * resolv/nss_dns/dns-network.c: Likewise.
56774         * resolv/res_hconf.c: Likewise.
56775         * scripts/gen-sorted.awk: Likewise.
56776         * soft-fp/soft-fp.h: Likewise.
56777         * stdio-common/printf.h: Likewise.
56778         * stdlib/monetary.h: Likewise.
56779         * stdlib/random.c: Likewise.
56780         * stdlib/random_r.c: Likewise.
56781         * sysdeps/generic/Makefile: Likewise.
56782         * sysdeps/gnu/Makefile: Likewise.
56783         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56784         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56785         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56786         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56787         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56788         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56789         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56790         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56791         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56792         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56793         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56794         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56795         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56796         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56797         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56798         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56799         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56800         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56801         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56802         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56803         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56804         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56805         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56806         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56807         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56808         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56809         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56810         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56811         * sysdeps/mach/hurd/errnos.awk: Likewise.
56812         * sysdeps/mach/hurd/fork.c: Likewise.
56813         * sysdeps/mach/hurd/getcwd.c: Likewise.
56814         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56815         * sysdeps/mach/hurd/mmap.c: Likewise.
56816         * sysdeps/mach/hurd/utimes.c: Likewise.
56817         * sysdeps/mach/hurd/xmknod.c: Likewise.
56818         * sysdeps/posix/profil.c: Likewise.
56819         * sysdeps/posix/readdir_r.c: Likewise.
56820         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56821         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56822         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56823         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56824         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56825         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56826         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56827         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56829         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56830         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56831         * sysdeps/pthread/lio_listio.c: Likewise.
56832         * sysdeps/sparc/dl-procinfo.h: Likewise.
56833         * sysdeps/unix/i386/sysdep.S: Likewise.
56834         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56835         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56836         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56837         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56839         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56840         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56841         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56842         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56843         * sysdeps/wordsize-32/divdi3.c: Likewise.
56844         * time/sys/time.h: Likewise.
56845         * wcsmbs/Makefile: Likewise.
56847 2013-01-01  David S. Miller  <davem@davemloft.net>
56849         * po/fr.po: Update from translation team.
56851         * catgets/gencat.c: Update copyright year.
56852         * csu/version.c: Likewise.
56853         * debug/catchsegv.sh: Likewise.
56854         * debug/pcprofiledump.c: Likewise.
56855         * debug/xtrace.sh: Likewise.
56856         * elf/ldconfig.c: Likewise.
56857         * elf/ldd.bash.in: Likewise.
56858         * elf/pldd.c: Likewise.
56859         * elf/sotruss.ksh: Likewise.
56860         * elf/sprof.c: Likewise.
56861         * iconv/iconv_prog.c: Likewise.
56862         * iconv/iconvconfig.c: Likewise.
56863         * locale/programs/locale.c: Likewise.
56864         * locale/programs/localedef.c: Likewise.
56865         * login/programs/pt_chown.c: Likewise.
56866         * malloc/memusage.sh: Likewise.
56867         * malloc/memusagestat.c: Likewise.
56868         * malloc/mtrace.pl: Likewise.
56869         * nscd/nscd.c: Likewise.
56870         * nss/getent.c: Likewise.
56871         * nss/makedb.c: Likewise.
56872         * posix/getconf.c: Likewise.
56874 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56876         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56877         numbers.
56879 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56881         * math/bits/mathcalls.h (modf): Use __nonnull.
56883 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56885         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56886         (split): Use macro CN instead of the bare value.
56887         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56888         could be used.
56889         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56890         instead of the bare value.
56891         (power1): Likewise.
56893 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56895         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56896         __ATAN_TWOM.
56897         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56899         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56900         their values.
56901         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56902         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56903         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56904         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56906 2012-12-28  Andreas Jaeger  <aj@suse.de>
56908         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56909         values are from Linux 3.7.
56911         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56912         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56914 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56916         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56917         TRUE case.
56919         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56920         (norm): Likewise.
56921         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56922         variables with preprocessor constants.
56923         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56924         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56925         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56927 2012-12-27  Bruno Haible  <bruno@clisp.org>
56929         [BZ #14317]
56930         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56931         only if needed.
56933 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56935         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56936         and use variable directly.
56937         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56939         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56940         MPONE.
56941         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56942         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56943         variable MPONE.
56944         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56945         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56946         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56947         include directive.  Remove local variable MPONE.
56948         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56949         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56950         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56952 2012-12-25  David S. Miller  <davem@davemloft.net>
56954         * version.h (RELEASE): Set to "development".
56955         (VERSION): Set to "2.17.90".
56956         * NEWS: Add 2.18 section.
56958 2012-12-21  David S. Miller  <davem@davemloft.net>
56960         * po/hr.po: Update from translation team.
56962 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56964         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56966 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56968         * NEWS:  Mention new memcpy for MIPS.
56970 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56972         * manual/contrib.texi (Contributors): Spelling correction.
56974 2012-12-15  David S. Miller  <davem@davemloft.net>
56976         * po/ru.po: Update from translation team.
56978 2012-12-13  David S. Miller  <davem@davemloft.net>
56980         * NEWS: Mention IFUNC testsuite enhancements.
56982         * po/pl.po: Update from translation team.
56983         * po/bg.po: Likewise.
56985         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56986         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56988 2012-12-11  David S. Miller  <davem@davemloft.net>
56990         * po/sv.po: Update from translation team.
56992         * po/vi.po: Update from translation team.
56994         * po/cs.po: Update from translation team.
56996         * po/de.po: Update from translation team.
56997         * po/eo.po: Likewise.
56998         * po/nl.po: Likewise.
57000 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57002         [BZ #14246]
57003         * manual/argp.texi (Argp Helper Functions): Move node to follow
57004         Argp Parsing State.
57006         [BZ #14872]
57007         * manual/conf.texi (Limits on File System Capacity): Mention if
57008         terminating null is included in the max size.
57010 2012-12-10  Andreas Jaeger  <aj@suse.de>
57012         * po/cs.po: Update from translation team.
57014 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57016         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57017         void pointer and cast to uintptr_t.
57018         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57019         path.
57020         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57021         * sysdeps/s390/s390-64/memset.S: Likewise.
57023 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57025         [BZ #14833]
57026         * menual/message.texi (Message Translation): Fix typos.
57027         (Helper programs for gettext): Likewise.
57029 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57031         [BZ #14898]
57032         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57033         Change to -1.
57035 2012-12-07  David S. Miller  <davem@davemloft.net>
57037         * po/libc.pot: Update.
57039 2012-12-07  Richard Henderson  <rth@redhat.com>
57041         [BZ #10114]
57042         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57043         normal/normal case to before the switch.
57044         (_FP_DIV): Likewise.
57046 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57047             Mike Frysinger  <vapier@gentoo.org>
57049         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57050         check for __NR_fadvise64_64.
57052 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57054         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57055         0, not just to plain "0" as a statement.
57056         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57057         with cw.
57059 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57061         * NEWS: Use sourceware.org in Bugzilla URL.
57063 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57066         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57068         * stdio-common/tst-put-error.c (do_test): Add newline to the
57069         padded test to ensure flush.
57071 2012-12-05  Jeff Law  <law@redhat.com>
57073         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57075 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57077         * README: Don't refer to ports add-on as distributed separately.
57078         Mention AArch64 in list of systems supported in the ports add-on.
57080         * LICENSES: Add more non-FSF copyright and license notices.
57082         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57083         ((unused)).
57085         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57087         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57088         10000 as width of padded output.
57090 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57092         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57094         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57095         variable LX with __attribute__ ((unused)).
57096         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57097         Likewise.
57098         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57099         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57100         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57101         with __attribute__ ((unused)).
57103 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57105         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57107 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57109         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57110         (CFLAGS-nldbl-acos.c): New variable.
57111         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57112         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57113         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57114         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57115         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57116         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57117         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57118         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57119         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57120         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57121         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57122         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57123         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57124         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57125         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57126         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57127         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57128         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57129         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57130         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57131         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57132         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57133         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57134         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57135         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57136         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57137         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57138         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57139         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57140         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57141         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57142         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57143         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57144         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57145         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57146         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57147         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57148         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57149         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57150         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57151         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57152         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57153         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57154         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57155         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57156         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57157         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57158         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57159         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57160         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57161         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57162         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57163         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57164         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57165         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57166         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57167         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57168         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57169         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57170         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57171         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57172         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57173         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57174         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57175         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57176         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57177         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57178         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57179         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57180         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57181         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57182         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57183         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57184         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57185         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57186         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57187         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57188         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57189         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57190         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57191         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57192         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57193         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57194         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57195         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57196         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57197         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57198         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57199         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57200         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57201         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57202         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57203         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57204         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57205         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57206         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57207         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57210         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57212         [BZ #14914]
57213         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57214         whole low double instead of just low 47 bits when splitting values
57215         into two parts.
57217 2012-12-03  Allan McRae  <allan@archlinux.org>
57219         * manual/stdio.texi (Predefined Printf Handlers): Remove
57220         @hsep and @vsep usage.
57222 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57224         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57225         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57227 2012-12-03  Jeff Law  <law@redhat.com>
57229         * time/sys/time.h (settimeofday): Do not mark TV argument
57230         as __nonnull.
57232 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57234         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57235         when currently writing and seek to current position when not.
57236         * libio/Makefile (tests): Remove bug-fclose1.
57237         * libio/bug-fclose1.c: Delete.
57239 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57241         * manual/arith.texi (feenableexcept): Fix typo.
57242         (fedisableexcept): Likewise.
57244 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57246         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57247         second, differently-typed declaration, rather than a cast.
57249 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57251         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57252         * include/rpc/svc.h: ... here.
57254 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57256         [BZ #13013]
57257         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57258         depending n and resplen2 to catch cases where answer
57259         equals answerp2.
57261 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57263         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57264         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57266 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57268         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57270 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57272         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57274 2012-11-28  Jeff Law  <law@redhat.com>
57276         [BZ #13761]
57277         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57278         dataset_temporary.  Track alloca usage into alloca_used.
57279         If dataset is large allocate and release it via malloc/free.
57281 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57283         [BZ #14197]
57284         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57286 2012-11-28  David S. Miller  <davem@davemloft.net>
57288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57290 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57292         [BZ #14803]
57293         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57294         of pi/2 rounded to nearest to 64 bits.
57295         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57296         nearest to 64 bits.
57297         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57298         bits.
57300 2012-11-28  Jeff Law <law@redhat.com>
57301             Martin Osvald <mosvald@redhat.com>
57303         [BZ #14889]
57304         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57305         * sunrpc/svc.c: Include time.h.
57306         (__svc_accept_failed): New function.
57307         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57308         any reason other than EINTR, call __svc_accept_failed.
57309         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57310         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57312 2012-11-28  Andreas Schwab  <schwab@suse.de>
57314         * scripts/abilist.awk: Also handle indirect functions in .opd
57315         section.
57317 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57319         [BZ #13881]
57320         * sysdeps/x86/fpu/powl_helper.c: New file.
57321         * sysdeps/x86/fpu/Makefile: Likewise.
57322         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57323         (p3): New object.
57324         (__ieee754_powl): Use __powl_helper for finite arguments except
57325         integer exponents below 8.
57326         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57327         (p3): New object.
57328         (__ieee754_powl): Use __powl_helper for finite arguments except
57329         integer exponents below 8.
57330         * math/libm-test.inc (pow_test): Add more tests and enable some
57331         previously disabled tests.
57332         * sysdeps/i386/fpu/libm-test-ulps: Update.
57333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57335 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57336             Carlos O'Donell  <carlos_odonell@mentor.com>
57338         * nss/makedb.c (is_prime): Assert that input is odd and greater
57339         than 4.  Note that fact in a comment too.
57340         (next_prime): Add 4 to input.
57342 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57344         [BZ #11741]
57345         * libio/Makefile (tests): Add test case tst-fwrite-error.
57346         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57347         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57348         * libio/tst-fwrite-error.c: New test case.
57350 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57352         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57353         before casting to void *.
57354         * include/libc-internal.h (__pointer_type): New macro.
57355         (__integer_if_pointer_type_sub): Likewise.
57356         (__integer_if_pointer_type): Likewise.
57357         (cast_to_integer): Likewise.
57358         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57359         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57360         before casting to atomic64_t.
57361         (atomic_exchange_acq): Likewise.
57362         (__arch_exchange_and_add_body): Likewise.
57363         (__arch_add_body): Likewise.
57364         (atomic_add_negative): Likewise.
57365         (atomic_add_zero): Likewise.
57367 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57369         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57370         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57371         (add_fdes): Likewise.
57372         (linear_search_fdes): Likewise.
57373         (binary_search_unencoded_fdes): Likewise.
57375 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57377         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57379 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57381         * configure.in: Autodetect C++ header directories.
57382         * configure: Regenerated.
57384 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57386         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57388 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57392 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57394         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57395         LDBL_MANT_DIG == 106]: Disable some tests.
57396         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57397         Likewise.
57398         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57399         Likewise.
57401         [BZ #14871]
57402         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57403         input for small inputs.  Return +/- pi/2 for large inputs.
57404         * math/libm-test.inc (atan_test): Add more tests.
57406         * sysdeps/generic/unwind-dw2-fde-glibc.c
57407         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57408         __attribute__ ((unused)).
57410         [BZ #14645]
57411         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57412         x * y if x and y are nonzero and z is zero.
57414         [BZ #14811]
57415         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57416         nonzero exponents with absolute value below 0x1p-117 to +/-
57417         0x1p-117.
57419         [BZ #14869]
57420         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57421         up arguments below 2**-450, not just those below 2**-500.
57422         * math/libm-test.inc (hypot_test): Add another test.
57424         [BZ #14868]
57425         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57426         Return a+b for ratio over 2**120, not 2**60.
57427         * math/libm-test.inc (hypot_test): Add another test.
57429         * math/libm-test.inc (clog_test): Use
57430         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57431         (clog10_test): Likewise.
57433         [BZ #6778]
57434         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57436 2012-11-22  Andreas Schwab  <schwab@suse.de>
57438         * sysdeps/i386/fpu/libm-test-ulps: Update.
57440 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57442         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57443         printf output with newline.
57445 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57447         [BZ #14865]
57448         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57449         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57450         -z nodlopen, -z initfirst and -z execstack support.
57451         * configure: Regenerated.
57453         * elf/elf.h (DF_1_NODIRECT): New macro.
57454         (DF_1_IGNMULDEF): Likewise.
57455         (DF_1_NOKSYMS): Likewise.
57456         (DF_1_NOHDR): Likewise.
57457         (DF_1_EDITED): Likewise.
57458         (DF_1_NORELOC): Likewise.
57459         (DF_1_SYMINTPOSE): Likewise.
57460         (DF_1_GLOBAUDIT): Likewise.
57461         (DF_1_SINGLETON): Likewise.
57462         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57463         DT_1_SUPPORTED_MASK bits.
57464         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57466 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57468         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57470 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57472         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57473         macro.
57475         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57476         (sendmmsg): Move declarations...
57477         * socket/sys/socket.h: ... here.
57478         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57479         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57480         include it from...
57481         * socket/recvmmsg.c: ... this new file.
57482         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57483         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57484         definition of __sendmmsg hidden.
57485         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57486         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57487         Move ENOSYS stub into and include it from...
57488         * socket/sendmmsg.c: ... this new file.
57489         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57490         (sysdep_routines): Move recvmmsg and sendmmsg...
57491         * socket/Makefile (routines): ... here.
57492         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57493         (GLIBC_PRIVATE): Add __sendmmsg.
57494         * include/sys/socket.h (__sendmmsg): Add declarations.
57495         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57496         sendmmsg.
57498 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57500         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57501         variable I1 with __attribute__ ((unused)).
57502         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57504 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57506         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57507         DUMMY variables with __attribute__ ((unused)).
57509         * bits/byteswap.h: Include <bits/types.h>.
57510         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57512 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57514         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57515         string_t.  Do not manually set errno.
57516         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57517         length with __strnlen.  Make sure to both set errno and return it on
57518         failure.
57520 2012-11-19  David S. Miller  <davem@davemloft.net>
57522         With help from Joseph Myers.
57523         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57524         very large arguments properly.
57525         * math/libm-test.inc (atan_test): New tests.
57526         (atan2_test): New tests.
57527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57530 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57532         [BZ #14856]
57533         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57534         Define to 3.
57536         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57537         [POSIX] (EADDRNOTAVAIL): Likewise.
57538         [POSIX] (EAFNOSUPPORT): Likewise.
57539         [POSIX] (EALREADY): Likewise.
57540         [POSIX] (ECONNABORTED): Likewise.
57541         [POSIX] (ECONNREFUSED): Likewise.
57542         [POSIX] (ECONNRESET): Likewise.
57543         [POSIX] (EDESTADDRREQ): Likewise.
57544         [POSIX] (EDQUOT): Likewise.
57545         [POSIX] (EHOSTUNREACH): Likewise.
57546         [POSIX] (EIDRM): Likewise.
57547         [POSIX] (EISCONN): Likewise.
57548         [POSIX] (ELOOP): Likewise.
57549         [POSIX] (EMULTIHOP): Likewise.
57550         [POSIX] (ENETDOWN): Likewise.
57551         [POSIX] (ENETUNREACH): Likewise.
57552         [POSIX] (ENOBUFS): Likewise.
57553         [POSIX] (ENODATA): Likewise.
57554         [POSIX] (ENOLINK): Likewise.
57555         [POSIX] (ENOMSG): Likewise.
57556         [POSIX] (ENOPROTOOPT): Likewise.
57557         [POSIX] (ENOSR): Likewise.
57558         [POSIX] (ENOSTR): Likewise.
57559         [POSIX] (ENOTCONN): Likewise.
57560         [POSIX] (ENOTSOCK): Likewise.
57561         [POSIX] (EOPNOTSUPP): Likewise.
57562         [POSIX] (EOVERFLOW): Likewise.
57563         [POSIX] (EPROTO): Likewise.
57564         [POSIX] (EPROTONOSUPPORT): Likewise.
57565         [POSIX] (EPROTOTYPE): Likewise.
57566         [POSIX] (ESTALE): Likewise.
57567         [POSIX] (ETIME): Likewise.
57568         [POSIX] (ETXTBSY): Likewise.
57569         [POSIX] (EWOULDBLOCK): Likewise.
57570         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57571         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57572         [POSIX] (SEEK_CUR): Likewise.
57573         [POSIX] (SEEK_END): Likewise.
57574         [POSIX || UNIX98] (mode_t): Do not require.
57575         [POSIX] (off_t): Likewise.
57576         [POSIX] (pid_t): Likewise.
57577         [POSIX] (sys/stat.h): Do not allow header.
57578         [POSIX] (unistd.h): Likewise.
57579         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57580         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57581         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57582         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57583         require.
57584         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57585         sigevent): Specify elements.
57586         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57587         entry.
57588         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57589         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57591         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57592         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57593         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57594         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57595         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57596         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57597         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57598         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57599         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57600         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57601         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57602         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57603         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57604         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57605         Likewise.
57606         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57607         Likewise.
57608         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57609         Likewise.
57610         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57611         Likewise.
57612         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57613         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57614         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57615         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57616         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57617         Specify lower bound on value.
57618         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57619         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57620         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57621         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57622         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57623         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57624         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57625         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57626         value.
57627         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57628         as optional.
57629         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57630         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57631         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57632         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57633         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57634         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57635         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57636         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57637         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57638         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57639         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57640         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57641         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57642         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57643         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57644         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57645         entry.
57646         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57647         optional.
57648         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57649         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57650         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57651         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57652         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57653         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57654         Likewise.
57655         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57656         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57657         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57658         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57659         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57660         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57661         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57662         as optional.
57663         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57664         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57665         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57666         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57667         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57668         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57669         specify as optional.
57670         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57671         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57672         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57673         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57674         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57675         [XPG3] (NL_LANGMAX): Likewise.
57676         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57677         [POSIX || XPG3] (NL_NMAX): Likewise.
57678         [POSIX || XPG3] (NL_SETMAX): Likewise.
57679         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57680         [XPG3] (NZERO): Likewise.
57681         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57682         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57683         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57684         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57685         (REG_ERANGE): Expect.
57686         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57687         optional-constant.
57688         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57689         Use (void) in prototype.
57690         [POSIX] (*_t): Allow.
57691         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57692         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57693         (WRDE_BADVAL): Expect.
57695         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57696         expect.
57697         [XPG3 || XPG4] (O_RSYNC): Likewise.
57698         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57699         Likewise.
57700         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57701         [XPG3 || XPG4] (sigqueue): Likewise.
57702         [XPG3 || XPG4] (sigtimedwait): Likewise.
57703         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57704         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57705         [XPG3 || XPG4] (vsnprintf): Likewise.
57706         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57707         Likewise.
57708         [XPG3 || XPG4] (blksize_t): Likewise.
57709         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57710         Likewise.
57711         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57712         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57713         [XPG3 || XPG4] (struct itimerspec): Likewise.
57714         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57715         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57716         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57717         [XPG3 || XPG4] (clockid_t): Likewise.
57718         [XPG3 || XPG4] (timer_t): Likewise.
57719         [XPG3 || XPG4] (clock_getres): Likewise.
57720         [XPG3 || XPG4] (clock_gettime): Likewise.
57721         [XPG3 || XPG4] (clock_settime): Likewise.
57722         [XPG3 || XPG4] (nanosleep): Likewise.
57723         [XPG3 || XPG4] (timer_create): Likewise.
57724         [XPG3 || XPG4] (timer_delete): Likewise.
57725         [XPG3 || XPG4] (timer_gettime): Likewise.
57726         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57727         [XPG3 || XPG4] (timer_settime): Likewise.
57728         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57729         [XPG3 || XPG4] (getlogin_r): Likewise.
57730         [XPG3 || XPG4] (pread): Likewise.
57731         [XPG3 || XPG4] (pthread_atfork): Likewise.
57732         [XPG3 || XPG4] (pwrite): Likewise.
57734         [BZ #14835]
57735         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57736         <bits/siginfo.h>.
57738 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57740         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57741         finalizing MALLSTREAM.
57743         * sysdeps/mach/hurd/syncfs.c: New file.
57745 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57747         [BZ #14719]
57748         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57749         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57750         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57751         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57752         (_nss_dns_gethostbyname4_r): Likewise.
57753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57754         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57756 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57758         [BZ #13763]
57759         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57761 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57763         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57764         * elf/cache.c (print_entry): Print ",AArch64" for
57765         FLAG_AARCH64_LIB64
57767         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57768         * elf/cache.c (print_entry): Print ",hard-float" for
57769         FLAG_ARM_LIBHF.
57771 2012-11-18  David S. Miller  <davem@davemloft.net>
57773         With help from Joseph Myers.
57774         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57775         cutoff to 2**-13.
57776         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57777         cutoff to 2**-25.
57778         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57779         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57780         small.
57781         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57782         * math/libm-test.inc (y0_test): New tests.
57783         (y1_test): New tests.
57784         * sysdeps/i386/fpu/libm-test-ulps: Update.
57785         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57788 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57790         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57791         64-bit targets.
57792         * configure: Regenerated.
57794 2012-11-17  David S. Miller  <davem@davemloft.net>
57796         [BZ #14811]
57797         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57798         nonzero exponents with absolute value below 0x1p-128 to +/-
57799         0x1p-128.
57801 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57803         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57805         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57807         * posix/getconf-speclist.c: New file.
57808         * posix/posix-envs.def: Likewise.
57809         * posix/confstr.c (START_ENV_GROUP): New macro.
57810         (END_ENV_GROUP): Likewise.
57811         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57812         (KNOWN_PRESENT_ENV_STRING): Likewise.
57813         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57814         (UNKNOWN_ENVIRONMENT): Likewise.
57815         (confstr): Include posix-envs.def instead of handling
57816         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57817         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57818         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57819         (END_ENV_GROUP): Likewise.
57820         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57821         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57822         (UNKNOWN_ENVIRONMENT): Likewise.
57823         (__sysconf): Include posix-envs.def instead of handling associated
57824         cases directly here.
57825         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57826         preprocessing getconf-speclist.c rather than running getconf or
57827         generating empty file.
57829 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57831         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57833 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57835         [BZ #14672]
57836         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57838 2012-11-16  David S. Miller  <davem@davemloft.net>
57840         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57841         smaller than LDBL_EPSILON/2.0L, just return xm1.
57843 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57845         * elf/tst-array1.c (init): Set constructor priority to 1000.
57846         (fini): Set destructor priority to 1000.
57847         * elf/tst-array2dep.c: Likewise.
57849 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57851         [BZ #11741]
57852         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57853         (_IO_new_file_xsputn): Also return EOF if none of the input
57854         data was written when overflow failed.
57855         * libio/iopadn.c (_IO_padn): Likewise.
57856         * libio/iowpadn.c (_IO_wpadn): Likewise.
57857         * stdio-common/tst-put-error.c: Add copyright notice.
57858         (do_test): Add case for printing padded string.
57859         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57860         _IO_padn returned error.
57861         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57862         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57863         return EOF.
57865 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57867         * libio/libioP.h: Add comment note that the references to C++
57868         bits are now obsolete.
57870 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57872         * math/libm-test.inc (check_complex): Use asprintf.
57874 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57876         * debug/pcprofiledump.c (print_version): Update copyright year.
57877         * malloc/memusagestat.c (print_version): Likewise.
57879 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57881         [BZ #14831]
57882         * elf/Makefile (tests): Add tst-audit8.
57883         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57884         ($(objpfx)tst-audit8.out): New target.
57885         (tst-audit8-ENV): New variable.
57886         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57887         audit if l_reloc_result is NULL.
57888         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57889         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57890         * elf/tst-audit8.c: New file.
57892 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57894         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57895         * misc/Makefile (CFLAGS-select.c): Define.
57896         * posix/Makefile (CFLAGS-pause.c): Define.
57898 2012-11-13  David S. Miller  <davem@davemloft.net>
57900         * crypt/Makefile: Move test targets after toplevel Rules
57901         inclusion.  Grab any necessary sysdep routines when linking.
57902         * crypt/md5.c (md5_process_block): Remove define, we will always
57903         name it __md5_process_block.
57904         (md5_finish_ctx): Update md5_process_block call.
57905         (md5_stream): Likewise.
57906         (md5_process_bytes): Likewise.
57907         (md5_process_block): Rename to __md5_process_block and move to ...
57908         * crypt/md5-block.c: ... here.
57909         * crypt/sha256.c (sha256_process_block): Move to ...
57910         * crypt/sha256-block.c: ... here.
57911         * crypt/sha512.c (sha512_process_block): Move to ...
57912         * crypt/sha512-block.c: ... here.
57913         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57914         path.
57915         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57916         * sysdeps/sparc/sparc64/multiarch/Makefile
57917         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57918         crypt subdir.
57919         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57920         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57921         multiarch changes.
57922         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57923         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57924         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57925         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57926         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57927         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57928         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57929         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57930         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57931         file.
57932         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57933         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57934         file.
57935         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57937 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57939         * timezone/tzselect.ksh: Update from tzcode git revision
57940         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57941         * timezone/zdump.c: Likewise.
57942         * timezone/zic.c: Likewise.
57943         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57944         in TZVERSION setting, not $(PKGVERSION).
57945         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57946         REPORT_BUGS_TO settings.
57948         [BZ #14838]
57949         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57950         macro.
57952 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57954         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57955         detection to immediately after _FP_ROUND().
57956         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57957         bits are 0.
57959 2012-11-11  David S. Miller  <davem@davemloft.net>
57961         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57962         inttypes.h
57963         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57964         __close rather than their public counterparts.
57966 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57968         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57969         file.
57970         [UNIX98] (sem_timedwait): Do not expect.
57971         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57972         [XPG4 || UNIX98] (sockatmark): Do not expect.
57973         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57974         (clock_getcpuclockid): Do not expect.
57975         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57976         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57977         Do not expect.
57978         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57979         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57980         [UNIX98] (vwscanf): Likewise.
57981         [UNIX98] (vswscanf): Likewise.
57983 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57985         * timezone/version.h: Remove file.
57986         * timezone/README: Do not refer to version.h.
57987         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57988         $(objpfx)version.h.
57989         ($(objpfx)zdump.o): Likewise.
57990         ($(objpfx)version.h): New target.
57992         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57993         2012i.
57994         * timezone/README: Don't mention modification to tzselect.ksh.
57995         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57996         work on unmodified tzselect.ksh.  Substitute version numbers in
57997         tzselect.ksh.
57999         * Makefile (format-me): Remove.
58000         (INSTALL): Adjust indentation.  Use commands directly instead of
58001         using $(format-me).
58003         * aclocal.m4 (ACX_PKGVERSION): New macro.
58004         (ACX_BUGURL): Likewise.
58005         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58006         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58007         (REPORT_BUGS_TO): Likewise.
58008         * configure: Regenerated.
58009         * config.h.in (PKGVERSION): New macro.
58010         (REPORT_BUGS_TO): Likewise.
58011         * config.make.in (PKGVERSION): New variable.
58012         (PKGVERSION_TEXI): Likewise.
58013         (REPORT_BUGS_TO): Likewise.
58014         (REPORT_BUGS_TEXI): Likewise.
58015         * Makefile (format-me): Use -I$(common-objpfx)manual.
58016         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58017         ($(common-objpfx)manual/%): New target.
58018         (manual/%): Remove target.
58019         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58020         (print_version): Use PKGVERSION.
58021         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58022         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58023         and REPORT_BUGS_TO.
58024         ($(objpfx)xtrace): Likewise.
58025         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58026         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58027         (print_version): Use PKGVERSION.
58028         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58029         (do_version): Use PKGVERSION.
58030         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58031         REPORT_BUGS_TO.
58032         (common-ldd-rewrite): Likewise.
58033         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58034         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58035         (print_version): Use PKGVERSION.
58036         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58037         * elf/pldd.c (argp_program_bug_address): Remove variable.
58038         (more_help): New function.
58039         (argp): Use more_help.
58040         (print_version): Use PKGVERSION.
58041         * elf/sln.c (main): Use PKGVERSION.
58042         (usage): Use REPORT_BUGS_TO.
58043         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58044         (top level): Use PKGVERSION.
58045         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58046         (print_version): Use PKGVERSION.
58047         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58048         (print_version): Use PKGVERSION.
58049         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58050         (print_version): Use PKGVERSION.
58051         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58052         (print_version): Use PKGVERSION.
58053         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58054         (print_version): Use PKGVERSION.
58055         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58056         (print_version): Use PKGVERSION.
58057         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58058         and BUGURL.
58059         ($(objpfx)memusage): Likewise.
58060         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58061         (do_version): Use PKGVERSION.
58062         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58063         (print_version): Use PKGVERSION.
58064         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58065         ($PKGVERSION): New variable.
58066         ($REPORT_BUGS_TO): Likewise.
58067         (usage): Use $REPORT_BUGS_TO.
58068         (top level): Use $PKGVERSION.
58069         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58070         ($(objpfx)pkgvers.texi): New rule.
58071         ($(objpfx)stamp-pkgvers): Likewise.
58072         * manual/install.texi: Include pkgvers.texi.
58073         (--with-pkgversion): Document new configure option.
58074         (--with-bugurl): Likewise.
58075         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58076         than necessarily for this particular distribution.  Use
58077         REPORT_BUGS_TO for where to report bugs.
58078         * INSTALL: Regenerated.
58079         * manual/libc.texinfo: Include pkgvers.texi.
58080         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58081         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58082         (print_version): Use PKGVERSION.
58083         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58084         (print_version): Use PKGVERSION.
58085         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58086         (print_version): Use PKGVERSION.
58087         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58088         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58089         macro.
58090         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58091         (print_version): Use PKGVERSION.
58092         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58093         (print_version): Use PKGVERSION.
58094         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58095         and PKGVERSION.
58097         * timezone/checktab.awk: Update from tzcode 2012i.
58098         * timezone/ialloc.c: Likewise.
58099         * timezone/private.h: Likewise.
58100         * timezone/scheck.c: Likewise.
58101         * timezone/tzfile.h: Likewise.
58102         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58103         (TZVERSION): Hardcode tzcode version number.
58104         * timezone/zdump.c: Update from tzcode 2012i.
58105         * timezone/zic.c: Likewise.
58106         * timezone/version.h: New file.
58107         * timezone/README: Describe version.h.  Update upstream location.
58109         [BZ #14824]
58110         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58111         (mktemp): Enable declaration.
58112         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58113         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58114         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58115         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58116         Likewise.
58117         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58118         Likewise.
58119         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58120         Likewise.
58121         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58122         Likewise.
58123         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58124         Likewise.
58125         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58126         Likewise.
58128         [BZ #14821]
58129         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58130         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58131         for copies of such integer values.
58132         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58133         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58135 2012-11-09  Andreas Jaeger  <aj@suse.de>
58137         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58138         definitions and declarations that are provided by
58139         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58141 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58143         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58144         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58145         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58146         definition.
58148 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58150         * elf/elf.h: Update comment before AArch64 relocations.
58152 2012-11-07  David S. Miller  <davem@davemloft.net>
58154         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58155         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58156         (__start_context): Declare.
58157         (__makecontext_ret): Delete.
58158         (__makecontext): Hook up __start_context instead of
58159         __makecontext_ret.
58160         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58161         (sysdep_routines): Add __start_context when in stdlib.
58163 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58165         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58166         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58167         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58168         hardcoded "nm".
58169         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58170         (READELF): New variable.  Use it instead of hardcoded "readelf".
58172 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58174         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58175         * sysdeps/x86/Makefile: Here.
58176         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58177         * sysdeps/x86/tst-xmmymm.sh: This.
58179 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58181         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58182         expectations.
58183         [UNIX98] (pthread_barrier_t): Do not expect.
58184         [UNIX98] (pthread_barrierattr_t): Likewise.
58185         [UNIX98] (pthread_spinlock_t): Likewise.
58186         [UNIX98] (pthread_barrier_destroy): Likewise.
58187         [UNIX98] (pthread_barrier_init): Likewise.
58188         [UNIX98] (pthread_barrier_wait): Likewise.
58189         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58190         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58191         [UNIX98] (pthread_barrierattr_init): Likewise.
58192         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58193         [UNIX98] (pthread_getcpuclockid): Likewise.
58194         [UNIX98] (pthread_mutex_timedlock): Likewise.
58195         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58196         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58197         [UNIX98] (pthread_sigmask): Likewise.
58198         [UNIX98] (pthread_spin_destroy): Likewise.
58199         [UNIX98] (pthread_spin_init): Likewise.
58200         [UNIX98] (pthread_spin_lock): Likewise.
58201         [UNIX98] (pthread_spin_trylock): Likewise.
58202         [UNIX98] (pthread_spin_unlock): Likewise.
58203         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58204         Do not expect.
58205         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58206         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58207         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58208         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58209         [XPG3 || XPG4] (pthread_key_t): Likewise.
58210         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58211         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58212         [XPG3 || XPG4] (pthread_once_t): Likewise.
58213         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58214         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58215         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58216         [XPG3 || XPG4] (pthread_t): Likewise.
58218         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58219         not expect.
58220         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58222         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58223         Change function return type to int.
58225         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58226         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58227         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58228         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58229         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58230         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58231         [!POSIX] (posix_madvise): Likewise.
58232         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58233         && !UNIX98].
58234         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58235         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58236         (mode_t): Likewise.
58237         (posix_mem_offset): Likewise.
58238         (posix_typed_mem_get_info): Likewise.
58239         (posix_typed_mem_open): Likewise.
58241         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58242         Change condition to [XOPEN2K8].
58244         * conform/conformtest.pl: Preprocess allow-header data with -x c
58245         instead of from stdin.
58246         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58247         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58248         [C99-based standards] (cerfc): Likewise.
58249         [C99-based standards] (cexp2): Likewise.
58250         [C99-based standards] (cexpm1): Likewise.
58251         [C99-based standards] (clog10): Likewise.
58252         [C99-based standards] (clog1p): Likewise.
58253         [C99-based standards] (clog2): Likewise.
58254         [C99-based standards] (clgamma): Likewise.
58255         [C99-based standards] (ctgamma): Likewise.
58256         [C99-based standards] (cerff): Likewise.
58257         [C99-based standards] (cerfcf): Likewise.
58258         [C99-based standards] (cexp2f): Likewise.
58259         [C99-based standards] (cexpm1f): Likewise.
58260         [C99-based standards] (clog10f): Likewise.
58261         [C99-based standards] (clog1pf): Likewise.
58262         [C99-based standards] (clog2f): Likewise.
58263         [C99-based standards] (clgammaf): Likewise.
58264         [C99-based standards] (ctgammaf): Likewise.
58265         [C99-based standards] (cerfl): Likewise.
58266         [C99-based standards] (cerfcl): Likewise.
58267         [C99-based standards] (cexp2l): Likewise.
58268         [C99-based standards] (cexpm1l): Likewise.
58269         [C99-based standards] (clog10l): Likewise.
58270         [C99-based standards] (clog1pl): Likewise.
58271         [C99-based standards] (clog2l): Likewise.
58272         [C99-based standards] (clgammal): Likewise.
58273         [C99-based standards] (ctgammal): Likewise.
58274         * conform/data/inttypes.h-data [C99-based standards]: Include
58275         stdint.h-data.  Remove all expectations for stdint.h contents.
58276         [C99-based standards] (PRI*): Do not allow.
58277         [C99-based standards] (SCN*): Likewise.
58278         [C99-based standards] (*_t): Likewise.
58279         [C99-based-standards] (PRId8): Expect macro.
58280         [C99-based-standards] (PRIi8): Likewise.
58281         [C99-based-standards] (PRIo8): Likewise.
58282         [C99-based-standards] (PRIu8): Likewise.
58283         [C99-based-standards] (PRIx8): Likewise.
58284         [C99-based-standards] (PRIX8): Likewise.
58285         [C99-based-standards] (SCNd8): Likewise.
58286         [C99-based-standards] (SCNi8): Likewise.
58287         [C99-based-standards] (SCNo8): Likewise.
58288         [C99-based-standards] (SCNu8): Likewise.
58289         [C99-based-standards] (SCNx8): Likewise.
58290         [C99-based-standards] (PRIdLEAST8): Likewise.
58291         [C99-based-standards] (PRIiLEAST8): Likewise.
58292         [C99-based-standards] (PRIoLEAST8): Likewise.
58293         [C99-based-standards] (PRIuLEAST8): Likewise.
58294         [C99-based-standards] (PRIxLEAST8): Likewise.
58295         [C99-based-standards] (PRIXLEAST8): Likewise.
58296         [C99-based-standards] (SCNdLEAST8): Likewise.
58297         [C99-based-standards] (SCNiLEAST8): Likewise.
58298         [C99-based-standards] (SCNoLEAST8): Likewise.
58299         [C99-based-standards] (SCNuLEAST8): Likewise.
58300         [C99-based-standards] (SCNxLEAST8): Likewise.
58301         [C99-based-standards] (PRIdFAST8): Likewise.
58302         [C99-based-standards] (PRIiFAST8): Likewise.
58303         [C99-based-standards] (PRIoFAST8): Likewise.
58304         [C99-based-standards] (PRIuFAST8): Likewise.
58305         [C99-based-standards] (PRIxFAST8): Likewise.
58306         [C99-based-standards] (PRIXFAST8): Likewise.
58307         [C99-based-standards] (SCNdFAST8): Likewise.
58308         [C99-based-standards] (SCNiFAST8): Likewise.
58309         [C99-based-standards] (SCNoFAST8): Likewise.
58310         [C99-based-standards] (SCNuFAST8): Likewise.
58311         [C99-based-standards] (SCNxFAST8): Likewise.
58312         [C99-based-standards] (PRId16): Likewise.
58313         [C99-based-standards] (PRIi16): Likewise.
58314         [C99-based-standards] (PRIo16): Likewise.
58315         [C99-based-standards] (PRIu16): Likewise.
58316         [C99-based-standards] (PRIx16): Likewise.
58317         [C99-based-standards] (PRIX16): Likewise.
58318         [C99-based-standards] (SCNd16): Likewise.
58319         [C99-based-standards] (SCNi16): Likewise.
58320         [C99-based-standards] (SCNo16): Likewise.
58321         [C99-based-standards] (SCNu16): Likewise.
58322         [C99-based-standards] (SCNx16): Likewise.
58323         [C99-based-standards] (PRIdLEAST16): Likewise.
58324         [C99-based-standards] (PRIiLEAST16): Likewise.
58325         [C99-based-standards] (PRIoLEAST16): Likewise.
58326         [C99-based-standards] (PRIuLEAST16): Likewise.
58327         [C99-based-standards] (PRIxLEAST16): Likewise.
58328         [C99-based-standards] (PRIXLEAST16): Likewise.
58329         [C99-based-standards] (SCNdLEAST16): Likewise.
58330         [C99-based-standards] (SCNiLEAST16): Likewise.
58331         [C99-based-standards] (SCNoLEAST16): Likewise.
58332         [C99-based-standards] (SCNuLEAST16): Likewise.
58333         [C99-based-standards] (SCNxLEAST16): Likewise.
58334         [C99-based-standards] (PRIdFAST16): Likewise.
58335         [C99-based-standards] (PRIiFAST16): Likewise.
58336         [C99-based-standards] (PRIoFAST16): Likewise.
58337         [C99-based-standards] (PRIuFAST16): Likewise.
58338         [C99-based-standards] (PRIxFAST16): Likewise.
58339         [C99-based-standards] (PRIXFAST16): Likewise.
58340         [C99-based-standards] (SCNdFAST16): Likewise.
58341         [C99-based-standards] (SCNiFAST16): Likewise.
58342         [C99-based-standards] (SCNoFAST16): Likewise.
58343         [C99-based-standards] (SCNuFAST16): Likewise.
58344         [C99-based-standards] (SCNxFAST16): Likewise.
58345         [C99-based-standards] (PRId32): Likewise.
58346         [C99-based-standards] (PRIi32): Likewise.
58347         [C99-based-standards] (PRIo32): Likewise.
58348         [C99-based-standards] (PRIu32): Likewise.
58349         [C99-based-standards] (PRIx32): Likewise.
58350         [C99-based-standards] (PRIX32): Likewise.
58351         [C99-based-standards] (SCNd32): Likewise.
58352         [C99-based-standards] (SCNi32): Likewise.
58353         [C99-based-standards] (SCNo32): Likewise.
58354         [C99-based-standards] (SCNu32): Likewise.
58355         [C99-based-standards] (SCNx32): Likewise.
58356         [C99-based-standards] (PRIdLEAST32): Likewise.
58357         [C99-based-standards] (PRIiLEAST32): Likewise.
58358         [C99-based-standards] (PRIoLEAST32): Likewise.
58359         [C99-based-standards] (PRIuLEAST32): Likewise.
58360         [C99-based-standards] (PRIxLEAST32): Likewise.
58361         [C99-based-standards] (PRIXLEAST32): Likewise.
58362         [C99-based-standards] (SCNdLEAST32): Likewise.
58363         [C99-based-standards] (SCNiLEAST32): Likewise.
58364         [C99-based-standards] (SCNoLEAST32): Likewise.
58365         [C99-based-standards] (SCNuLEAST32): Likewise.
58366         [C99-based-standards] (SCNxLEAST32): Likewise.
58367         [C99-based-standards] (PRIdFAST32): Likewise.
58368         [C99-based-standards] (PRIiFAST32): Likewise.
58369         [C99-based-standards] (PRIoFAST32): Likewise.
58370         [C99-based-standards] (PRIuFAST32): Likewise.
58371         [C99-based-standards] (PRIxFAST32): Likewise.
58372         [C99-based-standards] (PRIXFAST32): Likewise.
58373         [C99-based-standards] (SCNdFAST32): Likewise.
58374         [C99-based-standards] (SCNiFAST32): Likewise.
58375         [C99-based-standards] (SCNoFAST32): Likewise.
58376         [C99-based-standards] (SCNuFAST32): Likewise.
58377         [C99-based-standards] (SCNxFAST32): Likewise.
58378         [C99-based-standards] (PRId64): Likewise.
58379         [C99-based-standards] (PRIi64): Likewise.
58380         [C99-based-standards] (PRIo64): Likewise.
58381         [C99-based-standards] (PRIu64): Likewise.
58382         [C99-based-standards] (PRIx64): Likewise.
58383         [C99-based-standards] (PRIX64): Likewise.
58384         [C99-based-standards] (SCNd64): Likewise.
58385         [C99-based-standards] (SCNi64): Likewise.
58386         [C99-based-standards] (SCNo64): Likewise.
58387         [C99-based-standards] (SCNu64): Likewise.
58388         [C99-based-standards] (SCNx64): Likewise.
58389         [C99-based-standards] (PRIdLEAST64): Likewise.
58390         [C99-based-standards] (PRIiLEAST64): Likewise.
58391         [C99-based-standards] (PRIoLEAST64): Likewise.
58392         [C99-based-standards] (PRIuLEAST64): Likewise.
58393         [C99-based-standards] (PRIxLEAST64): Likewise.
58394         [C99-based-standards] (PRIXLEAST64): Likewise.
58395         [C99-based-standards] (SCNdLEAST64): Likewise.
58396         [C99-based-standards] (SCNiLEAST64): Likewise.
58397         [C99-based-standards] (SCNoLEAST64): Likewise.
58398         [C99-based-standards] (SCNuLEAST64): Likewise.
58399         [C99-based-standards] (SCNxLEAST64): Likewise.
58400         [C99-based-standards] (PRIdFAST64): Likewise.
58401         [C99-based-standards] (PRIiFAST64): Likewise.
58402         [C99-based-standards] (PRIoFAST64): Likewise.
58403         [C99-based-standards] (PRIuFAST64): Likewise.
58404         [C99-based-standards] (PRIxFAST64): Likewise.
58405         [C99-based-standards] (PRIXFAST64): Likewise.
58406         [C99-based-standards] (SCNdFAST64): Likewise.
58407         [C99-based-standards] (SCNiFAST64): Likewise.
58408         [C99-based-standards] (SCNoFAST64): Likewise.
58409         [C99-based-standards] (SCNuFAST64): Likewise.
58410         [C99-based-standards] (SCNxFAST64): Likewise.
58411         [C99-based-standards] (PRIdMAX): Likewise.
58412         [C99-based-standards] (PRIiMAX): Likewise.
58413         [C99-based-standards] (PRIoMAX): Likewise.
58414         [C99-based-standards] (PRIuMAX): Likewise.
58415         [C99-based-standards] (PRIxMAX): Likewise.
58416         [C99-based-standards] (PRIXMAX): Likewise.
58417         [C99-based-standards] (SCNdMAX): Likewise.
58418         [C99-based-standards] (SCNiMAX): Likewise.
58419         [C99-based-standards] (SCNoMAX): Likewise.
58420         [C99-based-standards] (SCNuMAX): Likewise.
58421         [C99-based-standards] (SCNxMAX): Likewise.
58422         [C99-based-standards] (PRIdPTR): Likewise.
58423         [C99-based-standards] (PRIiPTR): Likewise.
58424         [C99-based-standards] (PRIoPTR): Likewise.
58425         [C99-based-standards] (PRIuPTR): Likewise.
58426         [C99-based-standards] (PRIxPTR): Likewise.
58427         [C99-based-standards] (PRIXPTR): Likewise.
58428         [C99-based-standards] (SCNdPTR): Likewise.
58429         [C99-based-standards] (SCNiPTR): Likewise.
58430         [C99-based-standards] (SCNoPTR): Likewise.
58431         [C99-based-standards] (SCNuPTR): Likewise.
58432         [C99-based-standards] (SCNxPTR): Likewise.
58433         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58434         allow.
58435         * conform/data/stdint.h-data: Update comments to clarify
58436         requirements.
58437         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58438         type.
58439         [C99-based standards] (INT8_MAX): Likewise.
58440         [C99-based standards] (INT16_MIN): Likewise.
58441         [C99-based standards] (INT16_MAX): Likewise.
58442         [C99-based standards] (INT32_MIN): Likewise.
58443         [C99-based standards] (INT32_MAX): Likewise.
58444         [C99-based standards] (INT64_MIN): Likewise.
58445         [C99-based standards] (INT64_MAX): Likewise.
58446         [C99-based standards] (UINT8_MAX): Likewise.
58447         [C99-based standards] (UINT16_MAX): Likewise.
58448         [C99-based standards] (UINT32_MAX): Likewise.
58449         [C99-based standards] (UINT64_MAX): Likewise.
58450         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58451         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58452         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58453         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58454         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58455         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58456         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58457         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58458         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58459         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58460         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58461         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58462         [C99-based standards] (INT_FAST8_MIN): Likewise.
58463         [C99-based standards] (INT_FAST8_MAX): Likewise.
58464         [C99-based standards] (INT_FAST16_MIN): Likewise.
58465         [C99-based standards] (INT_FAST16_MAX): Likewise.
58466         [C99-based standards] (INT_FAST32_MIN): Likewise.
58467         [C99-based standards] (INT_FAST32_MAX): Likewise.
58468         [C99-based standards] (INT_FAST64_MIN): Likewise.
58469         [C99-based standards] (INT_FAST64_MAX): Likewise.
58470         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58471         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58472         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58473         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58474         [C99-based standards] (INTPTR_MIN): Likewise.
58475         [C99-based standards] (INTPTR_MAX): Likewise.
58476         [C99-based standards] (UINTPTR_MAX): Likewise.
58477         [C99-based standards] (INTMAX_MIN): Likewise.
58478         [C99-based standards] (INTMAX_MAX): Likewise.
58479         [C99-based standards] (UINTMAX_MAX): Likewise.
58480         [C99-based standards] (PTRDIFF_MIN): Likewise.
58481         [C99-based standards] (PTRDIFF_MAX): Likewise.
58482         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58483         [C99-based standards] (SIZE_MAX): Likewise.
58484         [C99-based standards] (WCHAR_MAX): Likewise.
58485         [C99-based standards] (WINT_MAX): Likewise.
58486         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58487         constraint on value.
58488         [C99-based standards] (WCHAR_MIN): Likewise.
58489         [C99-based standards] (WINT_MIN): Likewise.
58490         [C99-based standards] (*_t): Allow.
58491         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58492         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58493         Include math.h-data and complex.h-data.  Remove all expectations
58494         of math.h and complex.h contents.
58495         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58496         at end of line.
58497         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58498         (struct tm): Expect tag.
58499         [C99-based-standards] (wcstof): Expect function.
58500         [C99-based-standards] (wcstold): Likewise.
58501         [C99-based-standards] (wcstoll): Likewise.
58502         [C99-based-standards] (wcstoull): Likewise.
58503         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58504         macro-int-constant.  Specify type.
58505         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58506         constraint on value.
58507         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58508         Specify type.
58509         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58510         Specify value.
58511         [ISO C standards]: Do not allow headers.
58512         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58513         wcs[abcdefghijklmnopqrstuvwxyz]*.
58514         [ISO C standards] (*_t): Do not allow.
58515         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58516         Expect function.
58517         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58518         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58519         Specify type.
58520         [ISO C standards]: Do not allow headers.
58521         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58522         is[abcdefghijklmnopqrstuvwxyz]*.
58523         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58524         to[abcdefghijklmnopqrstuvwxyz]*.
58525         [ISO C standards] (*_t): Do not allow.
58526         * conform/data/stdalign.h-data: New file.
58527         * conform/data/stdbool.h-data: Likewise.
58528         * conform/data/stdnoreturn.h-data: Likewise.
58530 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58532         [BZ #14815]
58533         * manual/filesys.texi (Directory Entries): Typo fix.
58534         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58536 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58538         * elf/elf.h (EM_AARCH64): New macro.
58539         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58540         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58541         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58542         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58543         (R_AARCH64_TLSDESC): Likewise.
58544         (NT_ARM_TLS): Likewise.
58545         (NT_ARM_HW_BREAK): Likewise.
58546         (NT_ARM_HW_WATCH): Likewise.
58548 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58550         [BZ #14811]
58551         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58552         (__ieee754_powl): Saturate nonzero exponents with absolute value
58553         below 0x1p-79 to +/- 0x1p-79.
58554         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58555         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58556         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58557         nonzero exponents with absolute value below 0x1p-32 to +/-
58558         0x1p-32.
58559         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58560         (__ieee754_powl): Saturate nonzero exponents with absolute value
58561         below 0x1p-79 to +/- 0x1p-79.
58562         * math/libm-test.inc (pow_test): Add more tests.
58564 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58566         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58567         _dl_s390_cap_flags with kernel. Increase string length.
58568         (_dl_s390_platforms): Add z196 and zEC12.
58570 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58572         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58573         Change XOPEN21K to XOPEN2K.
58575 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58577         * string/memmove.c: Use memcpy when possible.
58579 2012-11-06  Andreas Jaeger  <aj@suse.de>
58581         * po/eo.po: Update from translation team.
58583 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58585         [BZ #14793]
58586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58587         exponent and small x and y exponents, scale x or y up.  Increase
58588         by 2 the exponent used in scaling up.
58589         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58590         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58591         * math/libm-test.inc (fma_test): Add more tests.
58592         (fma_test_towardzero): Likewise.
58593         (fma_test_downward): Likewise.
58594         (fma_test_upward): Likewise.
58596 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58598         [BZ #14805]
58599         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58600         fenv_t *.
58602         [BZ #14801]
58603         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58604         namespace for names of struct fields.
58605         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58606         fenv_t fields.
58607         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58608         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58610 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58612         [BZ #3665]
58613         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58615 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58617         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58618         PTR_DEMANGLE.
58620         [BZ #5246]
58621         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58622         PTR_DEMANGLE.
58624 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58626         [BZ #14797]
58627         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58628         definitely overflow as x * y not x * y + z.
58629         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58630         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58631         * math/libm-test.inc (fma_test): Add more tests.
58632         (fma_test_towardzero): Likewise.
58633         (fma_test_downward): Likewise.
58634         (fma_test_upward): Likewise.
58636 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58638         [BZ #157]
58640         * include/stub-tag.h: Remove file.
58641         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58642         '#include' of it.
58643         * manual/maint.texi (Porting): Don't reference it.
58644         * Makerules ($(objpfx)stubs): Likewise.
58645         * dirent/closedir.c: Don't include <stub-tag.h>.
58646         * dirent/dirfd.c: Likewise.
58647         * dirent/fdopendir.c: Likewise.
58648         * dirent/getdents.c: Likewise.
58649         * dirent/getdents64.c: Likewise.
58650         * dirent/opendir.c: Likewise.
58651         * dirent/readdir.c: Likewise.
58652         * dirent/readdir64.c: Likewise.
58653         * dirent/readdir64_r.c: Likewise.
58654         * dirent/readdir_r.c: Likewise.
58655         * dirent/rewinddir.c: Likewise.
58656         * dirent/seekdir.c: Likewise.
58657         * dirent/telldir.c: Likewise.
58658         * gmon/profil.c: Likewise.
58659         * grp/setgroups.c: Likewise.
58660         * inet/if_index.c: Likewise.
58661         * io/access.c: Likewise.
58662         * io/chdir.c: Likewise.
58663         * io/chmod.c: Likewise.
58664         * io/chown.c: Likewise.
58665         * io/close.c: Likewise.
58666         * io/dup.c: Likewise.
58667         * io/dup2.c: Likewise.
58668         * io/dup3.c: Likewise.
58669         * io/euidaccess.c: Likewise.
58670         * io/faccessat.c: Likewise.
58671         * io/fchdir.c: Likewise.
58672         * io/fchmod.c: Likewise.
58673         * io/fchmodat.c: Likewise.
58674         * io/fchown.c: Likewise.
58675         * io/fchownat.c: Likewise.
58676         * io/fcntl.c: Likewise.
58677         * io/flock.c: Likewise.
58678         * io/fstatfs.c: Likewise.
58679         * io/fstatfs64.c: Likewise.
58680         * io/fstatvfs.c: Likewise.
58681         * io/fstatvfs64.c: Likewise.
58682         * io/futimens.c: Likewise.
58683         * io/fxstat.c: Likewise.
58684         * io/fxstat64.c: Likewise.
58685         * io/fxstatat.c: Likewise.
58686         * io/fxstatat64.c: Likewise.
58687         * io/getcwd.c: Likewise.
58688         * io/isatty.c: Likewise.
58689         * io/lchmod.c: Likewise.
58690         * io/lchown.c: Likewise.
58691         * io/link.c: Likewise.
58692         * io/linkat.c: Likewise.
58693         * io/lseek.c: Likewise.
58694         * io/lseek64.c: Likewise.
58695         * io/lxstat64.c: Likewise.
58696         * io/mkdir.c: Likewise.
58697         * io/mkdirat.c: Likewise.
58698         * io/mkfifo.c: Likewise.
58699         * io/mkfifoat.c: Likewise.
58700         * io/open.c: Likewise.
58701         * io/open64.c: Likewise.
58702         * io/openat.c: Likewise.
58703         * io/openat64.c: Likewise.
58704         * io/pipe.c: Likewise.
58705         * io/pipe2.c: Likewise.
58706         * io/poll.c: Likewise.
58707         * io/posix_fadvise.c: Likewise.
58708         * io/posix_fadvise64.c: Likewise.
58709         * io/posix_fallocate.c: Likewise.
58710         * io/posix_fallocate64.c: Likewise.
58711         * io/read.c: Likewise.
58712         * io/readlink.c: Likewise.
58713         * io/readlinkat.c: Likewise.
58714         * io/rmdir.c: Likewise.
58715         * io/sendfile.c: Likewise.
58716         * io/sendfile64.c: Likewise.
58717         * io/statfs.c: Likewise.
58718         * io/statfs64.c: Likewise.
58719         * io/statvfs.c: Likewise.
58720         * io/statvfs64.c: Likewise.
58721         * io/symlink.c: Likewise.
58722         * io/symlinkat.c: Likewise.
58723         * io/ttyname.c: Likewise.
58724         * io/ttyname_r.c: Likewise.
58725         * io/umask.c: Likewise.
58726         * io/unlink.c: Likewise.
58727         * io/unlinkat.c: Likewise.
58728         * io/utime.c: Likewise.
58729         * io/utimensat.c: Likewise.
58730         * io/write.c: Likewise.
58731         * io/xmknod.c: Likewise.
58732         * io/xmknodat.c: Likewise.
58733         * io/xstat.c: Likewise.
58734         * io/xstat64.c: Likewise.
58735         * login/getpt.c: Likewise.
58736         * login/grantpt.c: Likewise.
58737         * login/unlockpt.c: Likewise.
58738         * math/e_acoshl.c: Likewise.
58739         * math/e_acosl.c: Likewise.
58740         * math/e_asinl.c: Likewise.
58741         * math/e_atan2l.c: Likewise.
58742         * math/e_atanhl.c: Likewise.
58743         * math/e_coshl.c: Likewise.
58744         * math/e_expl.c: Likewise.
58745         * math/e_fmodl.c: Likewise.
58746         * math/e_gammal_r.c: Likewise.
58747         * math/e_hypotl.c: Likewise.
58748         * math/e_j0l.c: Likewise.
58749         * math/e_j1l.c: Likewise.
58750         * math/e_jnl.c: Likewise.
58751         * math/e_lgammal_r.c: Likewise.
58752         * math/e_log10l.c: Likewise.
58753         * math/e_log2l.c: Likewise.
58754         * math/e_logl.c: Likewise.
58755         * math/e_powl.c: Likewise.
58756         * math/e_rem_pio2l.c: Likewise.
58757         * math/e_sinhl.c: Likewise.
58758         * math/e_sqrtl.c: Likewise.
58759         * math/fclrexcpt.c: Likewise.
58760         * math/fedisblxcpt.c: Likewise.
58761         * math/feenablxcpt.c: Likewise.
58762         * math/fegetenv.c: Likewise.
58763         * math/fegetexcept.c: Likewise.
58764         * math/fegetround.c: Likewise.
58765         * math/feholdexcpt.c: Likewise.
58766         * math/fesetenv.c: Likewise.
58767         * math/fesetround.c: Likewise.
58768         * math/feupdateenv.c: Likewise.
58769         * math/fgetexcptflg.c: Likewise.
58770         * math/fraiseexcpt.c: Likewise.
58771         * math/fsetexcptflg.c: Likewise.
58772         * math/ftestexcept.c: Likewise.
58773         * math/k_cosl.c: Likewise.
58774         * math/k_rem_pio2l.c: Likewise.
58775         * math/k_sinl.c: Likewise.
58776         * math/k_tanl.c: Likewise.
58777         * math/s_asinhl.c: Likewise.
58778         * math/s_atanl.c: Likewise.
58779         * math/s_cbrtl.c: Likewise.
58780         * math/s_erfl.c: Likewise.
58781         * math/s_expm1l.c: Likewise.
58782         * math/s_log1pl.c: Likewise.
58783         * math/s_tanhl.c: Likewise.
58784         * misc/acct.c: Likewise.
58785         * misc/brk.c: Likewise.
58786         * misc/chflags.c: Likewise.
58787         * misc/chroot.c: Likewise.
58788         * misc/fchflags.c: Likewise.
58789         * misc/fgetxattr.c: Likewise.
58790         * misc/flistxattr.c: Likewise.
58791         * misc/fremovexattr.c: Likewise.
58792         * misc/fsetxattr.c: Likewise.
58793         * misc/fsync.c: Likewise.
58794         * misc/ftruncate.c: Likewise.
58795         * misc/futimes.c: Likewise.
58796         * misc/futimesat.c: Likewise.
58797         * misc/getdomain.c: Likewise.
58798         * misc/getdtsz.c: Likewise.
58799         * misc/gethostid.c: Likewise.
58800         * misc/gethostname.c: Likewise.
58801         * misc/getloadavg.c: Likewise.
58802         * misc/getpagesize.c: Likewise.
58803         * misc/getsysstats.c: Likewise.
58804         * misc/getxattr.c: Likewise.
58805         * misc/gtty.c: Likewise.
58806         * misc/ioctl.c: Likewise.
58807         * misc/lgetxattr.c: Likewise.
58808         * misc/listxattr.c: Likewise.
58809         * misc/llistxattr.c: Likewise.
58810         * misc/lremovexattr.c: Likewise.
58811         * misc/lsetxattr.c: Likewise.
58812         * misc/lutimes.c: Likewise.
58813         * misc/madvise.c: Likewise.
58814         * misc/mincore.c: Likewise.
58815         * misc/mlock.c: Likewise.
58816         * misc/mlockall.c: Likewise.
58817         * misc/mmap.c: Likewise.
58818         * misc/mprotect.c: Likewise.
58819         * misc/msync.c: Likewise.
58820         * misc/munlock.c: Likewise.
58821         * misc/munlockall.c: Likewise.
58822         * misc/munmap.c: Likewise.
58823         * misc/preadv.c: Likewise.
58824         * misc/preadv64.c: Likewise.
58825         * misc/ptrace.c: Likewise.
58826         * misc/pwritev.c: Likewise.
58827         * misc/pwritev64.c: Likewise.
58828         * misc/readv.c: Likewise.
58829         * misc/reboot.c: Likewise.
58830         * misc/remap_file_pages.c: Likewise.
58831         * misc/removexattr.c: Likewise.
58832         * misc/revoke.c: Likewise.
58833         * misc/select.c: Likewise.
58834         * misc/setdomain.c: Likewise.
58835         * misc/setegid.c: Likewise.
58836         * misc/seteuid.c: Likewise.
58837         * misc/sethostid.c: Likewise.
58838         * misc/sethostname.c: Likewise.
58839         * misc/setregid.c: Likewise.
58840         * misc/setreuid.c: Likewise.
58841         * misc/setxattr.c: Likewise.
58842         * misc/sstk.c: Likewise.
58843         * misc/stty.c: Likewise.
58844         * misc/swapoff.c: Likewise.
58845         * misc/swapon.c: Likewise.
58846         * misc/sync.c: Likewise.
58847         * misc/syncfs.c: Likewise.
58848         * misc/syscall.c: Likewise.
58849         * misc/truncate.c: Likewise.
58850         * misc/ualarm.c: Likewise.
58851         * misc/usleep.c: Likewise.
58852         * misc/ustat.c: Likewise.
58853         * misc/utimes.c: Likewise.
58854         * misc/vhangup.c: Likewise.
58855         * misc/writev.c: Likewise.
58856         * posix/_exit.c: Likewise.
58857         * posix/alarm.c: Likewise.
58858         * posix/execve.c: Likewise.
58859         * posix/fexecve.c: Likewise.
58860         * posix/fork.c: Likewise.
58861         * posix/fpathconf.c: Likewise.
58862         * posix/getaddrinfo.c: Likewise.
58863         * posix/getegid.c: Likewise.
58864         * posix/geteuid.c: Likewise.
58865         * posix/getgid.c: Likewise.
58866         * posix/getgroups.c: Likewise.
58867         * posix/getlogin.c: Likewise.
58868         * posix/getlogin_r.c: Likewise.
58869         * posix/getpgid.c: Likewise.
58870         * posix/getpid.c: Likewise.
58871         * posix/getppid.c: Likewise.
58872         * posix/getresgid.c: Likewise.
58873         * posix/getresuid.c: Likewise.
58874         * posix/getsid.c: Likewise.
58875         * posix/getuid.c: Likewise.
58876         * posix/glob64.c: Likewise.
58877         * posix/nanosleep.c: Likewise.
58878         * posix/pathconf.c: Likewise.
58879         * posix/pause.c: Likewise.
58880         * posix/posix_madvise.c: Likewise.
58881         * posix/pread.c: Likewise.
58882         * posix/pread64.c: Likewise.
58883         * posix/pwrite.c: Likewise.
58884         * posix/pwrite64.c: Likewise.
58885         * posix/sched_getaffinity.c: Likewise.
58886         * posix/sched_getp.c: Likewise.
58887         * posix/sched_gets.c: Likewise.
58888         * posix/sched_primax.c: Likewise.
58889         * posix/sched_primin.c: Likewise.
58890         * posix/sched_rr_gi.c: Likewise.
58891         * posix/sched_setaffinity.c: Likewise.
58892         * posix/sched_setp.c: Likewise.
58893         * posix/sched_sets.c: Likewise.
58894         * posix/sched_yield.c: Likewise.
58895         * posix/setgid.c: Likewise.
58896         * posix/setlogin.c: Likewise.
58897         * posix/setpgid.c: Likewise.
58898         * posix/setresgid.c: Likewise.
58899         * posix/setresuid.c: Likewise.
58900         * posix/setsid.c: Likewise.
58901         * posix/setuid.c: Likewise.
58902         * posix/sleep.c: Likewise.
58903         * posix/spawni.c: Likewise.
58904         * posix/sysconf.c: Likewise.
58905         * posix/times.c: Likewise.
58906         * posix/wait.c: Likewise.
58907         * posix/wait3.c: Likewise.
58908         * posix/wait4.c: Likewise.
58909         * posix/waitpid.c: Likewise.
58910         * resolv/gai_sigqueue.c: Likewise.
58911         * resource/getpriority.c: Likewise.
58912         * resource/getrlimit.c: Likewise.
58913         * resource/getrusage.c: Likewise.
58914         * resource/nice.c: Likewise.
58915         * resource/setpriority.c: Likewise.
58916         * resource/setrlimit.c: Likewise.
58917         * resource/ulimit.c: Likewise.
58918         * rt/aio_cancel.c: Likewise.
58919         * rt/aio_fsync.c: Likewise.
58920         * rt/aio_read.c: Likewise.
58921         * rt/aio_sigqueue.c: Likewise.
58922         * rt/aio_suspend.c: Likewise.
58923         * rt/aio_write.c: Likewise.
58924         * rt/clock_getres.c: Likewise.
58925         * rt/clock_gettime.c: Likewise.
58926         * rt/clock_nanosleep.c: Likewise.
58927         * rt/clock_settime.c: Likewise.
58928         * rt/lio_listio.c: Likewise.
58929         * rt/mq_close.c: Likewise.
58930         * rt/mq_getattr.c: Likewise.
58931         * rt/mq_notify.c: Likewise.
58932         * rt/mq_open.c: Likewise.
58933         * rt/mq_receive.c: Likewise.
58934         * rt/mq_send.c: Likewise.
58935         * rt/mq_setattr.c: Likewise.
58936         * rt/mq_timedreceive.c: Likewise.
58937         * rt/mq_timedsend.c: Likewise.
58938         * rt/mq_unlink.c: Likewise.
58939         * rt/shm_open.c: Likewise.
58940         * rt/shm_unlink.c: Likewise.
58941         * rt/timer_create.c: Likewise.
58942         * rt/timer_delete.c: Likewise.
58943         * rt/timer_getoverr.c: Likewise.
58944         * rt/timer_gettime.c: Likewise.
58945         * rt/timer_settime.c: Likewise.
58946         * setjmp/__longjmp.c: Likewise.
58947         * setjmp/setjmp.c: Likewise.
58948         * signal/kill.c: Likewise.
58949         * signal/killpg.c: Likewise.
58950         * signal/raise.c: Likewise.
58951         * signal/sigaction.c: Likewise.
58952         * signal/sigaltstack.c: Likewise.
58953         * signal/sigblock.c: Likewise.
58954         * signal/sigignore.c: Likewise.
58955         * signal/sigintr.c: Likewise.
58956         * signal/signal.c: Likewise.
58957         * signal/sigpause.c: Likewise.
58958         * signal/sigpending.c: Likewise.
58959         * signal/sigqueue.c: Likewise.
58960         * signal/sigreturn.c: Likewise.
58961         * signal/sigset.c: Likewise.
58962         * signal/sigsetmask.c: Likewise.
58963         * signal/sigstack.c: Likewise.
58964         * signal/sigsuspend.c: Likewise.
58965         * signal/sigtimedwait.c: Likewise.
58966         * signal/sigvec.c: Likewise.
58967         * signal/sigwait.c: Likewise.
58968         * signal/sigwaitinfo.c: Likewise.
58969         * signal/sysv_signal.c: Likewise.
58970         * socket/accept.c: Likewise.
58971         * socket/accept4.c: Likewise.
58972         * socket/bind.c: Likewise.
58973         * socket/connect.c: Likewise.
58974         * socket/getpeername.c: Likewise.
58975         * socket/getsockname.c: Likewise.
58976         * socket/getsockopt.c: Likewise.
58977         * socket/isfdtype.c: Likewise.
58978         * socket/listen.c: Likewise.
58979         * socket/recv.c: Likewise.
58980         * socket/recvfrom.c: Likewise.
58981         * socket/recvmsg.c: Likewise.
58982         * socket/send.c: Likewise.
58983         * socket/sendmsg.c: Likewise.
58984         * socket/sendto.c: Likewise.
58985         * socket/setsockopt.c: Likewise.
58986         * socket/shutdown.c: Likewise.
58987         * socket/sockatmark.c: Likewise.
58988         * socket/socket.c: Likewise.
58989         * socket/socketpair.c: Likewise.
58990         * stdio-common/ctermid.c: Likewise.
58991         * stdio-common/cuserid.c: Likewise.
58992         * stdio-common/remove.c: Likewise.
58993         * stdio-common/rename.c: Likewise.
58994         * stdio-common/renameat.c: Likewise.
58995         * stdio-common/tempname.c: Likewise.
58996         * stdlib/getcontext.c: Likewise.
58997         * stdlib/makecontext.c: Likewise.
58998         * stdlib/setcontext.c: Likewise.
58999         * stdlib/swapcontext.c: Likewise.
59000         * stdlib/system.c: Likewise.
59001         * streams/fattach.c: Likewise.
59002         * streams/fdetach.c: Likewise.
59003         * streams/getmsg.c: Likewise.
59004         * streams/getpmsg.c: Likewise.
59005         * streams/putmsg.c: Likewise.
59006         * streams/putpmsg.c: Likewise.
59007         * sysdeps/unix/bsd/getpt.c: Likewise.
59008         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59009         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59010         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59012         Likewise.
59013         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59014         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59015         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59016         * sysvipc/msgctl.c: Likewise.
59017         * sysvipc/msgget.c: Likewise.
59018         * sysvipc/msgrcv.c: Likewise.
59019         * sysvipc/msgsnd.c: Likewise.
59020         * sysvipc/semctl.c: Likewise.
59021         * sysvipc/semget.c: Likewise.
59022         * sysvipc/semop.c: Likewise.
59023         * sysvipc/semtimedop.c: Likewise.
59024         * sysvipc/shmat.c: Likewise.
59025         * sysvipc/shmctl.c: Likewise.
59026         * sysvipc/shmdt.c: Likewise.
59027         * sysvipc/shmget.c: Likewise.
59028         * termios/tcdrain.c: Likewise.
59029         * termios/tcflow.c: Likewise.
59030         * termios/tcflush.c: Likewise.
59031         * termios/tcgetattr.c: Likewise.
59032         * termios/tcgetpgrp.c: Likewise.
59033         * termios/tcsendbrk.c: Likewise.
59034         * termios/tcsetattr.c: Likewise.
59035         * termios/tcsetpgrp.c: Likewise.
59036         * time/adjtime.c: Likewise.
59037         * time/clock.c: Likewise.
59038         * time/getitimer.c: Likewise.
59039         * time/gettimeofday.c: Likewise.
59040         * time/setitimer.c: Likewise.
59041         * time/settimeofday.c: Likewise.
59042         * time/stime.c: Likewise.
59043         * time/time.c: Likewise.
59045 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59047         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59048         /usr/old/bin.
59050         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59051         instead of spaces.
59052         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59054 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59056         [BZ #14796]
59057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59058         FE_TONEAREST before applying Dekker multiplication and Knuth
59059         addition.  Clear inexact exceptions and check for exact zero
59060         results afterwards.
59061         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59062         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59063         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59064         * math/libm-test.inc (fma_test): Add more tests.
59065         (fma_test_towardzero): Likewise.
59066         (fma_test_downward): Likewise.
59067         (fma_test_upward): Likewise.
59068         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59069         function.
59070         (libc_fesetround): New macro.
59071         (libc_fesetroundf): Likewise.
59072         (libc_fesetroundl): Likewise.
59073         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59074         function.
59075         (libc_fesetround_387): Likewise.
59076         (libc_fesetroundf): New macro.
59077         (libc_fesetround): Likewise.
59078         (libc_fesetroundl): Likewise.
59079         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59080         function.
59081         (libc_fesetroundf): New macro.
59082         (libc_fesetround): Likewise.
59083         (libc_fesetroundl): Likewise.
59084         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59085         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59086         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59087         libm_hidden_ver.
59088         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59089         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59090         libm_hidden_def.
59091         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59092         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59093         libm_hidden_ver.
59094         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59095         libm_hidden_def.
59097         [BZ #3439]
59098         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59099         integer constant usable in #if and use that to give value to enum
59100         constant.
59101         (FE_DIVBYZERO): Likewise.
59102         (FE_UNDERFLOW): Likewise.
59103         (FE_OVERFLOW): Likewise.
59104         (FE_INVALID): Likewise.
59105         (FE_INVALID_SNAN): Likewise.
59106         (FE_INVALID_ISI): Likewise.
59107         (FE_INVALID_IDI): Likewise.
59108         (FE_INVALID_ZDZ): Likewise.
59109         (FE_INVALID_IMZ): Likewise.
59110         (FE_INVALID_COMPARE): Likewise.
59111         (FE_INVALID_SOFTWARE): Likewise.
59112         (FE_INVALID_SQRT): Likewise.
59113         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59114         (FE_TONEAREST): Likewise.
59115         (FE_TOWARDZERO): Likewise.
59116         (FE_UPWARD): Likewise.
59117         (FE_DOWNWARD): Likewise.
59118         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59119         (FE_DIVBYZERO): Likewise.
59120         (FE_OVERFLOW): Likewise.
59121         (FE_UNDERFLOW): Likewise.
59122         (FE_INEXACT): Likewise.
59123         (FE_TONEAREST): Likewise.
59124         (FE_DOWNWARD): Likewise.
59125         (FE_UPWARD): Likewise.
59126         (FE_TOWARDZERO): Likewise.
59127         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59128         (FE_UNDERFLOW): Likewise.
59129         (FE_OVERFLOW): Likewise.
59130         (FE_DIVBYZERO): Likewise.
59131         (FE_INVALID): Likewise.
59132         (FE_TONEAREST): Likewise.
59133         (FE_TOWARDZERO): Likewise.
59134         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59135         (FE_OVERFLOW): Likewise.
59136         (FE_UNDERFLOW): Likewise.
59137         (FE_DIVBYZERO): Likewise.
59138         (FE_INEXACT): Likewise.
59139         (FE_TONEAREST): Likewise.
59140         (FE_TOWARDZERO): Likewise.
59141         (FE_UPWARD): Likewise.
59142         (FE_DOWNWARD): Likewise.
59143         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59144         (FE_DIVBYZERO): Likewise.
59145         (FE_OVERFLOW): Likewise.
59146         (FE_UNDERFLOW): Likewise.
59147         (FE_INEXACT): Likewise.
59148         (FE_TONEAREST): Likewise.
59149         (FE_DOWNWARD): Likewise.
59150         (FE_UPWARD): Likewise.
59151         (FE_TOWARDZERO): Likewise.
59153 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59155         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59157 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59159         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59160         commands.  Quote $PWD.
59161         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59162         -x" by "export".
59163         (remove_newlines): Remove.
59165 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59167         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59168         * stdlib/stdlib.h (atof): Moved to ...
59169         * include/bits/stdlib-float.h: Here.  New file.
59170         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59171         * stdlib/bits/stdlib-float.h: New file.
59172         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59173         -mno-sse -mno-mmx.
59174         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59175         <xmmintrin.h>.
59177 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59179         * conform/conformtest.pl (@headers): Add fenv.h.
59180         * conform/data/fenv.h-data: New file.
59181         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59182         include of <math/fenv.h>.
59184         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59185         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59186         && !UNIX98].  Enables tests for XOPEN2K8.
59187         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59188         POSIX2008]: Likewise.
59190         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59191         (struct rusage): Do not expect type or its members.
59193         [BZ #3439]
59194         * math/math.h (FP_NAN): Define macro to integer constant usable in
59195         #if and use that to give value to enum constant.
59196         (FP_INFINITE): Likewise.
59197         (FP_ZERO): Likewise.
59198         (FP_SUBNORMAL): Likewise.
59199         (FP_NORMAL): Likewise.
59201 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59203         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59204         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59205         arguments.
59207 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59209         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59210         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59211         autoconf-time if not.
59212         * configure.in: Remove AC_PREREQ.
59214 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59216         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59217         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59218         of the internal implementation.
59220 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59222         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59223         except include of <misc/sys/syslog.h>.
59225 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59228         function returns with a NULL context exit with zero.
59230 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59232         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59234 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59236         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59237         (run_program_cmd): This.
59238         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59239         (tst_langinfo): New variable.  Use it.
59241 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59243         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59244         floating point opcodes.
59246 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59248         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59249         variable.
59251         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59253         * sysdeps/mach/hurd/powerpc: Remove directory.
59254         * sysdeps/mach/powerpc: Likewise.
59256 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59258         * scripts/check-local-headers.sh: Ignore c++ headers.
59260 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59262         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59263         __libc_cleanup_region_start argument.
59265 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59267         [BZ #14784]
59268         [BZ #14785]
59269         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59270         x * y using scaling, not as x * y + z.
59271         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59272         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59273         * math/libm-test.inc (fma_test): Add more tests.
59274         (fma_test_towardzero): Likewise.
59275         (fma_test_downward): Likewise.
59276         (fma_test_upward): Likewise.
59278 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59280         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59282 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59284         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59285         New variable.
59287 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59289         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59291 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59294         Fix sort order.
59295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59296         Likewise.
59298 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59301         Fix the order of the list for glibc 2.17.
59302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59303         Likewise.
59305 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59309 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59311         [BZ #14610]
59312         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59313         for low part of x being zero before using __atanl (y).
59314         * math/libm-test.inc (atan2_test): Add another test.
59316         * manual/install.texi (Configuring and compiling): Document
59317         general use of test-wrapper and test-wrapper-env.
59318         * INSTALL: Regenerated.
59320         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59321         (__fma): Do not extract and scale down low bits on after-rounding
59322         systems when result rounded to normal precision would have normal
59323         exponent.
59324         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59325         (__fmal): Do not extract and scale down low bits on after-rounding
59326         systems when result rounded to normal precision would have normal
59327         exponent.
59328         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59329         (__fmal): Do not extract and scale down low bits on after-rounding
59330         systems when result rounded to normal precision would have normal
59331         exponent.
59332         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59333         macro.
59334         (fma_test): Add more tests.
59335         (fma_test_towardzero): Likewise.
59336         (fma_test_downward): Likewise.
59337         (fma_test_upward): Likewise.
59339 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59341         * sysdeps/i386/tininess.h: Renamed to ...
59342         * sysdeps/x86/tininess.h: This.
59343         * sysdeps/x86_64/tininess.h: Removed.
59345 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59347         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59348         input.  Use $(build-program-cmd).
59349         ($(objpfx)tst-array1-static.out): Likewise.
59350         ($(objpfx)tst-array2.out): Likewise.
59351         ($(objpfx)tst-array3.out): Likewise.
59352         ($(objpfx)tst-array4.out): Likewise.
59353         ($(objpfx)tst-array5.out): Likewise.
59354         ($(objpfx)tst-array5-static.out): Likewise.
59356 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59358         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59359         if defined.
59361         * nss/nsswitch.h (nss_interface_function): Provide new
59362         macro for use with NSS functions.
59363         * grp/initgroups.c: Use new macro.
59364         * nss/getXXbyYY.c: Likewise.
59365         * nss/getXXbyYY_r.c: Likewise.
59366         * nss/getXXent.c: Likewise.
59367         * nss/getXXent_r.c: Likewise.
59368         * sysdeps/posix/getaddrinfo.c: Likewise.
59370 2012-10-30  Andreas Jaeger  <aj@suse.de>
59372         * po/ru.po: Update Russion translation from translation project.
59374 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59376         [BZ #14152]
59377         [BZ #14783]
59378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59379         result and shift together with sticky bit instead of replicating
59380         round-to-nearest rounding.
59381         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59382         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59383         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59384         missing underflow exceptions.
59385         (fma_test_towardzero): Add more tests.
59386         (fma_test_downward): Likewise.
59387         (fma_test_upward): Likewise.
59389         [BZ #14047]
59390         * sysdeps/generic/tininess.h: New file.
59391         * sysdeps/i386/tininess.h: Likewise.
59392         * sysdeps/sh/tininess.h: Likewise.
59393         * sysdeps/x86_64/tininess.h: Likewise.
59394         * stdlib/tst-strtod-underflow.c: Likewise.
59395         * stdlib/tst-tininess.c: Likewise.
59396         * stdlib/strtod_l.c: Include <tininess.h>.
59397         (round_and_return): Do not set errno for exact underflow cases.
59398         Force an underflow exception when setting errno for underflow.
59399         Determine underflow based on rounding to normal precision if
59400         TININESS_AFTER_ROUNDING.
59401         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59402         ERANGE for exact underflow cases.
59403         * stdlib/Makefile (tests): Add tst-tininess and
59404         tst-strtod-underflow.
59405         ($(objpfx)tst-tininess): Use $(link-libm).
59406         ($(objpfx)tst-strtod-underflow): Likewise.
59408 2012-10-30  Andreas Jaeger  <aj@suse.de>
59410         [BZ#14767]
59411         * elf/Makefile (tests): Remove conditional for have-initfini-array
59412         since this is now always required and the variable does not exist
59413         anymore.
59414         (tests-static): Likewise.
59415         (modules-names): Likewise.
59417         * po/eo.po: Add Esperanto translation from translation project.
59419         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59420         merged with constructor/destructor.
59421         (init_array): Likewise.
59422         * elf/tst-array2dep.c (fini_array): Likewise.
59423         (init_array): Likewise.
59425 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59427         * manual/message.texi: Delete @cartouche tags.
59429 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59431         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59432         EOPNOTSUPP.
59433         * sysdeps/mach/hurd/fsync.c: Likewise.
59435         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59436         [_POSIX_REALTIME_SIGNALS]: Change condition to
59437         [_POSIX_REALTIME_SIGNALS > 0].
59439 2012-10-27  Andreas Jaeger  <aj@suse.de>
59441         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59442         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59443         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59444         [__WORDSIZE != 64]: Likewise.
59446 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59448         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59449         *  iconvdata/tst-tables.sh: Likewise.
59451 2012-10-25  David S. Miller  <davem@davemloft.net>
59453         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59454         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59455         of strtoull.
59457         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59458         ifunc-impl-list.c
59459         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59460         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59461         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59462         file.
59464 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59466         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59467         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59468         __getdirentries.
59470 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59471             Jim Blandy  <jimb@codesourcery.com>
59473         * scripts/cross-test-ssh.sh: New file.
59474         * manual/install.texi (Configuring and compiling): Document use of
59475         cross-test-ssh.sh.
59476         * INSTALL: Regenerated.
59478 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59480         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59481         EOPNOTSUPP.
59483 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59485         * Makeconfig (run-program-prefix): Fix comment.
59487 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59488             Jim Blandy  <jimb@codesourcery.com>
59490         * Makeconfig (test-wrapper): New variable,
59491         (test-wrapper-env): Likewise.
59492         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59493         (run-built-tests): Define to yes.
59494         (run-program-prefix): Use $(test-wrapper).
59495         (built-program-cmd): Likewise.
59496         * Rules (make-test-out): Use $(test-wrapper-env) and
59497         $(host-built-program-cmd).
59498         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59499         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59500         tst-pathopt.sh.
59501         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59502         $(test-wrapper-env) to tst-rtld-load-self.sh.
59503         ($(objpfx)order2.out): Use $(test-wrapper).
59504         ($(objpfx)tst-initorder.out): Likewise.
59505         ($(objpfx)tst-initorder2.out): Likewise.
59506         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59507         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59508         (test_wrapper_env): New variable.  Use it to run ld.so.
59509         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59510         Use it to run ld.so.
59511         (test_wrapper_env): Likewise.
59512         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59513         $(test-wrapper) to run-iconv-test.sh.
59514         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59515         (ICONV): Use $test_wrapper.
59516         * posix/Makefile ($(objpfx)globtest.out): Pass
59517         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59518         globtest.sh, not $(run-program-prefix).
59519         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59520         (test_wrapper): Likewise.
59521         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59522         set together with run_via_rtld_prefix.
59523         (run_program_prefix): Define in terms of test_wrapper and
59524         run_via_rtld_prefix.
59526 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59528         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59529         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59530         Targets removed.
59532         [BZ #14743]
59533         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59534         Declare __clock_getres, __clock_gettime, __clock_settime,
59535         __clock_nanosleep, and __clock_getcpuclockid.
59536         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59537         Remove librt_hidden_def (clock_gettime).
59538         * sysdeps/unix/clock_gettime.c: Likewise.
59539         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59540         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59541         * rt/clock_getres.c: Define __clock_getres as an alias.
59542         * sysdeps/posix/clock_getres.c: Likewise.
59543         * rt/clock_settime.c: Define __clock_settime as an alias.
59544         * sysdeps/unix/clock_settime.c: Likewise.
59545         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59546         * sysdeps/unix/clock_nanosleep.c: Likewise.
59547         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59548         * rt/clock-compat.c: New file.
59549         * rt/Makefile (librt-routines): Add clock-compat and move
59550         $(clock-routines) to ...
59551         (routines): ... here, new variable.
59552         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59553         Don't add get_clockfreq here.
59554         * rt/Versions (libc: GLIBC_2.17): New version set.
59555         Add clock_* symbols here.
59556         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59557         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59558         (GLIBC_2.17): Add clock_* symbols.
59559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59561         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59563         Likewise.
59564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59565         Likewise.
59566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59570         * NEWS: Mention the move.
59572         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59573         Use __open, __read, __close rather than their public counterparts.
59574         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59575         (__get_clockfreq_via_cpuinfo): Likewise.
59576         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59577         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59579         * config.h.in (HAVE_IFUNC): New #undef.
59580         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59581         was successful.
59582         * configure: Regenerated.
59584 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59586         * configure.in: Move READELF check to start of file.
59587         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59588         libc_cv_asm_gnu_indirect_function in the process.
59589         * configure: Regenerated.
59591 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59593         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59594         send the output to /dev/null.
59595         (libc_cv_cc_with_libunwind): Likewise.
59596         (libc_cv_as_noexecstack): Likewise.
59597         * configure: Regenerate.
59599 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59601         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59603         * posix/globtest.sh (TMPDIR): Do not set.
59604         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59605         (testout): Likewise.
59607 2012-10-24  Andreas Jaeger  <aj@suse.de>
59609         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59610         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59611         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59612         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59613         posix_fadvise64, posix_fallocate64.
59615         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59616         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59617         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59618         Likewise.
59619         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59620         Likewise.
59621         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59624         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59625         <bits/fcntl-linux.h>.
59626         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59628         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59629         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59630         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59631         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59632         [__WORDSIZE != 64]: Likewise.
59634 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59636         * Makeconfig (run-built-tests): New variable.
59637         * Rules [$(cross-compiling) = yes]: Change condition to
59638         [$(run-built-tests) = no].
59639         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59640         to [$(run-built-tests) = yes].
59641         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59642         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59643         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59644         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59645         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59646         * io/Makefile [$(cross-compiling) = no]: Likewise.
59647         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59648         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59649         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59650         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59651         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59652         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59653         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59654         * string/Makefile [$(cross-compiling) = no]: Likewise.
59656         * posix/Makefile ($(objpfx)globtest.out): Pass
59657         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59658         $(rtld-installed-name).
59659         * posix/globtest.sh (elf_objpfx): Remove variable.
59660         (rtld_installed_name): Likewise.
59661         (library_path): Likewise.
59662         (run_program_prefix): New variable.  Use for running globtest
59663         binary.
59665 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59666             Joseph Myers  <joseph@codesourcery.com>
59668         * Makeconfig (host-built-program-cmd): New variable.
59669         * elf/Makefile (tst-stackguard1-ARGS): Use
59670         $(host-built-program-cmd).
59671         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59672         (tst-spawn-ARGS): Likewise.
59673         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59675 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59676             Jim Blandy  <jimb@codesourcery.com>
59678         * Makeconfig (run-via-rtld-prefix): New variable.
59679         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59680         (built-program-cmd): Likewise.
59682 2012-10-22  Andreas Jaeger  <aj@suse.de>
59684         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59685         __O_RSYNC if it exists, otherwise to O_SYNC.
59687 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59688             Joseph Myers  <joseph@codesourcery.com>
59690         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59691         /dev/null.
59692         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59693         from /dev/null
59694         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59695         /dev/null.
59697 2012-10-22  Andreas Jaeger  <aj@suse.de>
59699         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59700         Define always.
59701         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59703         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59704         bits/fcntl-linux.h.
59706         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59707         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59709         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59710         to __O_LARGEFILE.
59711         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59712         to __O_LARGEFILE.
59714 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59715             Joseph Myers  <joseph@codesourcery.com>
59717         * config.make.in (NM): New variable.
59719 2012-10-21  Andreas Jaeger  <aj@suse.de>
59721         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59722         definitions and declarations that are provided by
59723         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59725 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59727         [BZ #14683]
59728         * elf/Makefile (tests-static): Add tst-leaks1-static.
59729         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59730         ($(objpfx)tst-leaks1-static): New rule.
59731         ($(objpfx)tst-leaks1-static-mem): Likewise.
59732         (tst-leaks1-static-ENV): New macro.
59733         * elf/dl-open.c (dl_open_worker): Check the main application
59734         only if SHARED is defined.
59735         * elf/tst-leaks1-static.c: New file.
59737 2012-10-20  Andreas Jaeger  <aj@suse.de>
59739         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59740         generic values for Linux.
59741         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59742         and declarations that are provided by <bits/fcntl-linux.h> and
59743         include <bits/fcntl-linux.h>.
59744         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59745         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59747 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59749         * io/fcntl.h: Move include of <bits/types.h> to the top and
59750         include it unconditionally.
59752 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59754         * wcsmbs/Makefile (tests-ifunc): New variable.
59755         (tests): Add $(tests-ifunc).
59756         * wcsmbs/test-wcschr-ifunc.c: New file.
59757         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59758         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59759         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59760         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59761         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59763         * string/Makefile (tests-ifunc): New variable.
59764         (tests): Add $(tests-ifunc).
59765         * string/test-memccpy.c (TEST_NAME): New macro.
59766         * string/test-memchr.c (TEST_NAME): Likewise.
59767         * string/test-memcmp.c (TEST_NAME): Likewise.
59768         * string/test-memcpy.c (TEST_NAME): Likewise.
59769         * string/test-memmem.c (TEST_NAME): Likewise.
59770         * string/test-memmove.c (TEST_NAME): Likewise.
59771         * string/test-memset.c (TEST_NAME): Likewise.
59772         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59773         * string/test-stpcpy.c (TEST_NAME): Likewise.
59774         * string/test-stpncpy.c (TEST_NAME): Likewise.
59775         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59776         * string/test-strcasestr.c (TEST_NAME): Likewise.
59777         * string/test-strcat.c (TEST_NAME): Likewise.
59778         * string/test-strchr.c (TEST_NAME): Likewise.
59779         * string/test-strcmp.c(TEST_NAME): Likewise.
59780         * string/test-strcpy.c (TEST_NAME): Likewise.
59781         * string/test-strcspn.c (TEST_NAME): Likewise.
59782         * string/test-strlen.c (TEST_NAME): Likewise.
59783         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59784         * string/test-strncmp.c (TEST_NAME): Likewise.
59785         * string/test-strncpy.c (TEST_NAME): Likewise.
59786         * string/test-strnlen.c (TEST_NAME): Likewise.
59787         * string/test-strpbrk.c (TEST_NAME): Likewise.
59788         * string/test-strrchr.c (TEST_NAME): Likewise.
59789         * string/test-strspn.c (TEST_NAME): Likewise.
59790         * string/test-strstr.c (TEST_NAME): Likewise.
59791         * string/test-bcopy-ifunc.c: New file.
59792         * string/test-bzero-ifunc.c: Likewise.
59793         * string/test-memccpy-ifunc.c: Likewise.
59794         * string/test-memchr-ifunc.c: Likewise.
59795         * string/test-memcmp-ifunc.c: Likewise.
59796         * string/test-memcpy-ifunc.c: Likewise.
59797         * string/test-memmem-ifunc.c: Likewise.
59798         * string/test-memmove-ifunc.c: Likewise.
59799         * string/test-mempcpy-ifunc.c: Likewise.
59800         * string/test-memset-ifunc.c: Likewise.
59801         * string/test-rawmemchr-ifunc.c: Likewise.
59802         * string/test-stpcpy-ifunc.c: Likewise.
59803         * string/test-stpncpy-ifunc.c: Likewise.
59804         * string/test-strcasecmp-ifunc.c: Likewise.
59805         * string/test-strcasestr-ifunc.c: Likewise.
59806         * string/test-strcat-ifunc.c: Likewise.
59807         * string/test-strchr-ifunc.c: Likewise.
59808         * string/test-strchrnul-ifunc.c: Likewise.
59809         * string/test-strcmp-ifunc.c: Likewise.
59810         * string/test-strcpy-ifunc.c: Likewise.
59811         * string/test-strcspn-ifunc.c: Likewise.
59812         * string/test-strlen-ifunc.c: Likewise.
59813         * string/test-strncasecmp-ifunc.c: Likewise.
59814         * string/test-strncat-ifunc.c: Likewise.
59815         * string/test-strncmp-ifunc.c: Likewise.
59816         * string/test-strncpy-ifunc.c: Likewise.
59817         * string/test-strnlen-ifunc.c: Likewise.
59818         * string/test-strpbrk-ifunc.c: Likewise.
59819         * string/test-strrchr-ifunc.c: Likewise.
59820         * string/test-strspn-ifunc.c: Likewise.
59821         * string/test-strstr-ifunc.c: Likewise.
59823         * debug/Makefile (tests-ifunc): New variable.
59824         (tests): Add $(tests-ifunc).
59825         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59826         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59827         * debug/test-stpcpy_chk-ifunc.c: New file.
59828         * debug/test-strcpy_chk-ifunc.c: Likewise.
59830 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59832         [BZ #13601]
59833         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59834         header is not read in.
59836 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59838         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59839         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59840         directly.  Pass built executable to script as
59841         $(built-program-cmd).
59842         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59843         $testprogram without using LD_LIBRARY_PATH and $ldso.
59845         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59846         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59847         $(rtld-installed-name).
59848         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59849         (rtld_installed_name): Likewise.
59850         (library_path): Likewise.
59851         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59852         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59853         $(run-program-prefix) to tst-tables.sh.
59854         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59855         it to run tst-table-from and tst-table-to.
59856         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59857         Pass it to tst-table.sh.
59858         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59859         $(run-program-prefix) to tst-gettext.sh.
59860         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59861         tst-translit.sh.
59862         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59863         tst-gettext2.sh.
59864         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59865         to run tst-gettext.
59866         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59867         to run tst-gettext2.
59868         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59869         to run tst-translit.
59870         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59871         $(run-program-prefix) to tst-mtrace.sh.
59872         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59873         to run tst-mtrace.
59874         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59875         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59876         $(rtld-installed-name).
59877         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59878         (rtld_installed_name): Likewise.
59879         (run_program_prefix): New variable.  Use it to run wordexp-test.
59881         * Makeconfig (ARCH): Remove all definitions.
59882         (machine): Likewise.
59883         [ARCH]: Remove conditional code.
59884         [!objdir]: Give error.
59885         [!objdir] (objpfx): Remove.
59886         [!objdir] (common-objpfx): Likewise.
59887         [!objdir] (common-objdir): Likewise.
59888         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59889         AC_CONFIG_FILES call.
59890         * configure: Regenerated.
59892         [BZ #13888]
59893         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59894         or TMPDIR.
59895         (testout): Likewise.
59897         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59898         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59899         $(rtld-installed-name).
59900         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59901         (rtld_installed_name): Likwise.
59902         (runit): Remove function.
59903         (run_getconf): New variable,  Use it for running getconf binary.
59905 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59907         [BZ #14716]
59908         * string/test-memmem.c (check_result): New function.
59909         (do_one_test): Use it.
59910         (check1): New function.
59911         (test_main): Use it.
59913 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59915         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59917 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59919         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59920         (_G_LSEEK64): Likewise.
59921         (_G_MMAP64): Likewise.
59922         (_G_FSTAT64): Likewise.
59923         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59924         (_G_LSEEK64): Likewise.
59925         (_G_MMAP64): Likewise.
59926         (_G_FSTAT64): Likewise.
59927         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59928         unconditional.  Call __mmap64 directly.
59929         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59930         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59931         __lseek64 directly.
59932         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59933         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59934         __mmap64 directly.
59935         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59936         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59937         __lseek64 directly.
59938         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59939         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59940         __lseek64 directly.
59941         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59942         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59943         __lseek64 directly.
59944         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59945         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59946         __fxstat64 directly.
59947         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59948         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59949         unconditional.
59950         (freopen64) [!_G_OPEN64]: Remove conditional code.
59951         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59952         unconditional.
59953         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59954         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59955         unconditional.
59956         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59957         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59958         unconditional.
59959         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59960         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59961         unconditional.
59962         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59963         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59964         unconditional.
59965         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59966         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59967         unconditional.
59968         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59969         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59970         unconditional.
59971         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59973 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59975         [BZ #12140]
59976         * manual/memory.texi (Malloc Tunable Parameters): Add note
59977         about free list pointers overwriting some perturb bytes.
59978         Wording suggested by Roland McGrath.
59980 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59982         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59983         (lgamma_test): Likewise.
59984         (tgamma_test): Likewise.
59986 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59988         [BZ #14700]
59989         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59990         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59992 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59994         * NEWS: Mention BZ #14716.
59995         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59996         when removing AVAILABLE1_USES_J macro.
59998 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60000         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60001         (__bswap_64): __uint64_t for unsigned 64-bit int.
60003 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60005         * include/string.h (memmem): Declare libc hidden alias.
60006         * string/memmem.c (memmem): Define libc hidden alias.
60007         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60008         __read, __close instead of open, read, close.
60010 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60012         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60013         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60014         global and hidden.
60015         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60016         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60017         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60018         Likewise.
60019         (__rawmemchr_sse2): Likewise.
60020         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60021         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60022         (__strchr_sse2): Likewise.
60023         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60024         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60025         (__strcasecmp_sse2): Likewise.
60026         (__strncasecmp_sse2): Likewise.
60027         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60028         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60029         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60030         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60031         (__strrchr_sse2): Likewise.
60032         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60033         ifunc-impl-list.c.
60034         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60035         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60036         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60037         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60038         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60039         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60040         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60041         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60042         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60043         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60044         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60045         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60046         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60047         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60048         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60049         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60050         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60051         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60052         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60053         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60054         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60055         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60056         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60057         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60058         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60059         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60060         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60061         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60062         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60063         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60065         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60066         global and hidden.
60067         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60068         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60069         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60070         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60071         Likewise.
60072         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60073         Likewise.
60074         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60075         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60076         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60077         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60078         ifunc-impl-list.c.
60079         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60080         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60081         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60082         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60083         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60084         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60085         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60086         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60087         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60088         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60089         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60090         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60091         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60092         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60093         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60094         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60095         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60096         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60097         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60098         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60099         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60100         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60101         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60102         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60103         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60104         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60105         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60106         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60107         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60108         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60109         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60110         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60111         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60112         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60113         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60114         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60115         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60116         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60117         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60118         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60119         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60121         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60122         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60123         * include/ifunc-impl-list.h: New file.
60124         * misc/ifunc-impl-list.c: Likewise.
60125         * misc/Makefile (routines): Add ifunc-impl-list.
60126         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60127         * string/test-string.h: Include <ifunc-impl-list.h>.
60128         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60129         TEST_NAME]: New variables.
60130         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60131         are defined.
60132         (test_init): Call __libc_ifunc_impl_list to initialize
60133         func_list if TEST_IFUNC and TEST_NAME are defined.
60135         * string/Makefile (strop-tests): Add bcopy and bzero.
60136         * string/test-bcopy.c: New file.
60137         * string/test-bzero.c: Likewise.
60138         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60139         defined.
60140         * string/test-memset.c: Support bzero test if TEST_BZERO is
60141         defined.
60142         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60143         __libc_memmove.
60144         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60145         __libc_memset.
60146         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60147         of memset.
60149 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60151         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60152         * configure: Regenerated.
60154         * Makeconfig (+link-static-before-libc): Don't include
60155         $(link-static-libc).
60157         * libio/libio.h (_IO_pos_t): Remove.
60159 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60161         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60162         McGrath.
60164 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60166         * crypt/crypt-entry.c: Include fips-private.h.
60167         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60168         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60169         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60170         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60172 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60174         * crypt/crypt-private.h: Include stdbool.h.
60175         (_ufc_setup_salt_r): Return bool.
60176         * crypt/crypt-entry.c: Include errno.h.
60177         (__crypt_r): Return NULL with EINVAL for bad salt.
60178         * crypt/crypt_util.c (bad_for_salt): New.
60179         (_ufc_setup_salt_r): Check that salt is long enough and within
60180         the specified alphabet.
60181         * crypt/badsalttest.c: New file.
60182         * crypt/Makefile (tests): Add it.
60183         ($(objpfx)badsalttest): New.
60185 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60187         * NEWS: Add entry for BZ #14602.
60189 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60191         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60192         type-generic.
60193         * math/libm-test.inc: Update comment listing what functions and
60194         macros are tested.
60195         (isgreater_test): New function.
60196         (isgreaterequal_test): Likewise.
60197         (isless_test): Likewise.
60198         (islessequal_test): Likewise.
60199         (islessgreater_test): Likewise.
60200         (isunordered_test): Likewise.
60201         (main): Call the new functions.
60203 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60205         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60206         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60207         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60208         * sysdeps/i386/configure: Regenerated.
60209         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60210         * sysdeps/mach/configure: Regenerated.
60211         * sysdeps/mach/hurd/configure: Regenerated.
60212         * sysdeps/powerpc/configure: Regenerated.
60213         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60214         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60215         * sysdeps/s390/s390-32/configure: Regenerated.
60216         * sysdeps/s390/s390-64/configure: Regenerated.
60217         * sysdeps/sh/configure: Regenerated.
60218         * sysdeps/sparc/configure: Regenerated.
60219         * sysdeps/unix/sysv/linux/configure: Regenerated.
60220         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60221         * sysdeps/x86_64/configure: Regenerated.
60223         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60224         defined.  Don't check if MAP is NULL.
60226 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60228         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60229         (_G_stat64): Likewise.
60230         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60231         (_G_stat64): Likewise.
60232         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60233         instead of struct _G_stat64.
60234         * libio/fileops.c (mmap_remap_check): Likewise.
60235         (decide_maybe_mmap): Likewise.
60236         (_IO_new_file_seekoff): Likewise.
60237         (_IO_file_stat): Likewise.
60238         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60239         _G_off64_t.
60240         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60241         instead of struct _G_stat64.
60242         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60244 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60246         [BZ #14602]
60247         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60248         Replace with ...
60249         (CHECK_EOL): New macro.
60250         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60251         CHECK_EOL.
60252         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60253         Replace with CHECK_EOL.
60254         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60255         Replace with CHECK_EOL.
60257 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60259         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60260         type-generic.
60261         * math/libm-test.inc: Update comment listing what functions and
60262         macros are tested.
60263         (finite_test): New function.
60264         (isinf_test): Likewise.
60265         (isnan_test): Likewise.
60266         (fpclassify_test): Test subnormal input.
60267         (isfinite_test): Likewise.
60268         (isnormal_test): Likewise.
60269         (main): Call the new functions.
60271 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60273         [BZ #14660]
60274         * Makerules (%.dynsym): Force C locale when running
60275         $(OBJDUMP) --dynamic-syms.
60277 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60279         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60280         <stdint.h>.
60282 2012-10-06  David S. Miller  <davem@davemloft.net>
60284         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60285         upper 32-bits of the length value in %o2 since we use branch-on-register
60286         tests which consider the entire 64-bit register.
60288 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60290         * string/test-strstr.c (check2): Add a test for page boundary.
60292 2012-10-05  David S. Miller  <davem@davemloft.net>
60294         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60295         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60296         file.
60297         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60298         sysdep_routines.
60299         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60300         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60301         and bzero when HWCAP_SPARC_CRYPTO is present.
60303 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60305         [BZ #14602]
60306         * string/test-strstr.c (check2): New function.
60307         (test_main): Call check2.
60309         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60310         and bug-strchr1.
60311         * string/bug-strcasestr1.c (do_test): Moved to ...
60312         * string/test-strcasestr.c (check1): Here.  New function.
60313         (do_one_test): Break out result checking code into ...
60314         (check_result): This.  New function.
60315         (do_one_test): Call check_result.
60316         (test_main): Call check1.
60317         * string/bug-strchr1.c (do_test): Moved to ...
60318         * string/test-strchr.c (check1): Here.  New function.
60319         (do_one_test): Break out result checking code into ...
60320         (check_result): This.  New function.
60321         (do_one_test): Call check_result.
60322         (test_main): Call check1.
60323         * string/bug-strstr1.c (main): Moved to ...
60324         * string/test-strstr.c (check1): Here.  New function.
60325         (do_one_test): Break out result checking code into ...
60326         (check_result): This.  New function.
60327         (do_one_test): Call check_result.
60328         (test_main): Call check1.
60329         * string/bug-strcasestr1.c: Removed.
60330         * string/bug-strchr1.c: Likewise.
60331         * string/bug-strstr1.c: Likewise.
60333         * elf/Makefile (dl-routines): Add hwcaps.
60334         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60335         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60336         (_dl_important_hwcaps): Moved to ...
60337         * elf/dl-hwcaps.c: Here.  New file.
60338         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60340         [BZ #14557]
60341         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60342         if IS_IN_rtld isn't defined.
60344         * elf/dl-support.c (_dl_sysinfo_map): New.
60345         Include "get-dynamic-info.h" and "setup-vdso.h".
60346         (_dl_non_dynamic_init): Call setup_vdso.
60347         * elf/dynamic-link.h: Don't include <assert.h>.
60348         (elf_get_dynamic_info): Moved to ...
60349         * elf/get-dynamic-info.h: Here.  New file.
60350         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60351         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60352         * elf/setup-vdso.h: Here.  New file.
60353         * elf/rtld.c: Include "setup-vdso.h".
60354         (dl_main): Call setup_vdso.
60356 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60358         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60359         creal in comment listing functions tested.  List finite, isinf,
60360         isnan, isless, islessequal, isgreater, isgreaterequal,
60361         islessgreater, isunordered, lgamma_r and pow10 as functions and
60362         macros not tested.  Mention which functions not tested are aliases
60363         for other functions.  Fix typo.  Note that signs of NaNs are not
60364         tested.
60366         * scripts/config.guess: Update from config.git.
60367         * scripts/config.sub: Likewise.
60369 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60371         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60372         * misc/madvise.c (madvise): Renamed to __madvise.
60373         Make madvise a weak alias.
60374         * include/sys/mman.h: Declare __madvise.
60375         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60376         * sysdeps/unix/syscalls.list
60377         (madvise): Make __madvise the strong name, and madvise a weak alias.
60378         * sysdeps/unix/sysv/linux/syscalls.list
60379         (madvise, mmap): Remove redundant entries.
60380         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60381         * malloc/malloc.c (mtrim): Likewise.
60382         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60384 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60386         * sysdeps/mach/hurd/dl-cache.c: File removed.
60387         * config.h.in (USE_LDCONFIG): New #undef.
60388         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60389         * configure: Regenerated.
60390         * elf/Makefile (dl-routines): Add dl-cache only under
60391         [$(use-ldconfig) = yes].
60392         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60393         cache on [USE_LDCONFIG].
60394         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60395         [USE_LDCONFIG].
60396         * elf/rtld.c (dl_main): Likewise.
60398 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60400         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60401         _SC_LEVEL4_CACHE_LINESIZE.
60403 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60405         * sysdeps/unix/bsd/confstr.h: File removed.
60407 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60409         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60410         sys/sdt-config.h.
60412 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60414         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60415         Make 'mapoff' field ElfW(Off) rather than off_t.
60417 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60419         * nscd/Makefile: Remove nscd-cflags and all its users.
60420         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60421         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60423         [BZ #10631]
60424         * malloc.c (malloc_printerr): Clarify error message.
60426 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60428         [BZ #14648]
60429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60430         Set bit_FMA_Usable if FMA is supported.
60431         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60432         macro.
60433         (bit_FMA4_Usable): Updated.
60434         (index_FMA_Usable): New macro.
60435         (CPUID_FMA): Likewise.
60436         (HAS_FMA): Defined with bit_FMA_Usable.
60438 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60440         * bits/types.h (__swblk_t): Type removed.
60441         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60442         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60443         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60444         (__SWBLK_T_TYPE): Likewise.
60445         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60446         (__SWBLK_T_TYPE): Likewise.
60447         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60448         (__SWBLK_T_TYPE): Likewise.
60449         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60450         (__SWBLK_T_TYPE): Likewise.
60452 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60453             Honza Horak <hhorak@redhat.com>
60455         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60456         (xdr_mapname): Use YPMAXMAP as maxsize.
60457         (xdr_peername): Use YPMAXPEER as maxsize.
60458         (xdr_keydat): Use YPAXRECORD as maxsize.
60459         (xdr_valdat): Use YPMAXRECORD as maxsize.
60461 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60463         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60465         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60466         * csu/init-first.c: ... here.
60467         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60468         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60469         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60470         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60471         * sysdeps/i386/init-first.c: File removed.
60472         * sysdeps/sh/init-first.c: File removed.
60474 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60476         [BZ #14645]
60477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60478         if x * y might underflow to zero and z is zero.
60479         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60480         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60481         * math/libm-test.inc (min_subnorm_value): New variable.
60482         (fma_test): Add more tests.
60483         (fma_test_towardzero): Likewise.
60484         (fma_test_downward): Likewise.
60485         (fma_test_upward): Likewise.
60486         (initialize): Set min_subnorm_value.
60488 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60490         [BZ #14638]
60491         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60492         0 + 0.
60493         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60494         mode for addition resulting in exact zero.
60495         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60496         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60497         exact 0 + 0.
60498         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60499         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60500         * math/libm-test.inc (fma_test): Add more tests.
60501         (fma_test_towardzero): New function.
60502         (fma_test_downward): Likewise.
60503         (fma_test_upward): Likewise.
60504         (main): Call the new functions.
60506 2012-09-28  David S. Miller  <davem@davemloft.net>
60508         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60510 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60512         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60513         instead of SIGALRM.
60515         * sysdeps/gnu/_G_config.h: Moved to ...
60516         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60517         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60518         * sysdeps/generic/_G_config.h: ... here.
60520         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60522         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60524         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60525         Conditionalize target on [libnss_test1.so-version].
60527         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60529         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60530         (elfobjdir): Move out of conditionals.
60532         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60533         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60534         (__nss_lookup_function): Conditionalize label remove_from_tree on
60535         [!DO_STATIC_NSS || SHARED], matching its only use.
60537 2012-09-28  David S. Miller  <davem@davemloft.net>
60539         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60540         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60541         file.
60542         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60543         sysdep_routines.
60544         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60545         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60546         when HWCAP_SPARC_CRYPTO is present.
60548 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60550         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60552 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60554         [BZ #6530]
60555         * stdio-common/vfprintf.c (process_string_arg): Revert
60556         2000-07-22 change.
60558 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60560         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60561         for testcase.
60562         * stdio-common/tst-sprintf.c: Include <locale.h>
60563         (main): Test sprintf's handling of incomplete multibyte
60564         characters.
60566 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60568         * elf/dl-runtime.c (VERSYMIDX): Removed.
60569         * elf/dl-version.c (VERSYMIDX): Likewise.
60570         * elf/do-rel.h (VERSYMIDX): Likewise.
60571         (VALIDX): Likewise.
60572         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60573         * elf/rtld.c (VALIDX): Likewise.
60574         (ADDRIDX): Likewise.
60575         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60576         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60577         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60578         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60579         (VALIDX): Likewise.
60580         (ADDRIDX): Likewise.
60582 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60584         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60586 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60588         [BZ #11438]
60589         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60590         to global scope.
60591         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60592         addresses are in the same scope as 192.0.2/24.
60593         * posix/gai.conf: Document new scope table defaults.
60595 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60597         [BZ #5298]
60598         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60599         for ftell.  Compute offsets from write pointers instead.
60600         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60602 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60604         [BZ #14543]
60605         * libio/Makefile (tests): New test case tst-fseek.
60606         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60607         combination works in wide mode.
60608         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60609         state when the external buffer state changes.
60611 2012-09-27  David S. Miller  <davem@davemloft.net>
60613         [BZ #14376]
60614         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60615         pass reloc->r_addend in as the 'high' argument to
60616         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60620 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60622         * rt/tst-aio2.c: Include <pthread.h>.
60623         * rt/tst-aio3.c: Likewise.
60625 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60627         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60629 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60631         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60632         contents on [SHARED].
60634 2012-09-26  Marek Polacek  <polacek@redhat.com>
60636         [BZ #14530]
60637         [BZ #13741]
60638         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60639         for C++ and GCC <4.3 as well as for non GCC compilers.
60641 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60645 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60647         * Makefile.in (all, install): Declare with .PHONY.
60648         Reported by Michael Hope <michael.hope@linaro.org>.
60650 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60652         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60653         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60654         system header.
60655         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60656         Likewise.
60657         (sydep_routines): Add the new and the internal functions.
60658         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60659         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60661         (GLIBC_2.17): Add the new function.
60662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60663         (GLIBC_2.17): Likewise.
60664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60665         (GLIBC_2.17): Likewise.
60666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60667         (GLIBC_2.17): Likewise.
60668         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60670 2012-09-25  Alan Modra  <amodra@gmail.com>
60672         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60673         Add release barrier before setting once_control to say
60674         initialisation is done.  Add hints on lwarx.  Use macro in
60675         place of isync.
60676         (clear_once_control): Add release barrier.
60678 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60680         [BZ #13629]
60681         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60682         specially.
60683         * math/s_clog10.c (__clog10): Likewise.
60684         * math/s_clog10f.c (__clog10f): Likewise.
60685         * math/s_clog10l.c (__clog10l): Likewise.
60686         * math/s_clogf.c (__clogf): Likewise.
60687         * math/s_clogl.c (__clogl): Likewise.
60688         * math/Makefile (libm-calls): Add x2y2m1.
60689         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60690         (__x2y2m1): Likewise.
60691         (__x2y2m1l): Likewise.
60692         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60693         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60694         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60695         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60696         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60697         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60698         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60699         * sysdeps/i386/fpu/libm-test-ulps: Update.
60700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60702         [BZ #14621]
60703         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60704         int as type of variable DEPTH.
60705         (glob): Use size_t instead of int as type of variables NEWCOUNT
60706         and OLD_PATHC.
60708 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60710         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60711         Add s_sincosf-sse2.
60712         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60713         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60714         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60715         macros for using routine as __sincosf_ia32.
60716         Use macro for function declaration and weak_alias.
60717         * sysdeps/i386/fpu/libm-test-ulps: Update.
60719         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60722         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60723         subnormal argument.
60724         * math/s_cexpf.c (__cexpf): Likewise.
60725         * math/s_csinf.c (__csinf): Likewise.
60726         * math/s_csinhf.c (__csinhf): Likewise.
60727         * math/s_ctanf.c (__ctanf): Likewise.
60728         * math/s_ctanhf.c (__ctanhf): Likewise.
60729         * math/s_ccosh.c (__ccoshf): Likewise.
60730         * math/s_cexp.c (__cexpl): Likewise.
60731         * math/s_csin.c (__csin): Likewise.
60732         * math/s_csinh.c (__csinh): Likewise.
60733         * math/s_ctan.c (__ctan): Likewise.
60734         * math/s_ctanh.c (ctanh): Likewise.
60735         * math/s_ccoshl.c (__ccoshl): Likewise.
60736         * math/s_cexpl.c (__cexpl): Likewise.
60737         * math/s_csinl.c (__csinl): Likewise.
60738         * math/s_csinhl.c (__csinhl): Likewise.
60739         * math/s_ctanl.c (__ctanl): Likewise.
60740         * math/s_ctanhl.c (__ctanhl): Likewise.
60742 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60744         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60745         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60746         (_IO_off_t): Define to __off_t, not _G_off_t.
60747         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60748         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60749         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60750         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60751         type of __dummy and __dummy2 fields.
60752         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60753         (_G_ssize_t): Likewise.
60754         (_G_off_t): Likewise.
60755         (_G_pid_t): Likewise.
60756         (_G_uid_t): Likewise.
60757         (_G_wchar_t): Likewise.
60758         (_G_wint_t): Likewise.
60759         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60760         (_G_ssize_t): Likewise.
60761         (_G_off_t): Likewise.
60762         (_G_pid_t): Likewise.
60763         (_G_uid_t): Likewise.
60764         (_G_wchar_t): Likewise.
60765         (_G_wint_t): Likewise.
60766         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60767         (_G_ssize_t): Likewise.
60768         (_G_off_t): Likewise.
60769         (_G_pid_t): Likewise.
60770         (_G_uid_t): Likewise.
60771         (_G_wchar_t): Likewise.
60772         (_G_wint_t): Likewise.
60774 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60776         * malloc/arena.c: Include malloc-sysdep.h.
60777         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60778         is sufficient to shrink the heap or an unmap is needed.
60779         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60780         new function check_may_shrink_heap.
60781         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60782         new function check_may_shrink_heap.
60784 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60786         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60787         comments.
60789 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60791         * catgets/test-gencat.sh: Add "set -e".
60792         * elf/tst-pathopt.sh: Likewise.
60793         * grp/tst_fgetgrent.sh: Likewise.
60794         * iconvdata/run-iconv-test.sh: Likewise.
60795         * intl/tst-gettext.sh: Likewise.
60796         * intl/tst-gettext2.sh: Likewise.
60797         * intl/tst-gettext4.sh: Likewise.
60798         * intl/tst-gettext6.sh: Likewise.
60799         * intl/tst-translit.sh: Likewise.
60800         * io/ftwtest-sh: Likewise.
60801         * libio/test-freopen.sh: Likewise.
60802         * malloc/tst-mtrace.sh: Likewise.
60803         * posix/globtest.sh: Likewise.
60804         * posix/tst-getconf.sh: Likewise.
60805         * posix/wordexp-tst.sh: Likewise.
60806         * stdio-common/tst-printf.sh: Likewise.
60807         * stdio-common/tst-unbputc.sh: Likewise.
60808         * stdlib/tst-fmtmsg.sh: Likewise.
60809         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60810         * catgets/Makefile: Do not specify -e option when running
60811         testsuite shell scripts.
60812         * elf/Makefile: Likewise.
60813         * grp/Makefile: Likewise.
60814         * iconvdata/Makefile: Likewise.
60815         * intl/Makefile: Likewise.
60816         * io/Makefile: Likewise.
60817         * libio/Makefile: Likewise.
60818         * malloc/Makefile: Likewise.
60819         * posix/Makefile: Likewise.
60820         * stdio-common/Makefile: Likewise.
60821         * stdlib/Makefile: Likewise.
60822         * sysdeps/x86_64/Makefile: Likewise.
60824         * io/ftwtest-sh: Add copyright header.
60825         * posix/globtest.sh: Likewise.
60826         * posix/tst-getconf.sh: Likewise.
60827         * posix/wordexp-tst.sh: Likewise.
60828         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60830 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60832         [BZ #13679]
60833         * Makeconfig (+link): Defined as $(+link-static) if
60834         $(build-shared) isn't yes.
60835         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60836         isn't yes.
60837         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60839         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60841         [BZ #14562]
60842         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60843         new chunk size with MALLOC_ALIGN_MASK.
60845 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60847         [BZ #5044]
60848         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60849         <rounding-mode.h>.
60850         (__printf_fphex): Determine rounding using get_rounding_mode and
60851         round_away.
60852         * stdio-common/tst-printf-round.c (struct hex_test): New
60853         structure.
60854         (hex_tests): New variable.
60855         (test_hex_in_one_mode): New function.
60856         (do_test): Also run tests for hex float output.
60858 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60860         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60861         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60862         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60863         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60864         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60865         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60866         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60867         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60869 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60871         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60872         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60873         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60874         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60876 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60878         [BZ #14579]
60879         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60880         mode only.
60881         * elf/tst-rtld-load-self.sh: New test.
60882         * elf/Makefile: Run it.
60884 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60886         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60887         (tst-writev-ENV): Remove.
60888         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60890 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60892         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60894 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60896         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60897         unconditional.
60898         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60899         Likewise.
60900         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60901         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60902         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60903         Likewise.
60905 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60907         [BZ #14587]
60908         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60909         * config.make.in (have-cpp-asm-debuginfo): Removed.
60910         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60911         * configure: Regenerated.
60913 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60915         [BZ #5044]
60916         * stdio-common/printf_fp.c: Include <stdbool.h> and
60917         <rounding-mode.h>.
60918         (___printf_fp): Determine rounding using get_rounding_mode and
60919         round_away.
60920         * stdio-common/tst-printf-round.c: New file.
60921         * stdio-common/Makefile (tests): Add tst-printf-round.
60922         (link-libm): New variable.
60923         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60925 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60927         [BZ #14576]
60928         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60929         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60930         Likewise.
60931         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60932         Likewise.
60934 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60936         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60937         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60938         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60939         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60941 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60943         [BZ #14518]
60944         * include/rounding-mode.h: New file.
60945         * sysdeps/generic/get-rounding-mode.h: Likewise.
60946         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60947         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60948         (MAX_VALUE): New macro.
60949         (MIN_VALUE): Likewise.
60950         (overflow_value): New function.
60951         (underflow_value): Likewise.
60952         (round_and_return): Use overflow_value and underflow_value to
60953         determine return values in overflow and underflow cases.  Use
60954         round_away to determine rounding depending on rounding mode.
60955         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60956         determine return values in overflow and underflow cases.
60957         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60958         (struct test_results): New structure.
60959         (struct test): Use struct test_results to store expected results
60960         for all rounding modes.
60961         (TEST): Include expected results for all rounding modes.
60962         (test_in_one_mode): New function.
60963         (do_test): Use test_in_one_mode to compute and check results.
60964         Check results for all rounding modes.
60965         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60966         $(link-libm).
60968 2012-12-09  Allan McRae  <allan@archlinux.org>
60970         * sysdeps/i386/fpu/libm-test-ulps: Update
60972 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60974         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60975         (_G_int32_t): Likewise.
60976         (_G_uint16_t): Likewise.
60977         (_G_uint32_t): Likewise.
60978         (_G_HAVE_BOOL): Likewise.
60979         (_G_HAVE_ATEXIT): Likewise.
60980         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60981         (_G_HAVE_IO_FILE_OPEN): Likewise.
60982         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60983         (_G_int32_t): Likewise.
60984         (_G_uint16_t): Likewise.
60985         (_G_uint32_t): Likewise.
60986         (_G_HAVE_BOOL): Likewise.
60987         (_G_HAVE_ATEXIT): Likewise.
60988         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60989         (_G_HAVE_IO_FILE_OPEN): Likewise.
60990         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60991         (_G_int32_t): Likewise.
60992         (_G_uint16_t): Likewise.
60993         (_G_uint32_t): Likewise.
60994         (_G_HAVE_BOOL): Likewise.
60995         (_G_HAVE_ATEXIT): Likewise.
60996         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60997         (_G_HAVE_IO_FILE_OPEN): Likewise.
60999 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61001         * csu/libc-tls.c: Update copyright years.
61003 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61005         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61006         [!_G_USING_THUNKS]: Remove conditional code.
61007         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61008         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61010         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61011         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61012         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61013         (_G_VTABLE_LABEL_PREFIX): Likewise.
61014         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61015         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61016         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61017         (_G_VTABLE_LABEL_PREFIX): Likewise.
61018         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61019         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61020         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61021         (_G_VTABLE_LABEL_PREFIX): Likewise.
61022         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61024 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61026         * libio/Makefile: Include ../Makeconfig before tests.
61027         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61028         only if $(build-shared) is yes.
61030         * iconv/gconv_db.c: Update copyright years.
61032 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61034         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61035         unwind info if defined PIC. Fix special cases description.
61036         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61038         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61039         DP_HI_MASK entry.
61040         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61042 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61044         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61046         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61047         is NULL.
61049         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61050         (LDLIBS-tst-chk4): This.
61051         (LDFLAGS-tst-chk5): Renamed to ...
61052         (LDLIBS-tst-chk5): This.
61053         (LDFLAGS-tst-chk6): Renamed to ...
61054         (LDLIBS-tst-chk6): This.
61055         (LDFLAGS-tst-lfschk4): Renamed to ...
61056         (LDLIBS-tst-lfschk4): This.
61057         (LDFLAGS-tst-lfschk5): Renamed to ...
61058         (LDLIBS-tst-lfschk5): This.
61059         (LDFLAGS-tst-lfschk6): Renamed to ...
61060         (LDLIBS-tst-lfschk6): This.
61062         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61063         on $(common-objpfx)soversions.mk.
61065 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61067         [BZ #10014]
61068         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61069         example host name.
61071 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61073         * malloc/arena.c (arena_get_retry): New function that gets
61074         another arena for the caller to try its request on.
61075         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61076         current arena cannot fulfill the request.
61077         (__libc_memalign): Likewise.
61078         (__libc_memalign): Likewise.
61079         (__libc_pvalloc): Likewise.
61080         (__libc_calloc): Likewise.
61082 2012-09-05  John Tobey  <john.tobey@gmail.com>
61084         [BZ #13542]
61085         * manual/arith.texi (Operations on Complex): Fix description
61086         of carg branch cut.
61088 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61090         [BZ #10014]
61091         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61092         host name.
61094         [BZ #10038]
61095         * manual/memory.texi (Memory): Make order of menu items match
61096         order of sections.
61098 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61100         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61101         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61102         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61104 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61106         * csu/libc-tls.c (static_dtv): Renamed to ...
61107         (_dl_static_dtv): This.  Make it global.
61108         (_dl_initial_dtv): Removed.
61109         (__libc_setup_tls): Updated.
61110         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61111         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61112         DL_INITIAL_DTV.
61114 2012-09-06  Petr Machata  <pmachata@redhat.com>
61116         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61117         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61118         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61119         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61121 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61123         [BZ #14545]
61124         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61125         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61126         freeing dtv[-1].
61128 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61130         [BZ #14544]
61131         * Makeconfig (link-static-before-libc): Replace $(+prector)
61132         with $(+prectorT).
61133         (link-static-after-libc): Replace $(+postctor) with
61134         $(+postctorT).
61135         (link-bounded): Replace $(+prector)/$(+postctor) with
61136         $(+prectorT)/$(+postctorT).
61137         (+prectorT): New macro.
61138         (+postctorT): Likewise.
61140 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61142         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61143         (round_str): Handle values above the maximum for IBM long double
61144         as inexact.
61145         * stdlib/tst-strtod-round.c (tests): Regenerated.
61147 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61149         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61150         assembler flag.
61151         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61152         zarch_nohighgprs around the zarch optimized routines.
61153         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61154         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61155         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61156         for zarch.
61158 2012-09-05  David S. Miller  <davem@davemloft.net>
61160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61162         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61163         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61164         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61165         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61166         entries.
61168 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61170         * malloc/arena.c: Fold copyright years.
61171         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61173 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61175         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61177 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61179         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61181 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61183         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61184         change internal state upon failure.
61186 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61188         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61189         * malloc/memusage.c (mmap): Likewise.
61190         (mmap64, mremap): Likewise.  Adjust name in comment.
61192 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61194         * libio/fileops.c: Fix typos in comments.
61195         * libio/oldfileops.c: Likewise.
61196         * libio/wfileops.c: Likewise.
61198 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61200         [BZ #1349]
61201         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61202         (tst-malloc-usable-ENV): Set environment for test case.
61203         * malloc/hooks.c (malloc_check_get_size): New function to get
61204         requested size.
61205         * malloc/malloc.c (musable): Use malloc_check_get_size.
61206         * malloc/tst-malloc-usable.c: New test case.
61208 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61210         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61212 2012-09-05  Allan McRae  <allan@archlinux.org>
61214         [BZ #13966]
61215         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61216         determine header location.
61217         * configure: Regenerated.
61219 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61221         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61222         float format.
61223         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61224         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61225         format.
61226         (test): Regenerate.
61228 2012-09-04  David S. Miller  <davem@davemloft.net>
61230         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61231         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61232         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61234 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61236         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61237         failures.
61239         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61241 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61243         [BZ #9914]
61244         * libio/iogetdelim.c: Include <limits.h>.
61245         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61246         + len + 1 would overflow.
61248 2012-09-03  Andreas Jaeger  <aj@suse.de>
61250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61251         * sysdeps/i386/fpu/libm-test-ulps: Update.
61253 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61255         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61256         Add s_sinf-sse2, s_conf-sse2.
61258         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61259         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61260         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61261         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61263         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61264         for using routine as __sinf_ia32.
61265         Use macro for function declaration and weak_alias.
61266         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61267         for using routine as __cosf_ia32.
61268         Use macro for function declaration and weak_alias.
61270         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61271         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61273         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61274         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61277         * math/libm-test.inc (cos_test): Add more test cases.
61278         (sin_test): Likewise.
61279         (sincos_test): Likewise.
61281 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61283         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61284         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61285         hidden.
61286         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61288 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61290         [BZ #14538]
61291         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61292         first element of the GOT.
61293         (elf_machine_load_address): Return the difference between
61294         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61296 2012-09-01  Allan McRae  <allan@archlinux.org>
61298         [BZ #13412]
61299         * configure.in (AWK): Require gawk version 3.0 or later.
61300         * configure: Regenerated.
61302 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61304         * sysdeps/unix/sysv/linux/kernel-features.h
61305         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61306         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61307         [__NR_clock_getres]: Make code unconditional.
61308         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61309         (clock_getcpuclockid): Remove code left unreachable by removal of
61310         conditionals.
61311         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61312         code unconditional.
61313         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61314         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61315         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61316         Make code unconditional.
61317         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61318         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61319         * sysdeps/unix/sysv/linux/clock_settime.c
61320         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61321         conditional code.
61322         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61323         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61325 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61327         [BZ #14476]
61328         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61329         scripts/test-installation.pl.
61331         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61332         and $ld_so_version if it is set.
61334 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61336         [BZ #14516]
61337         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61338         failure if reading from procfs failed.
61339         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61341 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61343         * sysdeps/unix/sysv/linux/kernel-features.h
61344         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61345         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61346         Remove conditional code.
61347         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61348         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61349         Remove conditional code.
61350         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61351         * sysdeps/unix/sysv/linux/i386/fxstat.c
61352         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61353         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61354         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61355         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61356         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61357         * sysdeps/unix/sysv/linux/i386/lxstat.c
61358         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61359         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61360         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61361         Remove conditional code.
61362         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61363         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61364         Remove conditional code.
61365         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61366         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61367         <kernel-features.h>.
61368         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61369         Remove.
61370         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61371         Remove conditional code.
61372         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61373         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61374         Remove conditional.
61376 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61378         [BZ #5400]
61379         * NEWS: Add fixed bug number.
61381 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61383         [BZ #14519]
61384         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61385         underflowing exponent in case of negative sign.
61386         * stdlib/tst-strtod-round-data: Add more tests.
61387         * stdlib/tst-strtod-round.c (tests): Regenerated.
61389         [BZ #3479]
61390         * stdlib/strtod_l.c (NDIG): Remove.
61391         (HEXNDIG): Likewise.
61392         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61393         smallest representable value.
61394         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61395         lie within an exact representation of 1/2 ulp of the result.
61396         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61397         unconditionally.
61398         (TENS_P9_IDX): Define unconditionally.
61399         (TENS_P9_SIZE): Likewise.
61400         (TENS_P10_IDX): Likewise.
61401         (TENS_P10_SIZE): Likewise.
61402         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61403         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61404         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61405         entries for 10^2^13 and 10^2^14.
61406         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61407         (TENS_P13_IDX): Define.
61408         (TENS_P13_SIZE): Likewise.
61409         (TENS_P14_IDX): Likewise.
61410         (TENS_P14_SIZE): Likewise.
61411         (_fpioconst_pow10): Change array size to
61412         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61413         unconditional.
61414         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61415         1024]: Add entries for 10^2^13 and 10^2^14.
61416         [LAST_POW10 > _LAST_POW10]: Remove #error.
61417         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61418         (_fpioconst_pow10): Change array size to
61419         FPIOCONST_POW10_ARRAY_SIZE.
61420         * stdlib/gen-fpioconst.c: New file.
61421         * stdlib/gen-tst-strtod-round.c: Likewise.
61422         * stdlib/tst-strtod-round-data: Likewise.
61423         * stdlib/tst-strtod-round.c: Likewise.
61424         * stdlib/Makefile (tests): Add tst-strtod-round.
61426         [BZ #14459]
61427         * stdlib/strtod_l.c: Include <stdint.h>.
61428         (NDEBUG): Do not define.
61429         (round_and_return): Change EXPONENT parameter to type intmax_t.
61430         Rearrange calculations to avoid internal overflow possibilities.
61431         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61432         Rearrange calculations to avoid internal overflow possibilities.
61433         Assert that number fits inside MPNSIZE limbs.
61434         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61435         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61436         calculations and add assertions to avoid internal overflow
61437         possibilities.  Add casts to avoid signed/unsigned operations.
61438         * stdlib/tst-strtod-overflow.c: New file.
61439         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61441 2012-08-25  Marek Polacek  <polacek@redhat.com>
61443         * time/time.h: Fix some typos in comments.
61445 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61447         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61448         * posix/tst-rfc3484-2.c: Likewise.
61449         * posix/tst-rfc3484-3.c: Likewise.
61451 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61453         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61454         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61456 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61458         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61459         #include of fxstatat64.c.
61461 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61463         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61464         * shadow/getspent_r.c: Likewise.
61465         * shadow/getspnam.c: Likewise.
61466         * shadow/getspnam_r.c: Likewise.
61467         * gshadow/getsgent.c: Likewise.
61468         * gshadow/getsgent_r.c: Likewise.
61469         * gshadow/getsgnam.c: Likewise.
61470         * gshadow/getsgnam_r.c: Likewise.
61471         * inet/getnetbyad.c: Likewise.
61472         * inet/getnetbyad_r.c: Likewise.
61473         * inet/getnetbynm.c: Likewise.
61474         * inet/getnetbynm_r.c: Likewise.
61475         * inet/getnetent.c: Likewise.
61476         * inet/getnetent_r.c: Likewise.
61477         * inet/getproto.c: Likewise.
61478         * inet/getproto_r.c: Likewise.
61479         * inet/getprtent.c: Likewise.
61480         * inet/getprtent_r.c: Likewise.
61481         * inet/getprtname.c: Likewise.
61482         * inet/getprtname_r.c: Likewise.
61483         * inet/getrpcbyname.c: Likewise.
61484         * inet/getrpcbyname_r.c: Likewise.
61485         * inet/getrpcbynumber.c: Likewise.
61486         * inet/getrpcbynumber_r.c: Likewise.
61487         * inet/getrpcent.c: Likewise.
61488         * inet/getrpcent_r.c: Likewise.
61489         * inet/getaliasent.c: Likewise.
61490         * inet/getaliasent_r.c: Likewise.
61491         * inet/getaliasname.c: Likewise.
61492         * inet/getaliasname_r.c: Likewise.
61493         * nscd/getgrgid_r.c: Likewise.
61494         * nscd/getgrnam_r.c: Likewise.
61495         * nscd/gethstbyad_r.c: Likewise.
61496         * nscd/gethstbynm3_r.c: Likewise.
61497         * nscd/getpwnam_r.c: Likewise.
61498         * nscd/getpwuid_r.c: Likewise.
61499         * nscd/getsrvbynm_r.c: Likewise.
61500         * nscd/getsrvbypt_r.c: Likewise.
61501         * nscd/gai.c: Likewise.
61503         * configure.in (build_nscd): New substituted variable, set
61504         by --disable-build-nscd and defaults to $use_nscd.
61505         * configure: Regenerated.
61506         * config.make.in (build-nscd): New substituted variable.
61507         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61508         Change conditional to require [$(build-nscd) = yes] as well.
61509         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61511         [BZ# 13696]
61512         * configure.in (use_nscd): New substituted variable, set by
61513         --disable-nscd.  If enabled, define USE_NSCD.
61514         * configure: Regenerated.
61515         * config.h.in: Add USE_NSCD.
61516         * config.make.in (use-nscd): New substituted variable.
61517         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61518         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61519         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61520         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61521         (CFLAGS-getgrnam_r.c): Likewise.
61522         (CFLAGS-initgroups.c): Likewise.
61523         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61524         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61525         Variables removed.
61526         * inet/getnetgrent_r.c
61527         (nscd_setnetgrent): New function, broken out of ...
61528         (setnetgrent): ... here.  Call it.
61529         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61530         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61531         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61532         * nscd/Makefile (routines, aux): Move definitions after include of
61533         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61534         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61535         Conditionalize on [USE_NSCD].
61536         (is_nscd, nscd_init_cb): Likewise.
61537         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61538         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61539         * nss/nss_db/db-init.c: Likewise.
61540         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61541         [USE_NSCD].
61542         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61543         (make_request): Use it.
61544         (cache_valid_p): New function.
61545         (__check_pf): Use it.
61546         * NEWS: Add item for --disable-nscd.
61548 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61550         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61551         to support sed >= 4.2.1-20-ga9bf076.
61552         * configure: Regenerated.
61554 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61556         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61557         Conditionalize whole body on [IREL].
61559 2012-08-22  Jeff Law <law@redhat.com>
61561         [BZ #14505]
61562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61563         if the family is PF_UNSPEC.
61565 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61567         * Makerules (lib-version): Rename from V.
61568         (install-lib-nosubdir): Change V to lib-version.
61570 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61572         [BZ #14252]
61573         * powerpc32/power6/wcschr.c: New file.
61574         * powerpc32/power6/wcscpy.c: New file.
61575         * powerpc32/power6/wcsrchr.c: New file.
61576         * powerpc64/power6/wcschr.c: New file.
61577         * powerpc64/power6/wcscpy.c: New file.
61578         * powerpc64/power6/wcsrchr.c: New file.
61580 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61582         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61583         (two_way_short_needle): Use it.
61584         * string/strstr.c (AVAILABLE1_USES_J): Define.
61585         * string/strcasestr.c: Likewise.
61587         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61588         array references.
61589         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61591         [BZ #11607]
61592         * NEWS: Add an entry.
61593         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61594         define their defaults.
61595         (two_way_short_needle): Detect end-of-string on-the-fly.
61596         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61597         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61598         * string/bug-strcasestr1.c: New test.
61599         * string/Makefile: Run it.
61601 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61603         [BZ #11607]
61604         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61605         the first character.
61607 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61609         * csu/elf-init.c (__libc_csu_irel): Function removed.
61610         * csu/libc-start.c (apply_irel): New function.
61611         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61613 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61615         * sysdeps/unix/sysv/linux/kernel-features.h
61616         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61617         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61618         <kernel-features.h>.
61619         [__NR_fadvise64_64]: Make code unconditional.
61620         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61621         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61622         !__NR_fadvise64_64)]: Likewise.
61623         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61624         !__NR_fadvise64_64))]: Likewise.
61625         [__NR_fadvise64]: Make code unconditional.
61626         [!__NR_fadvise64]: Remove conditional code.
61627         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61628         <kernel-features.h>.
61629         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61630         unconditional.
61631         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61632         conditional code.
61633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61634         not include <kernel-features.h>.
61635         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61636         unconditional.
61637         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61638         conditional code.
61639         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61640         include <kernel-features.h>.
61641         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61642         unconditional.
61643         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61644         conditional code.
61646 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61648         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61649         slight instruction rearrangements per scrollpipe analysis.
61650         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61652 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61654         * manual/syslog.texi (syslog; vsyslog, closelog):
61655         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61656         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61658         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61659         DSOCAPS to match condition on defining it.
61661 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61663         * sysdeps/unix/sysv/linux/kernel-features.h
61664         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61666         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61667         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61669         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61670         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61672         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61673         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61675         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61676         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61678         * sysdeps/unix/sysv/linux/kernel-features.h
61679         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61680         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61681         unconditional.
61682         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61683         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61684         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61685         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61686         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61687         Make code unconditional.
61688         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61689         (__mmap64) [!__NR_mmap2]: Likewise.
61690         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61691         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61692         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61693         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61694         [__NR_mmap2]: Make code unconditional.
61695         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61696         (__mmap64) [!__NR_mmap2]: Likewise.
61698 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61700         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61702 2012-08-18  Andreas Jaeger  <aj@suse.de>
61704         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61706 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61708         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61709         * include/unistd.h (__have_sock_cloexec): Likewise.
61710         (__have_pipe2): Likewise.
61711         (__have_dup3): Likewise.
61713 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61715         [BZ #9685]
61716         * include/unistd.h (__have_pipe2): Change define into an extern int.
61717         (__have_dup3): Likewise.
61718         * socket/have_sock_cloexec.c: Include fcntl.h.
61719         (__have_pipe2): New variable.
61720         (__have_dup3): Likewise.
61722 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61724         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61726 2012-08-17  Marek Polacek  <polacek@redhat.com>
61728         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61729         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61731 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61733         * configure.in: Add AC_SUBST for sysheaders.
61734         * configure: Regenerated.
61735         * config.make.in (sysheaders): New substituted variable.
61737         * sysdeps/unix/mkfifo.c: Moved ...
61738         * sysdeps/posix/mkfifo.c: ... here.
61739         * sysdeps/unix/mkfifoat.c: Moved ...
61740         * sysdeps/posix/mkfifoat.c: ... here.
61742         * sysdeps/unix/utime.c: Moved ...
61743         * sysdeps/posix/utime.c: ... here.
61745         * sysdeps/unix/time.c: Moved ...
61746         * sysdeps/posix/time.c: ... here.
61747         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61748         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61750         * sysdeps/unix/nice.c: Moved ...
61751         * sysdeps/posix/nice.c: ... here.
61753         * sysdeps/unix/alarm.c: Moved ...
61754         * sysdeps/posix/alarm.c: ... here.
61756         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61758 2012-08-17  Jeff Law <law@redhat.com>
61760         * intl/Makefile (codeset_mo): New variable.
61761         ($(codeset_mo)): New target.
61762         (tst-codeset.out): Depend on that.  Remove explicit rule.
61763         (tst-gettext3.out, tst-gettext5.out): Likewise.
61764         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61765         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61766         * intl/tst-codeset.sh: Remove.
61767         * intl/tst-gettext3.sh: Likewise.
61768         * intl/tst-gettext5.sh: Likewise.
61770 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61772         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61773         * sysdeps/unix/syscalls.list: ... here.
61775         * sysdeps/posix/getaddrinfo.c
61776         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61777         (gaiconf_init, gaiconf_reload): Use them.
61778         [!_STATBUF_ST_NSEC]
61779         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61780         Define using time_t rather than struct timespec.
61782         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61783         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61784         Macros removed.
61785         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61786         [!NO_THREADS].
61787         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61788         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61789         Likewise.
61791         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61792         __libc_cleanup_push argument.
61794         * bits/param.h: New file.
61795         * misc/sys/param.h: New file.
61796         * include/sys/param.h: New file.
61797         * misc/Makefile (headers): Add bits/param.h.
61798         * sysdeps/generic/sys/param.h: File removed.
61799         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61800         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61801         * sysdeps/mach/hurd/bits/param.h: New file.
61802         * sysdeps/mach/hurd/sys/param.h: File removed.
61804         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61805         last change.
61807         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61808         [_IO_MTSAFE_IO].
61809         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61810         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61811         New macros.
61813         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61814         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61815         rather than -D_IO_MTSAFE_IO conditionally.
61816         * stdio-common/Makefile (CPPFLAGS): Likewise.
61817         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61818         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61819         Use $(libio-mtsafe).
61820         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61821         of -D_IO_MTSAFE_IO.
61822         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61823         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61824         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61825         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61826         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61827         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61828         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61829         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61830         (CFLAGS-fread_u_chk.c): Likewise.
61831         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61832         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61833         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61834         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61835         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61836         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61837         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61838         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61839         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61841         * libio/Makefile: Test [$(libc-reentrant) = yes]
61842         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61844         * Makeconfig
61845         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61846         * sysdeps/pthread/configure: File removed.
61847         * sysdeps/pthread/Makeconfig: New file.
61848         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61849         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61851 2012-08-16  Gary Benson  <gbenson@redhat.com>
61853         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61854         unmapping the first object in a namespace.
61856 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61858         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61859         (__internal_setnetgrent): ... this.  Add internal_function to
61860         definition.  Add libc_hidden_def.
61861         (setnetgrent): Update caller.
61862         (internal_endnetgrent): Renamed to ...
61863         (__internal_endnetgrent): ... this.  Add internal_function to
61864         definition.  Add libc_hidden_def.
61865         (endnetgrent): Update caller.
61866         (internal_getnetgrent_r): Renamed to ...
61867         (__internal_getnetgrent_r): ... this.  Add internal_function to
61868         definition.  Add libc_hidden_def.
61869         (__getnetgrent_r): Update caller.
61870         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61872 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61874         * stdlib/longlong.h: Update from GCC.
61876 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61878         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61879         on _QL, which is set by umul_ppmm but never used.
61880         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61881         variables, which are set by GMP macros but never used.
61882         * stdio-common/_itowa.c (_itowa): Likewise.
61883         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61884         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61886 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61888         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61889         struct La_sh_regs is not constant.
61890         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61891         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61892         and struct La_sparc64_regs are not constant.
61894 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61896         * sysdeps/unix/sysv/linux/kernel-features.h
61897         (__ASSUME_POSIX_TIMERS): Remove.
61898         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61899         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61900         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61901         Make code unconditional.
61902         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61903         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61904         Make code unconditional.
61905         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61906         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61907         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61908         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61909         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61910         Make code unconditional.
61911         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61912         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61913         (__libc_missing_posix_timers): Remove.
61915 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61917         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61918         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61920         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61922         * elf/dl-sym.c: Include <stdlib.h>.
61924         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61925         constants, which avoids warnings in 32-bit builds.
61927         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61928         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61930         * misc/lseek.c: File moved to ...
61931         * io/lseek.c: ... here.
61933         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61935         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61936         shifting LEN more than 31 bits at once.
61938 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61940         [BZ #14195]
61941         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61942         segmentation fault for a case of two empty input strings.
61943         * string/test-strncasecmp.c (check1): Renamed to...
61944         (bz12205): ...this.
61945         (bz14195): Add new testcase for two empty input strings and N > 0.
61946         (test_main): Call new testcase, adapt for renamed function.
61948 2012-08-15  Andreas Jaeger  <aj@suse.de>
61950         [BZ #14090]
61951         * crypt/md5test2.c: New test, based on test supplied by Serge
61952         Belyshev <belyshev@depni.sinp.msu.ru>.
61953         * crypt/Makefile (xtests): Add md5test-giant..
61954         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61956 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61958         [BZ #14090]
61959         * crypt/md5.c (md5_process_block): Don't assume the buffer
61960         length is less than 2**32.
61961         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61962         length is less than 2**64.
61964 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61966         * string/str-two-way.h: Include <sys/param.h>.
61967         (MAX): Macro removed.
61969         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61970         Move #define and #undef of memmove to just before and after
61971         including <string.h>.
61973         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61974         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61975         and after including <string.h>.  Move declarations of
61976         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61977         to before #include "string/memmove.c".
61979         * include/dirent.h: Declare __getdirentries.
61981         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61982         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61984 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61986         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61987         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61988         * sysdeps/i386/configure: Regenerated.
61989         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61990         STABS_CURRENT_FILE, and STABS_FUN.
61991         (END): Remove call to STABS_FUN_END.
61992         (STABS_CURRENT_FILE1): Delete.
61993         (STABS_CURRENT_FILE): Likewise.
61994         (STABS_FUN): Likewise.
61995         (STABS_FUN_END): Likewise.
61996         (STABS_FUN2): Likewise.
61997         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61998         * sysdeps/x86_64/configure: Regenerated.
62000 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62002         * elf/dl-open.c: Include <atomic.h>.
62003         * elf/dl-lookup.c: Likewise.
62005 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62007         * sysdeps/unix/sysv/linux/kernel-features.h
62008         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62009         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62010         unconditionally.
62011         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62012         unconditionally.
62013         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62014         condition on __ASSUME_CLONE_THREAD_FLAGS.
62016 2012-08-14  Andreas Jaeger  <aj@suse.de>
62018         * sysdeps/i386/fpu/libm-test-ulps: Update.
62020 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62022         * include/atomic.h (atomic_exchange_and_add): Split into ...
62023         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62024         New atomic macros.
62026 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62030 2012-08-13  Jeff Law <law@redhat.com>
62032         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62033         null byte in the output string.
62035 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62037         * sysdeps/unix/sysv/linux/kernel-features.h
62038         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62039         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62040         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62041         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62042         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62043         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62044         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62046 2012-08-09  Jeff Law <law@redhat.com>
62048         [BZ #13939]
62049         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62050         When avoid_arena is set, don't retry in the that arena.  Pick the
62051         next one, whatever it might be.
62052         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62053         (arena_lock): Pass in new parameter to arena_get2.
62054         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62055         arena_get2.
62056         (__libc_malloc): Unify retrying after main arena failure with
62057         __libc_memalign version.
62058         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62060 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62062         [BZ #14166]
62063         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62064         to __redirect_strstr.
62065         (__strstr_sse42): Use typeof __redirect_strstr.
62066         (__strstr_ia32): Likewise.
62067         (__libc_strstr): New prototype.
62068         (strstr): Renamed to ...
62069         (__libc_strstr): This.
62070         (strstr): New strong alias of __libc_strstr.
62071         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62072         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62073         __redirect_time.
62074         Include <time.h>.
62075         (__libc_time): New prototype.
62076         (time_ifunc): Replace time with __libc_time.
62077         (time): New strong alias and hidden definition of __libc_time.
62078         (__GI_time): Remove strong alias.
62079         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62080         Include <stddef.h>.
62081         (memmove): Redefined to __redirect_memmove.
62082         (__memmove_sse2): Use typeof __redirect_memmove.
62083         (__memmove_ssse3): Likewise.
62084         (__memmove_ssse3_back): Likewise.
62085         (__libc_memmove): New prototype.
62086         (memmove): Renamed to ...
62087         (__libc_memmove): This.
62088         (memmove): New strong alias of __libc_memmove.
62090 2012-08-08  Mark Salter  <msalter@redhat.com>
62092         * elf/elf.h
62093         (R_MN10300_TLS_GD): Define.
62094         (R_MN10300_TLS_LD): Likewise.
62095         (R_MN10300_TLS_LDO): Likewise.
62096         (R_MN10300_TLS_GOTIE): Likewise.
62097         (R_MN10300_TLS_IE): Likewise.
62098         (R_MN10300_TLS_LE): Likewise.
62099         (R_MN10300_TLS_DTPMOD): Likewise.
62100         (R_MN10300_TLS_DTPOFF): Likewise.
62101         (R_MN10300_TLS_TPOFF): Likewise.
62102         (R_MN10300_SYM_DIFF): Likewise.
62103         (R_MN10300_ALIGN): Likewise.
62104         (R_MN10300_NUM): Update.
62106 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62108         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62109         Remove.
62111 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62113         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62115         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62116         sysdeps/unix -> sysdeps/posix move.
62117         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62119 2012-08-07      Allan McRae     <allan@archlinux.org>
62121         [BZ #14303]
62122         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62123         (SUNOS_CPP): Likewise.
62124         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62125         not found.
62126         (open_input): Call CPP using execvp.
62128 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62130         * sysdeps/unix/sysv/linux/kernel-features.h
62131         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62132         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62133         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62134         (__ASSUME_WAITID_SYSCALL): Likewise.
62135         * sysdeps/unix/sysv/linux/dl-execstack.c
62136         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62137         code unconditional.
62138         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62139         conditional code.
62140         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62141         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62142         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62143         code.
62144         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62145         unconditional.
62146         [__ASSUME_WAITID_SYSCALL]: Likewise.
62147         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62149 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62151         * sysdeps/unix/closedir.c: Renamed to ...
62152         * sysdeps/posix/closedir.c: ... here.
62153         * sysdeps/unix/dirfd.c: Renamed to ...
62154         * sysdeps/posix/dirfd.c: ... here.
62155         * sysdeps/unix/dirstream.h: Renamed to ...
62156         * sysdeps/posix/dirstream.h: ... here.
62157         * sysdeps/unix/fdopendir.c: Renamed to ...
62158         * sysdeps/posix/fdopendir.c: ... here.
62159         * sysdeps/unix/opendir.c: Renamed to ...
62160         * sysdeps/posix/opendir.c: ... here.
62161         * sysdeps/unix/readdir.c: Renamed to ...
62162         * sysdeps/posix/readdir.c: ... here.
62163         * sysdeps/unix/readdir_r.c: Renamed to ...
62164         * sysdeps/posix/readdir_r.c: ... here.
62165         * sysdeps/unix/rewinddir.c: Renamed to ...
62166         * sysdeps/posix/rewinddir.c: ... here.
62167         * sysdeps/unix/seekdir.c: Renamed to ...
62168         * sysdeps/posix/seekdir.c: ... here.
62169         * sysdeps/unix/telldir.c: Renamed to ...
62170         * sysdeps/posix/telldir.c: ... here.
62171         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62172         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62173         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62174         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62176         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62177         * bits/fcntl.h: ... here.
62179         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62180         not 0.
62181         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62182         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62183         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62184         (struct flock): Move l_start, l_len to the beginning.
62185         Use __pid_t for l_pid.
62186         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62187         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62188         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62189         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62190         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62191         [__USE_LARGEFILE64] (struct flock64): New type.
62192         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62194         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62195         * bits/dirent.h: ... here.
62197         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62198         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62200 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62202         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62203         Change from 2.6.0 to 2.6.16.
62204         * sysdeps/unix/sysv/linux/configure: Regenerated.
62205         * sysdeps/unix/sysv/linux/kernel-features.h
62206         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62207         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62208         version.
62209         (__ASSUME_UTIMES): Likewise.
62210         (__ASSUME_CLONE_STOPPED): Remove.
62211         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62212         architectures, not kernel version.
62213         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62214         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62215         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62216         (__ASSUME_WAITID_SYSCALL): Likewise.
62217         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62218         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62219         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62220         refer to older versions.
62222 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62224         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62225         Define alphasort64 as an alias.
62226         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62227         Define versionsort64 as an alias.
62228         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62229         Define scandir64 as an alias.
62230         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62231         Define scandirat64 as an alias.
62232         * dirent/alphasort64.c (alphasort64):
62233         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62234         * dirent/versionsort64.c: Likewise.
62235         * dirent/scandir64.c: Likewise.
62236         * dirent/scandirat64.c: Likewise.
62237         * sysdeps/wordsize-64/alphasort.c: File removed.
62238         * sysdeps/wordsize-64/alphasort64.c: File removed.
62239         * sysdeps/wordsize-64/scandir.c: File removed.
62240         * sysdeps/wordsize-64/scandir64.c: File removed.
62241         * sysdeps/wordsize-64/scandirat.c: File removed.
62242         * sysdeps/wordsize-64/scandirat64.c: File removed.
62243         * sysdeps/wordsize-64/versionsort.c: File removed.
62244         * sysdeps/wordsize-64/versionsort64.c: File removed.
62245         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62246         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62247         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62248         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62249         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62250         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62251         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62252         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62254         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62255         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62256         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62257         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62258         [defined __arch64__ || defined __sparcv9]
62259         (__INO_T_MATCHES_INO64_T): New macro.
62260         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62261         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62262         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62263         * sysdeps/unix/sysv/linux/bits/dirent.h
62264         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62265         (_DIRENT_MATCHES_DIRENT64): New macro.
62267         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62268         Define lockf64 as an alias.
62269         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62270         Define fseeko64 as an alias.
62271         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62272         Define ftello64 as an alias.
62273         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62274         Define _IO_fgetpos64 and fgetpos64 as aliases.
62275         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62276         Define _IO_fsetpos64 and fsetpos64 as aliases.
62277         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62278         Conditionalize body on this.
62279         * libio/fseeko64.c: Likewise.
62280         * libio/ftello64.c: Likewise.
62281         * libio/iofgetpos64.c: Likewise.
62282         * libio/iofsetpos64.c: Likewise.
62283         * sysdeps/wordsize-64/lockf.c: File removed.
62284         * sysdeps/wordsize-64/lockf64.c: File removed.
62285         * sysdeps/wordsize-64/fseeko.c: File removed.
62286         * sysdeps/wordsize-64/fseeko64.c: File removed.
62287         * sysdeps/wordsize-64/ftello.c: File removed.
62288         * sysdeps/wordsize-64/ftello64.c: File removed.
62289         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62290         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62291         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62292         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62293         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62294         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62295         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62296         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62297         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62298         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62299         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62300         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62301         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62302         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62304         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62305         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62306         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62307         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62308         [defined __arch64__ || defined __sparcv9]
62309         (__OFF_T_MATCHES_OFF64_T): New macro.
62310         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62311         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62312         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62313         (__OFF_T_MATCHES_OFF64_T): New macro.
62315 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62317         * stdlib/secure-getenv.c (__secure_getenv): Replace
62318         GLIBC_2_16 with GLIBC_2_17.
62320 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62322         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62323         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62325 2012-08-03  David S. Miller  <davem@davemloft.net>
62327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62329 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62331         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62332         Remove.
62333         (__ASSUME_CORRECT_SI_PID): Likewise.
62334         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62335         (__ASSUME_TMPFS_NAME): Likewise.
62336         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62337         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62338         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62339         (HAVE_AUX_SECURE): Make definition unconditional.
62340         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62341         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62343 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62345         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62346         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62347         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62348         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62349         __eloop_threshold instead of SYMLOOP_MAX.
62351         * sysdeps/generic/eloop-threshold.h: New file.
62352         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62353         of MAXSYMLINKS.
62354         * elf/chroot_canon.c (chroot_canon): Likewise.
62356 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62358         [BZ #13717]
62359         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62360         Change to 2.6.0 everywhere.
62361         * sysdeps/unix/sysv/linux/configure: Regenerated.
62362         * sysdeps/unix/sysv/linux/kernel-features.h
62363         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62364         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62365         kernel versions.
62366         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62367         (__ASSUME_FUTEX_REQUEUE): Remove.
62368         (__ASSUME_STATFS64): Define unconditionally.
62369         (__ASSUME_AT_SECURE): Likewise.
62370         (__ASSUME_CORRECT_SI_PID): Likewise.
62371         (__ASSUME_TGKILL): Define without depending on kernel version for
62372         i386.
62373         (__ASSUME_UTIMES): Likewise.
62374         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62375         kernel version.
62376         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62377         (__ASSUME_TMPFS_NAME): Likewise.
62378         * README: Update reference to Linux kernel versions.
62380 2012-08-02  Marek Polacek  <polacek@redhat.com>
62382         [BZ# 14150]
62383         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62384         libc_cv_asm_type_prefix with %.
62385         * configure: Regenerated.
62386         * include/libc-symbols.h: Remove comment about
62387         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62388         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62389         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62390         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62391         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62392         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62393         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62394         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62395         * elf/tst-unique2mod1.c: Likewise.
62396         * elf/tst-unique1mod2.c: Likewise.
62397         * elf/tst-unique1mod1.c: Likewise.
62398         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62399         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62400         Replace ASM_TYPE_DIRECTIVE with .type.
62401         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62402         * sysdeps/i386/sysdep.h: Likewise.
62403         * sysdeps/x86_64/sysdep.h: Likewise.
62404         * sysdeps/sh/sysdep.h: Likewise.
62405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62406         Do not define ASM_TYPE_DIRECTIVE.
62407         * sysdeps/powerpc/sysdep.h: Likewise.
62408         * sysdeps/powerpc/powerpc32/sysdep.h:
62409         Replace ASM_TYPE_DIRECTIVE with .type.
62410         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62411         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62412         * sysdeps/i386/fpu/e_powf.S: Likewise.
62413         * sysdeps/i386/fpu/e_expl.S: Likewise.
62414         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62415         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62416         * sysdeps/i386/fpu/e_pow.S: Likewise.
62417         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62418         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62419         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62420         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62421         * sysdeps/i386/fpu/e_log2.S: Likewise.
62422         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62423         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62424         * sysdeps/i386/fpu/e_powl.S: Likewise.
62425         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62426         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62427         * sysdeps/i386/fpu/e_logl.S: Likewise.
62428         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62429         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62430         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62431         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62432         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62433         * sysdeps/i386/fpu/e_log.S: Likewise.
62434         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62435         * sysdeps/i386/fpu/e_logf.S: Likewise.
62436         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62437         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62438         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62439         * sysdeps/i386/fpu/e_log10.S: Likewise.
62440         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62441         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62442         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62443         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62444         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62445         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62446         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62447         * sysdeps/i386/i686/strtok.S: Likewise.
62448         * sysdeps/i386/i386-mcount.S: Likewise.
62449         * sysdeps/i386/strtok.S: Likewise.
62450         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62451         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62452         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62453         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62454         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62455         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62456         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62457         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62458         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62459         * sysdeps/x86_64/_mcount.S: Likewise.
62460         * sysdeps/x86_64/strtok.S: Likewise.
62461         * sysdeps/sh/_mcount.S: Likewise.
62463 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62465         * libio/iofopen.c: Include <fcntl.h>.
62466         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62467         (_IO_fopen64, fopen64): Define as aliases.
62468         * libio/iofopen64.c: Include <fcntl.h>.
62469         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62470         Conditionalize body on this.
62471         * sysdeps/wordsize-64/iofopen.c: File removed.
62472         * sysdeps/wordsize-64/iofopen64.c: File removed.
62474 2012-08-01  Marek Polacek  <polacek@redhat.com>
62476         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62477         Use dlfcn directly instead of a variable.
62478         (binfmt-subdir): Do not define.
62479         (dlfcn): Likewise.
62481 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62483         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62484         Remove all definitions.
62485         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62486         <kernel-features.h>.
62487         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62488         (miss_F_GETOWN_EX): Remove all definitions.
62489         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62490         macro definition.
62491         [!__ASSUME_FCNTL64]: Remove conditional code.
62492         [__ASSUME_FCNTL64]: Make code unconditional.
62493         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62494         <kernel-features.h>.
62495         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62496         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62497         (lockf64) [__NR_fcntl64]: Make code unconditional.
62498         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62500         * sysdeps/unix/sysv/linux/kernel-features.h
62501         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62502         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62503         Make code unconditional.
62504         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62505         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62507         [__NR_vfork]: Make code unconditional.
62508         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62509         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62511         [__NR_vfork]: Make code unconditional.
62512         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62513         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62515 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62517         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62518         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62520         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62521         Define mkstemp64 as an alias.
62522         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62523         Define mkstemps64 as an alias.
62524         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62525         Define mkostemp64 as an alias.
62526         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62527         Define mkostemps64 as an alias.
62528         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62529         Conditionalize body on this.
62530         * misc/mkostemp64.c: Likewise.
62531         * misc/mkostemps64.c: Likewise.
62532         * misc/mkstemps64.c: Likewise.
62533         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62534         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62535         * sysdeps/wordsize-64/mkostemp.c: File removed.
62536         * sysdeps/wordsize-64/mkstemp.c: File removed.
62537         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62538         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62539         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62540         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62542         [BZ #14138]
62543         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62544         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62545         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62546         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62548         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62549         compat_symbol macros from <shlib-compat.h> rather than the underlying
62550         default_symbol_version and symbol_version macros, so that DEFAULT
62551         lines in shlib-versions are respected.
62552         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62554 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62556         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62557         Declare with warn_unused_result.
62558         (setgid, setregid, setegid, setresgid): Likewise.
62559         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62560         Likewise.
62561         * WUR-REPORT: Remove set*id functions.
62563 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62565         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62567 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62569         [BZ #10191]
62570         * include/sys/socket.h (__libc_accept, __libc_accept4):
62571         Add attribute_hidden.
62572         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62574         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62575         use of PTR_MANGLE.
62576         * inet/getnetgrent_r.c (setup): Likewise.
62578         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62580 2012-07-31  David S. Miller  <davem@davemloft.net>
62582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62584 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62586         [BZ #13629]
62587         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62588         value between 1.0 and 2.0 and smaller part has absolute value less
62589         than 1.0.
62590         * math/s_clog10.c (__clog10): Likewise.
62591         * math/s_clog10f.c (__clog10f): Likewise.
62592         * math/s_clog10l.c (__clog10l): Likewise.
62593         * math/s_clogf.c (__clogf): Likewise.
62594         * math/s_clogl.c (__clogl): Likewise.
62595         * math/libm-test.inc (clog_test): Add more tests.
62596         (clog10_test): Likewise.
62597         * sysdeps/i386/fpu/libm-test-ulps: Update.
62598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62600 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62602         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62603         Exit with zero in case no suitable GID is found, and write a
62604         message to standard error.
62606 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62608         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62609         rather than to 1.
62610         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62611         (MAXPATHLEN): Removed.
62612         (NOGROUP, NODEV): New macros.
62613         (setbit, clrbit, isset, isclr): New macros.
62614         (howmany, roundup, powerof2): New macros.
62615         (DEV_BSIZE): New macro.
62617         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62618         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62620         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62621         definition on [!__NO_LONG_DOUBLE_MATH].
62623         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62624         PTR_MANGLE and PTR_DEMANGLE.
62626         * socket/accept4.c (accept4): Rename to __libc_accept4.
62627         Define accept4 as a weak alias.
62629         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62630         on [_DIRENT_HAVE_D_TYPE].
62631         * io/ftw.c (ftw_dir): Likewise.
62633         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62635         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62637         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62638         Use the BSD numbers rather than the arbitrary ones we had.
62639         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62640         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62641         (SIGXCPU, SIGXFSZ): New macros.
62642         (_NSIG): Now 32.
62644         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62645         initializer on [_LIBC_REENTRANT].
62647         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62648         definitions inside [_POSIX_MAPPED_FILES].
62650         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62652         * dirent/opendir.c: Include <fcntl.h>.
62654         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62655         (__libc_getspecific): Likewise.
62656         (__libc_key_create): Likewise.
62658         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62659         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62660         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62661         (tmpfile64): Define as alias.
62662         * sysdeps/wordsize-64/tmpfile.c: File removed.
62663         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62664         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62665         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62667         * stdio-common/vfscanf.c: Include <stdbool.h>.
62668         * nss/makedb.c: Likewise.
62669         * stdio-common/_i18n_number.h: Likewise.
62670         * argp/argp-help.c: Likewise.
62671         * posix/wordexp.c: Likewise.
62672         * sysdeps/posix/spawni.c: Likewise.
62673         * nss/nss_files/files-initgroups.c: Likewise.
62674         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62675         * nss/nss_files/files-initgroups.c: Likewise.
62676         * nss/nss_db/db-netgrp.c: Likewise.
62677         * nss/nss_db/db-initgroups.c: Likewise.
62678         * io/fchmodat.c: Include <sys/stat.h>.
62680         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62681         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62683         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62684         [HAVE_MMAP].
62686         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62687         Add multiple inclusion protection.
62689 2012-07-27  David S. Miller  <davem@davemloft.net>
62691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62693 2012-07-27  Gary Benson  <gbenson@redhat.com>
62695         [BZ #14298]
62696         * elf/rtld.c: Include <stap-probe.h>.
62697         (dl_main): Added static probes "init_start" and "init_complete".
62698         * elf/dl-load.c: Include <stap-probe.h>.
62699         (lose): Take new parameter "nsid".
62700         Added static probe "map_failed".
62701         (_dl_map_object_from_fd): Pass namespace id to lose.
62702         Added static probe "map_start".
62703         (open_verify): Pass namespace id to lose.
62704         * elf/dl-open.c: Include <stap-probe.h>.
62705         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62706         and "reloc_complete".
62707         * elf/dl-close.c: Include <stap-probe.h>.
62708         (_dl_close_worker): Added static probes "unmap_start" and
62709         "unmap_complete".
62710         * elf/rtld-debugger-interface.txt: New file documenting the above.
62712 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62714         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62715         rather than a string variable.
62716         * sunrpc/rpc_main.c (h_output): Likewise.
62717         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62719 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62721         * inet/check_native.c: New file.
62723 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62725         [BZ #13629]
62726         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62727         if larger part has absolute value 1.0.
62728         * math/s_clog10.c (__clog10): Likewise.
62729         * math/s_clog10f.c (__clog10f): Likewise.
62730         * math/s_clog10l.c (__clog10l): Likewise.
62731         * math/s_clogf.c (__clogf): Likewise.
62732         * math/s_clogl.c (__clogl): Likewise.
62733         * math/libm-test.inc (clog_test): Add more tests.
62734         (clog10_test): Likewise.
62735         * sysdeps/i386/fpu/libm-test-ulps: Update.
62736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62738         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62739         (pltexit): Likewise.
62740         (La_regs): Likewise.
62741         (La_retval): Likewise.
62742         (int_retval): Likewise.
62743         Update #error for removed macros to refer only to definitions in
62744         tst-audit.h.
62745         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62746         macro.
62747         (pltexit): Likewise.
62748         (La_regs): Likewise.
62749         (La_retval): Likewise.
62750         (int_retval): Likewise.
62751         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62752         macro.
62753         (pltexit): Likewise.
62754         (La_regs): Likewise.
62755         (La_retval): Likewise.
62756         (int_retval): Likewise.
62757         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62758         macro.
62759         (pltexit): Likewise.
62760         (La_regs): Likewise.
62761         (La_retval): Likewise.
62762         (int_retval): Likewise.
62763         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62764         macro.
62765         (pltexit): Likewise.
62766         (La_regs): Likewise.
62767         (La_retval): Likewise.
62768         (int_retval): Likewise.
62769         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62770         macro.
62771         (pltexit): Likewise.
62772         (La_regs): Likewise.
62773         (La_retval): Likewise.
62774         (int_retval): Likewise.
62775         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62776         macro.
62777         (pltexit): Likewise.
62778         (La_regs): Likewise.
62779         (La_retval): Likewise.
62780         (int_retval): Likewise.
62781         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62782         macro definitions in tst-audit.h.
62783         * sysdeps/i386/tst-audit.h: New file.
62784         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62785         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62786         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62787         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62788         * sysdeps/sh/tst-audit.h: Likewise.
62789         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62790         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62791         * sysdeps/x86_64/tst-audit.h: Likewise.
62793 2012-07-26  Andreas Jaeger  <aj@suse.de>
62795         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62796         ptrace.
62798         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62799         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62800         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62801         PTRACE_O_MASK.
62802         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62803         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62804         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62806         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62807         value.
62809         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62810         _sigsys.
62811         (si_call_addr, si_syscall, si_arch): Define new macro.
62812         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62813         _sigsys.
62814         (si_call_addr, si_syscall, si_arch): Define new marcro.
62815         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62816         _sigsys.
62817         (si_call_addr, si_syscall, si_arch): Define new macro.
62818         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62819         _sigsys.
62820         (si_call_addr, si_syscall, si_arch): Define new macro.
62822 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62824         [BZ #13717]
62825         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62826         Change to 2.4.21 where previously 2.4.1.
62827         * sysdeps/unix/sysv/linux/configure: Regenerated.
62828         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62829         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62830         Linux kernel version.
62831         (__ASSUME_STD_AUXV): Remove.
62832         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62833         kernel version.
62834         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62835         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62836         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62837         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62838         (__ASSUME_NETLINK_SUPPORT): Likewise.
62839         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62840         (__no_netlink_support): Remove conditional definition.
62841         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62842         Remove.
62843         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62844         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62845         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62846         (if_nameindex_ioctl): Remove.
62847         (if_nameindex_netlink): Do not handle __no_netlink_support.
62848         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62849         code.
62850         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62851         Remove conditional code.
62852         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62853         code.
62854         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62855         unconditional.
62856         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62857         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62858         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62859         Remove.
62860         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62861         [!__ASSUME_STD_AUXV]: Remove conditional code.
62862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62863         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62864         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62866         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62867         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62868         code.
62869         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62871         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62872         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62873         conditional code.
62874         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62876         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62877         code.
62878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62879         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62880         conditional code.
62881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62882         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62883         code unconditional.
62884         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62885         conditional code.
62886         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62887         unconditional.
62888         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62889         conditional code.
62890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62891         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62892         unconditional.
62893         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62894         conditional code.
62895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62896         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62897         code unconditional.
62898         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62899         conditional code.
62900         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62901         unconditional.
62902         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62903         conditional code.
62904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62905         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62906         code unconditional.
62907         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62908         conditional code.
62909         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62910         unconditional.
62911         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62912         conditional code.
62914 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62916         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62917         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62918         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62919         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62920         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62921         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62922         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62923         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62924         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62925         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62926         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62927         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62928         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62929         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62930         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62931         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62932         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62933         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62934         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62936         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62937         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62938         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62940 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62942         * Versions.def: Add GLIBC_2.17.
62943         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62944         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62945         Introduce __libc_secure_getenv.
62946         * stdlib/Versions (2.17): Add secure_getenv
62947         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62948         * stdlib/secure-getenv.c: Rename __secure_getenv to
62949         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62950         symbol __secure_getenv for GLIBC_2.0.
62951         * stdlib/tst-secure-getenv.c: New.
62952         * stdlib/Makefile (tests): Add testcase.
62953         * manual/startup.texi (Environment Access): Document
62954         secure_getenv.
62955         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62956         __libc_secure_getenv.
62957         * inet/ruserpass.c (ruserpass): Likewise.
62958         * malloc/mtrace.c (mtrace): Likewise.
62959         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62960         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62961         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62962         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62963         HAVE_SECURE_GETENV.
62964         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62965         __secure_getenv to __libc_secure_getenv.
62966         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62968         Likewise.
62969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62970         Likewise.
62971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62973         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62979 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62981         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62982         (struct La_i86_retval): Likewise.
62983         (struct La_x86_64_regs): Likewise.
62984         (struct La_x86_64_retval): Likewise.
62985         (struct La_x32_regs): Likewise.
62986         (struct La_x32_retval): Likewise.
62987         (struct La_ppc32_regs): Likewise.
62988         (struct La_ppc32_retval): Likewise.
62989         (struct La_ppc64_regs): Likewise.
62990         (struct La_ppc64_retval): Likewise.
62991         (struct La_sh_regs): Likewise.
62992         (struct La_sh_retval): Likewise.
62993         (struct La_s390_32_regs): Likewise.
62994         (struct La_s390_32_retval): Likewise.
62995         (struct La_s390_64_regs): Likewise.
62996         (struct La_s390_64_retval): Likewise.
62997         (struct La_sparc32_regs): Likewise.
62998         (struct La_sparc32_retval): Likewise.
62999         (struct La_sparc64_regs): Likewise.
63000         (struct La_sparc64_retval): Likewise.
63001         (struct audit_ifaces): Remove architecture-specific pltenter and
63002         pltexit members.
63003         * sysdeps/i386/ldsodefs.h: New file.
63004         * sysdeps/powerpc/ldsodefs.h: Likewise.
63005         * sysdeps/s390/ldsodefs.h: Likewise.
63006         * sysdeps/sh/ldsodefs.h: Likewise.
63007         * sysdeps/sparc/ldsodefs.h: Likewise.
63008         * sysdeps/x86_64/ldsodefs.h: Likewise.
63010 2012-07-25  Marek Polacek  <polacek@redhat.com>
63012         [BZ #6808]
63013         * math/libm-test.inc (yn_test): Add another test.
63014         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63015         to ERANGE when the result is +-Inf.
63016         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63017         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63018         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63019         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63021 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63023         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63024         equal to 0.
63025         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63026         clock_t.
63027         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63029 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63031         * configure.in <sysdeps resolving>: Correct printing
63032         Implies_before.
63033         * configure: Regenerate.
63035 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63037         * math/w_ilogb.c: Include <limits.h>.
63038         * math/w_ilogbl.c: Likewise.
63040 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63042         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63043         va_copy.  Document allowing for unavailable va_copy only as
63044         pre-C99 compatibility.
63045         * manual/string.texi (Copying and Concatenation): Use va_copy
63046         instead of __va_copy in concat example.
63048 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63050         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63051         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63052         it if not null.
63054         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63055         with O_NOLINK passed to __file_name_lookup.
63057         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63058         with O_NOLINK passed to __file_name_lookup.
63060         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63061         negative N or less than NGIDS.
63063         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63064         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63065         enough.  Use memcpy instead of strncpy.
63067 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63069         * elf/Makefile (check-data): Remove.
63070         (localplt.data): New vpath directive.
63071         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63072         instead of $(check-data).
63073         * scripts/data/localplt-generic.data: Move to ...
63074         * sysdeps/generic/localplt.data: ... here.
63075         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63076         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63077         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63079         ... here.
63080         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63082         ... here.
63083         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63085         ... here.
63086         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63088         ... here.
63089         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63091         ... here.
63092         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63094         ... here.
63096 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63098         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63099         PPC32 and PPC64 files.
63100         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63101         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63103 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63105         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63106         __makecontext_ret to ...
63107         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63108         ... here and call exit if uc_link is NULL.  New file.
63109         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63110         __makecontext_ret.S.
63111         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63112         __makecontext_ret to ...
63113         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63114         ... here and call exit if uc_link is NULL.  New file.
63115         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63116         __makecontext_ret.S.
63118 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63120         * elf/elf.h (R_390_IRELATIVE): New definition.
63121         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63122         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63123         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63124         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63125         (elf_machine_lazy_rel): Likewise.
63126         * sysdeps/s390/dl-irel.h: New file.
63127         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63128         * sysdeps/s390/s390-64/memset.S: New asm code.
63129         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63130         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63131         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63132         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63133         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63134         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63135         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63136         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63137         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63138         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63139         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63140         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63141         * sysdeps/s390/s390-32/memset.S: New asm code.
63142         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63144 2012-07-17  Marek Polacek  <polacek@redhat.com>
63146         [BZ #14349]
63147         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63148         * sysdeps/s390/s390-64/configure.in: Likewise.
63149         * sysdeps/sparc/configure.in: Likewise.
63150         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63151         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63152         * sysdeps/i386/configure.in: Likewise.
63153         * sysdeps/x86_64/configure.in: Likewise.
63154         * sysdeps/sh/configure.in: Likewise.
63155         * sysdeps/s390/s390-32/configure: Regenerated.
63156         * sysdeps/s390/s390-64/configure: Likewise.
63157         * sysdeps/x86_64/configure: Likewise.
63158         * sysdeps/sh/configure: Likewise.
63159         * sysdeps/powerpc/powerpc64/configure: Likewise.
63160         * sysdeps/powerpc/powerpc32/configure: Likewise.
63161         * sysdeps/sparc/configure: Likwise.
63162         * sysdeps/i386/configure: Likewise.
63164         * elf/dl-open.c: Comment fixes.
63166 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63168         * Makefile [CXX] (check-data): Remove.
63169         [CXX] (c++-types.data): New vpath directive.
63170         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63171         vpath.  Do not allow for C++ type data being missing.
63172         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63173         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63174         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63175         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63176         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63177         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63178         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63180         ... here.
63181         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63183         ... here.
63184         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63186         ... here.
63187         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63189         ... here.
63190         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63192         ... here.
63193         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63195         ... here.
63196         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63198         ... here.
63199         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63202         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63203         definitions to architecture-specific files.
63204         (TLS_IE): Likewise.
63205         (TLS_LD): Likewise.
63206         (TLS_GD): Likewise.
63207         * sysdeps/i386/tls-macros.h: New file.
63208         * sysdeps/powerpc/tls-macros.h: Likewise.
63209         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63210         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63211         * sysdeps/sh/tls-macros.h: Likewise.
63212         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63213         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63214         * sysdeps/x86_64/tls-macros.h: Likewise.
63216 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63218         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63219         zero value for regular exit case.
63221         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63222         (__start_context): Preserve zero value for regular exit case.
63224 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63225             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63227         * manual/setjmp.texi (setcontext): Clarify normal process
63228         termination when uc_link is the null pointer.
63229         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63230         exit call.
63232 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63234         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63235         preprocessor.  Test for each exception mask separately.
63237 2012-07-16  Andreas Jaeger  <aj@suse.de>
63239         * po/ru.po: Update from translation team.
63241 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63243         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63244         equal to 0.
63245         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63246         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63247         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63248         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63249         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63251 2012-07-13  Andreas Jaeger  <aj@suse.de>
63253         * po/fr.po: Update from translation team.
63255 2012-07-12  Marek Polacek  <polacek@redhat.com>
63257         [BZ #14173]
63258         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63259         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63260         loop condition.
63262 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63264         [BZ #13717]
63265         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63266         Change to 2.4.1 where previously 2.4.0.
63267         * sysdeps/unix/sysv/linux/configure: Regenerated.
63268         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63269         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63270         version.
63271         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63272         (__ASSUME_AT_CLKTCK): Remove.
63273         (__ASSUME_AT_PAGESIZE): Likewise.
63274         (__ASSUME_AT_XID): Likewise.
63275         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63276         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63277         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63278         unconditionally.
63279         (HAVE_AUX_PAGESIZE): Likewise.
63280         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63281         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63282         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63284 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63286         [BZ #14307]
63287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63288         the temporary buffer used to invoke __gethostbyname2_r,
63289         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63290         host_data / struct gaih_addrtuple.
63291         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63292         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63293         header file nss/nsswitch.h.
63294         * nss/nsswitch.h (global scope): Add definition of implementation
63295         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63296         resolv/nss_dns/dns-host.c).
63298 2012-07-11  Andreas Jaeger  <aj@suse.de>
63300         * po/fr.po: Update from translation team.
63302         * po/sv.po: Update from translation team
63303         * po/fr.po: Another update from translation team.
63305 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63307         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63308         for subnormals or multiply small sinh result by itself.
63309         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63312 2012-07-11  David S. Miller  <davem@davemloft.net>
63314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63316 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63318         [BZ #14347]
63319         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63320         (INTERNAL_MARK): Shift it here.
63322 2012-07-10  Marek Polacek  <polacek@redhat.com>
63324         [BZ #14151]
63325         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63326         libc_cv_asm_global_directive with .globl.
63327         * configure: Regenerated.
63328         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63329         with .globl.
63330         * sysdeps/i386/configure: Regenerated.
63331         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63332         with .globl.
63333         * sysdeps/x86_64/configure: Regenerated.
63334         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63335         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63336         * elf/tst-unique2mod2.c: Likewise.
63337         * elf/tst-unique2mod1.c: Likewise.
63338         * elf/tst-unique1mod2.c: Likewise.
63339         * elf/tst-unique1mod1.c: Likewise.
63340         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63341         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63342         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63343         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63344         * sysdeps/mach/sysdep.h: Likewise.
63345         * sysdeps/i386/sysdep.h: Likewise.
63346         * sysdeps/i386/i386-mcount.S: Likewise.
63347         * sysdeps/x86_64/_mcount.S: Likewise.
63348         * sysdeps/x86_64/sysdep.h: Likewise.
63349         * sysdeps/sh/_mcount.S: Likewise.
63350         * sysdeps/sh/sysdep.h: Likewise.
63351         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63352         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63353         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63354         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63355         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63356         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63357         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63358         * locale/localeinfo.h: Likewise.
63359         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63360         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63362 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63364         [BZ #14336]
63365         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63366         system".
63367         * manual/message.texi (The Uniforum approach): Likewise.
63368         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63369         (glibc iconv Implementation): Likewise.
63371 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63373         [BZ #14337]
63374         * math/s_clog.c (__clog): Avoid scaling a value down where that
63375         could result in underflow.
63376         * math/s_clog10.c (__clog10): Likewise.
63377         * math/s_clog10f.c (__clog10f): Likewise.
63378         * math/s_clog10l.c (__clog10l): Likewise.
63379         * math/s_clogf.c (__clogf): Likewise.
63380         * math/s_clogl.c (__clogl): Likewise.
63381         * math/libm-test.inc (clog_test): Add more tests.
63382         (clog10_test): Likewise.
63383         * sysdeps/i386/fpu/libm-test-ulps: Update.
63384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63386 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63388         [BZ #14283]
63389         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63390         by 7 not 8 to examine high bit of fractional part.
63392         [BZ #14042]
63393         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63394         for call to __mcount_internal.
63395         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63396         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63397         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63399 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63401         [BZ #14154]
63402         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63403         approximation for values within 0x1p-13f of an odd multiple of
63404         pi/4.
63405         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63406         exception.  Add more tests.
63407         * sysdeps/i386/fpu/libm-test-ulps: Update.
63409         [BZ #6778]
63410         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63411         inputs and return -1 for them.  Do not check for +Inf in case not
63412         reachable for +Inf.
63413         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63414         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63415         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63416         and return -1 for them.  Do not check for +Inf in case not
63417         reachable for +Inf.
63418         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63419         define.
63420         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63421         and return -1 for them.  Do not check for +Inf in case not
63422         reachable for +Inf.
63423         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63424         spurious underflow.
63425         * sysdeps/i386/fpu/libm-test-ulps: Update.
63426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63428 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63430         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63432 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63434         [BZ #14157]
63435         [BZ #14331]
63436         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63437         could result in spurious underflow.  Scale down values above
63438         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63439         * math/s_csqrtf.c (__csqrtf): Likewise.
63440         * math/s_csqrtl.c (__csqrtl): Likewise.
63441         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63442         spurious underflow.
63443         * sysdeps/i386/fpu/libm-test-ulps: Update.
63444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63446 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63448         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63449         xopen-msg.sed.
63450         * catgets/xopen-msg.awk: New file.
63451         * catgets/xopen-msg.sed: Removed.
63453         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63454         po2text.sed.
63455         * intl/po2test.awk: New file.
63456         * intl/po2test.sed: Removed.
63458 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63460         [BZ #14328]
63461         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63462         or multiply small sinh result by itself.
63463         * math/s_ctanf.c (__ctanf): Likewise.
63464         * math/s_ctanh.c (__ctanh): Likewise.
63465         * math/s_ctanhf.c (__ctanhf): Likewise.
63466         * math/s_ctanhl.c (__ctanhl): Likewise.
63467         * math/s_ctanl.c (__ctanl): Likewise.
63468         * math/libm-test.inc (ctan_test_tonearest): New function.
63469         (ctan_test_towardzero): Likewise.
63470         (ctan_test_downward): Likewise.
63471         (ctan_test_upward): Likewise.
63472         (ctanh_test_tonearest): Likewise.
63473         (ctanh_test_towardzero): Likewise.
63474         (ctanh_test_downward): Likewise.
63475         (ctanh_test_upward): Likewise.
63476         (main): Call these new functions.
63477         * sysdeps/i386/fpu/libm-test-ulps: Update.
63478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63480 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63482         * .gitignore: Delete /ports entry.
63484 2012-07-03  Andreas Jaeger  <aj@suse.de>
63486         * po/bg.po: Update from translation team.
63487         * po/cs.po: Likewise.
63488         * po/de.po: Likewise.
63489         * po/hr.po: Likewise.
63490         * po/nl.pl: Likewise.
63491         * po/pl.po: Likewise.
63492         * po/vi.po: Likewise.
63494 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63496         * Makeconfig [!+link] (+link-before-libc): New variable.
63497         [!+link] (+link-after-libc): Likewise.
63498         [!+link] (+link-tests): Likewise.
63499         [!+link] (+link): Define in terms of $(+link-before-libc) and
63500         $(+link-after-libc).
63501         [!+link-static] (+link-static-before-libc): New variable.
63502         [!+link-static] (+link-static-after-libc): Likewise.
63503         [!+link-static] (+link-static-tests): Likewise.
63504         [!+link-static] (+link-static): Define in terms of
63505         $(+link-static-before-libc) and $(+link-static-after-libc).
63506         [build-shared] (link-libc-before-gnulib): New variable.
63507         [build-shared] (link-libc-tests): Likewise.
63508         [build-shared] (link-libc): Define in terms of
63509         $(link-libc-before-gnulib).
63510         [!build-shared] (link-libc-tests): New variable.
63511         (link-libc-static-tests): New variable.
63512         [!gnulib] (gnulib-arch): New variable.
63513         [!gnulib] (gnulib-tests): Likewise.
63514         [!gnulib] (static-gnulib-arch): Likewise.
63515         [!gnulib] (static-gnulib-tests): Likewise.
63516         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63517         Define with "=" instead of ":=".
63518         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63519         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63520         * Rules (binaries-all-notests): New variable.
63521         (binaries-all-tests): Likewise.
63522         (binaries-static-notests): Likewise.
63523         (binaries-static-tests): Likewise.
63524         (binaries-all): Define using $(binaries-all-notests) and
63525         $(binaries-all-tests).
63526         (binaries-static): Define using $(binaries-static-notests) and
63527         $(binaries-static-tests).
63528         (binaries-shared-tests): New variable.
63529         (binaries-shared-notests): Likewise.
63530         (binaries-shared): Remove variable.
63531         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63532         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63533         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63534         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63535         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63536         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63537         * elf/Makefile (sln-modules): New variable.
63538         (extra-objs): Add $(sln-modules:=.o).
63539         (ldconfig-modules): Add static-stubs.
63540         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63541         * elf/static-stubs.c: New file.
63543         [BZ #14283]
63544         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63545         by 7 not 8 to examine high bit of fractional part.  Use volatile
63546         variables when splitting into final array of floats if
63547         __FLT_EVAL_METHOD__ != 0.
63548         * math/libm-test.inc (cos_test): Add another test.
63549         (sin_test): Likewise.
63550         * sysdeps/i386/fpu/libm-test-ulps: Update.
63552         [BZ #14273]
63553         * math/libm-test.inc (cosh_test): Add more tests.
63555         * version.h (RELEASE): Set to "development".
63556         (VERSION): Set to "2.16.90".
63558 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63560         * NEWS: Update copyright. Remove last-updated date.
63561         Mention math library bug fixes and timezone data changes.
63562         * README: Mention GNU/Hurd, x32, and HPPA support status.
63564 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63566         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63568 2012-06-27  Andreas Jaeger  <aj@suse.de>
63570         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63572 2012-06-25  Andreas Jaeger  <aj@suse.de>
63574         * sysdeps/s390/fpu/libm-test-ulps: Update.
63576 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63577             Thomas Schwinge  <thomas@codesourcery.com>
63579         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63580         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63581         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63582         fanotify_mark.
63584 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63586         * sysdeps/mach/start.c: Remove file.
63587         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63588         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63589         * sysdeps/sh/init-first.c: Likewise.
63591         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63592         registers for frame unwinding purposes, add CFI directives.
63593         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63594         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63595         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63596         Likewise.
63598         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63599         __fortify_fail returning.
63600         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63602         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63603         sysdeps/sh/____longjmp_chk.S.
63604         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63605         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63606         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63607         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63609         * sysdeps/sh/abort-instr.h: New file.
63610         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63611         process in case exit returns.
63613         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63614         initialize the GOT register before use.
63616         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63617         calculation of ARGC > 4.
63619         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63620         meaningful names to some local labels.
63622 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63623             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63625         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63626         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63627         (__arch_compare_and_exchange_val_16_acq): Likewise.
63628         (__arch_compare_and_exchange_val_32_acq): Likewise.
63629         (atomic_exchange_and_add): Fix gUSA sequence.
63630         (atomic_add): Likewise.
63631         (atomic_add_negative): Likewise.
63632         (atomic_add_zero): Likewise.
63633         (atomic_bit_test_set): Likewise.
63635 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63637         [BZ #13579]
63638         * include/link.h (struct link_map): Add l_free_initfini.
63639         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63640         l_initfini.
63641         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63642         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63643         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63644         set.
63646 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63648         * configure.in: Use AC_LANG_SOURCE.
63649         * configure: Regenerate.
63651 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63653         * configure.in (libc_cv_localstatedir): New substituted variable.
63654         * configure: Regenerated.
63655         * config.make.in (localstatedir): New variable, substituted from
63656         libc_cv_localstatedir.
63657         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63658         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63659         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63660         * sysdeps/gnu/configure: Regenerated.
63662 2012-06-21  Jeff Law  <law@redhat.com>
63664         [BZ #14277]
63665         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63666         free.  Simplify list management for _LIBC case.
63668 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63670         [BZ #14273]
63671         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63672         Clear sign bit of 64-bit integer value before comparing against
63673         overflow value.
63675         * sysdeps/mach/configure: Regenerated.
63677 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63679         [BZ #14278]
63680         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63682 2012-06-21  Jeff Law  <law@redhat.com>
63684         [BZ #13882]
63685         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63686         uint16_t for elements in the "seen" array to avoid char overflows.
63687         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63688         * elf/dl-open.c (dl_open_worker): Likewise.
63690 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63692         * scripts/list-sources.sh: Scan PORTS for translations.
63693         * po/libc.pot: Regenerated.
63695 2012-06-21  Andreas Jaeger  <aj@suse.de>
63697         [BZ #12194]
63698         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63699         warning.
63700         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63701         * bits/byteswap-16.h (__bswap_16): Likewise.
63702         * bits/byteswap.h (__bswap_constant_16): Likewise.
63704 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63706         [BZ #14117]
63707         * sysdeps/i386/fpu_control.h: Removed.
63708         * sysdeps/x86_64/fpu_control.h: Moved to ...
63709         * sysdeps/x86/fpu_control.h: Here.
63711         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63712         (_FPU_SETCW): Likewise.
63714 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63716         [BZ #14117]
63717         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63718         * sysdeps/x86/fpu/bits/mathinline.h: This.
63719         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63721         [BZ #14050]
63722         [BZ #14117]
63723         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63724         functions if __x86_64__ is defined.
63726 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63728         * string/endian.h: Add !__ASSEMBLER__ condition for including
63729         conversion interfaces.
63731 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63733         [BZ #14241]
63734         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63735         of ABS(x) in calculating zero to negative powers other than odd
63736         integers.
63737         * math/libm-test.inc (pow_test): Add more tests.
63739 2012-06-15  Andreas Jaeger  <aj@suse.de>
63741         * manual/contrib.texi (Contributors): Update entry of Liubov
63742         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63743         Machado Filho.
63745 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63747         * string/string.h: Add __wur to GNU version of strerror_r.
63749 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63751         [BZ #14229]
63752         * string/Makefile (tests): Add tst-strtok_r.
63753         * string/tst-strtok_r.c: New file.
63754         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63755         RAX_LP/RDX_LP on SAVE_PTR.
63757 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63759         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63761 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63763         * libm_test.inc (csqrt_test): Allow more spurious underflow
63764         exceptions.
63765         (j0_test): Likewise.
63766         (j1_test): Likewise.
63767         (y0_test): Likewise.
63768         (y1_test): Likewise.
63770 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63772         * po/Makefile (libc.pot): Use UTF-8 charset.
63774 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63776         [BZ #14210]
63777         Suppress sign-conversion warning from FD_SET.
63778         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63779         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63780         not unsigned long int.
63781         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63783 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63785         [BZ #14050]
63786         [BZ #14117]
63787         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63788         __extern_always_inline instead of __extern_inline.
63789         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63790         (__signbit): Likewise.
63791         (__signbitl): Support C++ namespace.
63792         (lrintf): New inline function.
63793         (lrint): Likewise.
63794         (llrintf): Likewise.
63795         (llrint): Likewise.
63796         (fmaxf): Likewise.
63797         (fmax): Likewise.
63798         (fminf): Likewise.
63799         (fmin): Likewise.
63800         (rint): Likewise.
63801         (rintf): Likewise.
63802         (ceil): Likewise.
63803         (ceilf): Likewise.
63804         (floor): Likewise.
63805         (floorf): Likewise.
63806         (nearbyint): Likewise.
63807         (nearbyintf): Likewise.
63809 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63811         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63812         non-default versions.
63814 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63816         [BZ #14218]
63817         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63819 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63821         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63822         (FE_UPWARD, FE_DOWNWARD): Don't define.
63823         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63824         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63826         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63827         reading it.
63828         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63829         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63831 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63833         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63834         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63835         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63836         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63838 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63840         [BZ #14117]
63841         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63842         * sysdeps/i386/fpu/Implies: New file.
63843         * sysdeps/x86_64/fpu/Implies: Likewise.
63844         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63845         * sysdeps/x86/fpu/bits/fenv.h: This.
63847         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63848         __SSE_MATH__.
63850 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63852         [BZ #14134]
63853         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63854         character 0xffff that matches the last element of the
63855         conversion table.
63857 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63859         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63860         fmodl commit.
63862 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63864         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63865         values higher than 25.6283.
63867 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63869         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63870         subnormal exponent extraction and add some __builtin_expect.
63871         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63872         Fix for subnormal mantissa calculation.
63874 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63876         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63877         cpu2 is -1 and errno is not ENOSYS.
63879 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63881         [BZ #14117]
63882         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63883         * sysdeps/x86/bits/string.h: This.
63884         * sysdeps/x86_64/bits/string.h: Removed.
63886         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63887         if not compiling for x86-64, but compiling for >= i486.
63889         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63890         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63892         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63893         New macro from Linux kernel 3.4.0.
63894         (FP_XSTATE_MAGIC2): Likewise.
63895         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63896         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63897         (struct _fpx_sw_bytes): New struct.
63898         (struct _xsave_hdr): Likewise.
63899         (struct _ymmh_state): Likewise.
63900         (struct _xstate): Likewise.
63902         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63903         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63904         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63905         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63906         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63907         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63909         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63910         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63911         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63912         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63913         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63914         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63916 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63918         [BZ #13743]
63919         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63920         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63921         (sysdep_headers): Include sys/platform/ppc.h.
63922         * sysdeps/powerpc/test-gettimebase.c: Test for
63923         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63924         * manual/Makefile (appendices): Include platform.texi.
63925         * manual/contrib.texi (Contributors): Update @node pointers.
63926         * manual/maint.texi (Maintenance): Likewise.
63927         (Platform): New node.
63928         * manual/platform.texi: New file.  Document the new features.
63930 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63931             Jakub Jelinek  <jakub@redhat.com>
63933         [BZ #14188]
63934         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63935         where __builtin_expect is unavailable.
63937 2012-06-03  David S. Miller  <davem@davemloft.net>
63939         * stdlib/longlong.h: Updated from GCC.
63941 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63943         [BZ #14042]
63944         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63945         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63946         __mcount_internal.
63947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63948         (GLIBC_2.16): Likewise.
63950 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63952         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63954 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63957         (default-abi): New variable.
63958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63959         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63960         variable.
63961         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63962         Likewise.
63963         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63964         Likewise.
63965         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63966         Likewise.
63968         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63969         definition.  Document in comment.
63971 2012-06-01  David S. Miller  <davem@davemloft.net>
63973         * stdlib/longlong.h: Updated from GCC.
63975 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63977         [BZ #14117]
63978         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63979         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63980         sys/debugreg.h sys/io.h here.
63981         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63982         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63983         sys/io.h.
63984         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63985         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63986         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63987         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63988         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63989         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63991         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63992         Define only if __x86_64__ is defined.
63994 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63996         [BZ #14048]
63997         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63998         Use int64_t for variable i.
63999         * math/libm-test.inc (fmod_test): Add more tests.
64001         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64002         z computation is not scheduled after fetestexcept.
64003         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64004         Use math_force_eval instead of asm to ensure calculation scheduled
64005         before exception test.
64006         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64007         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64009 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64011         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64012         computation is not scheduled after fetestexcept.
64014 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64016         [BZ #14117]
64017         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64018         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64020 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64022         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64023         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64025 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64027         [BZ #14117]
64028         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64029         <bits/wordsize.h>.
64030         (__WCHAR_MIN): Support __WORDSIZE == 64.
64031         (__WCHAR_MAX): Likewise.
64033         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64034         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64036         [BZ #14183]
64037         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64038         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64040         [BZ #14117]
64041         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64042         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64044         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64045         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64047         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64048         Defined to 1 if __x86_64__ isn't defined.
64049         (_STAT_VER_LINUX_OLD): New.
64050         (st_atime): Remove duplicate.
64051         (st_mtime): Likewise.
64052         (st_ctime): Likewise.
64054 2012-05-31  David S. Miller  <davem@davemloft.net>
64056         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64057         entries.
64059 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64061         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64062         gen-libm-test.pl.
64064         [BZ #14132]
64065         * elf/dl-reloc.c: Include <_itoa.h>.
64066         (_dl_reloc_bad_type): Remove use of INTUSE.
64067         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64068         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64069         * stdio-common/psiginfo.c (psiginfo): Likewise.
64070         * stdio-common/psignal.c (psignal): Likewise.
64071         * string/strsignal.c (strsignal): Likewise.
64072         * include/signal.h (_sys_siglist): Declare hidden proto.
64073         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64074         INTVARDEF with libc_hidden_data_def.
64075         * stdio-common/itoa-udigits.c: Likewise.
64076         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64077         (_itoa_lower_digits_internal): Remove declaration.
64078         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64079         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64080         (_sys_sigabbrev_internal): Remove aliases.
64081         (_sys_siglist): Define hidden alias.
64083 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64085         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64086         bits/sysctl.h.
64088 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64090         [BZ #14117]
64091         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64092         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64094         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64095         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64096         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64097         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64098         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64099         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64101         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64102         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64103         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64105         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64106         with __addr.
64107         (insw): Likewise.
64108         (insl): Likewise.
64109         (outsb): Likewise.
64110         (outsw): Likewise.
64111         (outsl): Likewise.
64113         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64114         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64115         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64117         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64118         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64119         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64120         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64121         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64122         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64124         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64125         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64127         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64128         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64130         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64131         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64132         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64134         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64135         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64136         to ...
64137         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64139         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64140         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64141         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64143         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64144         for x86-64.
64145         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64147 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64149         * math/math.h (M_El): Use two more decimal places.
64150         (M_LOG2El): Likewise.
64151         (M_LOG10El): Likewise.
64152         (M_LN2l): Likewise.
64153         (M_LN10l): Likewise.
64154         (M_PIl): Likewise.
64155         (M_PI_2l): Likewise.
64156         (M_PI_4l): Likewise.
64157         (M_1_PIl): Likewise.
64158         (M_2_PIl): Likewise.
64159         (M_2_SQRTPIl): Likewise.
64160         (M_SQRT2l): Likewise.
64161         (M_SQRT1_2l): Likewise.
64163 2012-05-31  David S. Miller  <davem@davemloft.net>
64165         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64166         values between float registers.
64167         * sysdeps/sparc/sparc64/memset.S: Likewise.
64168         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64170 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64172         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64173         -D_FORTIFY_SOURCE=1.
64174         (CPPFLAGS-tst-longjmp_chk.c): Define.
64175         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64176         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64177         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64178         CFLAGS-tst-wchar-h.c.
64180 2012-05-31  Marek Polacek  <polacek@redhat.com>
64182         [BZ #14132]
64183         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64184         __endmntent_internal): Remove declaration.
64185         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64186         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64187         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64189 2012-05-30  David S. Miller  <davem@davemloft.net>
64191         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64192         (___Q_simulate_exceptions): Use real FP ops rather than writing
64193         into the %fsr.
64194         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64195         Likewise.
64197 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64199         [BZ #14117]
64200         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64201         * sysdeps/x86/bits/xtitypes.h: This.
64203         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64204         * sysdeps/x86/bits/wordsize.h: This.
64206         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64207         * sysdeps/x86/bits/huge_vall.h: This.
64209         * sysdeps/i386/bits/select.h: Removed.
64210         * sysdeps/x86_64/bits/select.h: Renamed to ...
64211         * sysdeps/x86/bits/select.h: This.
64213         * sysdeps/i386/bits/setjmp.h: Removed.
64214         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64215         * sysdeps/x86/bits/setjmp.h: This.
64217         * sysdeps/i386/bits/mathdef.h: Removed.
64218         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64219         * sysdeps/x86/bits/mathdef.h: This.
64221 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64223         [BZ #14132]
64224         * include/sys/socket.h (__connect_internal)
64225         (__libc_sa_len_internal): Remove declaration.
64226         (__connect, __libc_sa_len): Declare hidden_proto.
64227         (SA_LEN): Remove use of INTUSE.
64228         * socket/connect.c: Add libc_hidden_def.
64229         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64230         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64231         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64232         alias.
64233         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64234         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64235         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64236         of adding _internal alias.
64238 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64240         [BZ #14117]
64241         * sysdeps/i386/bits/link.h: Removed.
64242         * sysdeps/i386/bits/linkmap.h: Likewise.
64243         * sysdeps/x86_64/bits/link.h: Renamed to ...
64244         * sysdeps/x86/bits/link.h: This.
64245         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64246         * sysdeps/x86/bits/linkmap.h: This.
64248         * sysdeps/i386/bits/endian.h: Removed.
64249         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64250         * sysdeps/x86/bits/endian.h: This.
64252         * sysdeps/i386/bits/byteswap.h: Removed.
64253         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64254         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64255         * sysdeps/x86/bits/byteswap.h: This.
64256         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64257         * sysdeps/x86/bits/byteswap-16.h: This.
64258         * sysdeps/i386/Implies: Add x86.
64259         * sysdeps/x86_64/Implies: Likewise.
64261 2012-05-30  David S. Miller  <davem@davemloft.net>
64263         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64264         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64265         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64266         (FP_TRAPPING_EXCEPTIONS): Define.
64267         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64268         (FP_TRAPPING_EXCEPTIONS): Define.
64269         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64270         subnormals only when inexact has been signalled or underflow
64271         exceptions are enabled.
64272         (_FP_PACK_CANONICAL): Likewise.
64274 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64276         [BZ #14183]
64277         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64278         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64280 2012-05-30  Richard Henderson  <rth@twiddle.net>
64282         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64283         with #ifndef NOT_IN_libc.
64285         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64286         marked to avoid plt entry.
64288 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64290         [BZ #14112]
64291         * Makeconfig (default-abi): New macro.
64292         (abi-includes): Likewise.
64293         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64294         $(abi-$(default-abi)-lib-soname) for soname if defined.
64295         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64296         abi-variants.
64297         * Makefile (installed-stubs): Likewise.
64298         * include/stubs-biarch.h: Removed.
64299         * scripts/lib-names.awk: Only handle one library at a time.
64300         * scripts/soversions.awk: Remove WORDSIZE support.
64301         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64302         entries.
64303         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64304         Removed.
64305         (syscall-list-default-condition): Likewise.
64306         (syscall-list-default-condition): Likewise.
64307         (syscall-list-includes): Likewise.
64308         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64309         syscall-list-* with abi-*.  Handle undefined abi-variants.
64310         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64311         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64312         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64313         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64314         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64315         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64316         Removed.
64317         (syscall-list-32-options): Likewise.
64318         (syscall-list-32-condition): Likewise.
64319         (syscall-list-64-options): Likewise.
64320         (syscall-list-64-condition): Likewise.
64321         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64322         macro.
64323         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64324         Renamed to ...
64325         (abi-*): This.
64326         (abi-64-ld-soname): New macro.
64327         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64328         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64329         Renamed to ...
64330         (abi-*): This.
64331         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64332         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64334 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64336         * sysdeps/unix/sysv/linux/kernel-features.h
64337         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64338         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64339         include <kernel-features.h>.
64340         [!__NR_ftruncate64]: Remove conditional code.
64341         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64342         [__NR_ftruncate64]: Make code unconditional.
64343         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64344         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64345         include <kernel-features.h>.
64346         [!__NR_ftruncate64]: Remove conditional code.
64347         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64348         [__NR_ftruncate64]: Make code unconditional.
64349         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64351         include <kernel-features.h>.
64352         [!__NR_ftruncate64]: Remove conditional code.
64353         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64354         [__NR_ftruncate64]: Make code unconditional.
64355         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64357         include <kernel-features.h>.
64358         [!__NR_ftruncate64]: Remove conditional code.
64359         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64360         [__NR_ftruncate64]: Make code unconditional.
64361         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64363         * configure.in (libc_cv_fpie): Weaken to a compile test using
64364         LIBC_TRY_CC_OPTION.
64365         * configure: Regenerated.
64367 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64373         Refreshed.
64374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64380         Refreshed.
64382 2012-05-27  David S. Miller  <davem@davemloft.net>
64384         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64385         (___Q_zero): New.
64386         (__Q_simulate_exceptions): Return void.  Change to simulate
64387         exceptions by writing into the %fsr.
64388         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64389         (__Qp_handle_exceptions): Likewise.
64390         (numbers): Delete.
64391         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64392         __Qp_handle_exceptions.
64393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64394         __Qp_handle_exceptions.
64395         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64396         as unused and give dummy FP_RND_NEAREST initializer.
64397         (FP_INHIBIT_RESULTS): Define.
64398         (___Q_simulate_exceptions): Update declaration.
64399         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64400         formatting.
64401         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64402         as unused and give dummy FP_RND_NEAREST initializer.
64403         (__Qp_handle_exceptions): Update declaration.
64404         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64405         formatting.
64407 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64409         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64410         the temporary FPU control word.
64411         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64412         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64413         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64414         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64415         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64416         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64417         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64418         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64419         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64420         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64421         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64423 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64425         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64426         fields.
64428 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64430         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64431         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64432         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64433         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64434         Likewise.
64435         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64436         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64437         Likewise.
64439 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64441         * po/h.po: Update from translation team.
64443 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64445         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64447         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64448         handling of denormals.
64449         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64450         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64451         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64452         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64453         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64454         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64455         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64456         Likewise.
64458 2012-05-26  Marek Polacek  <polacek@redhat.com>
64460         [BZ #14152]
64461         * math/libm-test.inc (fma_test): Don't always expect underflow
64462         exception.
64464 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64466         [BZ #12416]
64467         * elf/tst-execstack.c: Include stackinfo.h.
64468         (do_test): Adjust test case to ensure that pthread_getattr_np
64469         behaviour remains the same after marking stack executable.
64471 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64473         * sysdeps/unix/sysv/linux/kernel-features.h
64474         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64475         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64476         kernel-features.h.
64477         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64478         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64479         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64480         kernel-features.h.
64481         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64482         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64484 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64486         * configure.in: Define the default includes to being none.
64487         * configure: Regenerated.
64489 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64491         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64492         * sysdeps/x86_64/setjmp.S: Likewise.
64493         * sysdeps/i386/bsd-setjmp.S: Likewise.
64494         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64495         * sysdeps/i386/setjmp.S: Likewise.
64496         * sysdeps/i386/__longjmp.S: Likewise.
64497         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64498         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64500         * include/stap-probe.h: New file.
64501         * configure.in: Handle --enable-systemtap.
64502         * configure: Regenerated.
64503         * config.h.in (USE_STAP_PROBE): New #undef.
64504         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64505         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64506         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64508 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64510         [BZ #13717]
64511         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64512         to 2.4.0 where earlier.
64513         * sysdeps/unix/sysv/linux/configure: Regenerated.
64514         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
64523         [__ASSUME_32BITUIDS]: Make code unconditional.
64524         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64525         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64526         <kernel-features.h>.
64527         [__ASSUME_32BITUIDS]: Make code unconditional.
64528         [!__ASSUME_32BITUIDS]: Remove conditional code.
64529         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64530         <kernel-features.h>.
64531         [__ASSUME_32BITUIDS]: Make code unconditional.
64532         [!__ASSUME_32BITUIDS]: Remove conditional code.
64533         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64534         <kernel-features.h>.
64535         [__ASSUME_32BITUIDS]: Make code unconditional.
64536         [!__ASSUME_32BITUIDS]: Remove conditional code.
64537         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64538         <kernel-features.h>.
64539         [__ASSUME_32BITUIDS]: Make code unconditional.
64540         [!__ASSUME_32BITUIDS]: Remove conditional code.
64541         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64542         <kernel-features.h>.
64543         [__ASSUME_32BITUIDS]: Make code unconditional.
64544         [!__ASSUME_32BITUIDS]: Remove conditional code.
64545         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64546         <kernel-features.h>.
64547         [__ASSUME_32BITUIDS]: Make code unconditional.
64548         [!__ASSUME_32BITUIDS]: Remove conditional code.
64549         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64550         <kernel-features.h>.
64551         [__ASSUME_32BITUIDS]: Make code unconditional.
64552         [!__ASSUME_32BITUIDS]: Remove conditional code.
64553         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64554         <kernel-features.h>.
64555         [__ASSUME_32BITUIDS]: Make code unconditional.
64556         [!__ASSUME_32BITUIDS]: Remove conditional code.
64557         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64558         <kernel-features.h>.
64559         [__ASSUME_32BITUIDS]: Make code unconditional.
64560         [!__ASSUME_32BITUIDS]: Remove conditional code.
64561         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64562         <kernel-features.h>.
64563         [__ASSUME_32BITUIDS]: Make code unconditional.
64564         [!__ASSUME_32BITUIDS]: Remove conditional code.
64565         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64566         <kernel-features.h>.
64567         [__NR_setresgid] (__setresgid): Do not declare.
64568         [__ASSUME_32BITUIDS]: Make code unconditional.
64569         [!__ASSUME_32BITUIDS]: Remove conditional code.
64570         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64571         <kernel-features.h>.
64572         [__NR_setresuid] (__setresuid): Do not declare.
64573         [__ASSUME_32BITUIDS]: Make code unconditional.
64574         [!__ASSUME_32BITUIDS]: Remove conditional code.
64575         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64576         <kernel-features.h>.
64577         [__ASSUME_32BITUIDS]: Make code unconditional.
64578         [!__ASSUME_32BITUIDS]: Remove conditional code.
64579         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64580         <kernel-features.h>.
64581         [__ASSUME_32BITUIDS]: Make code unconditional.
64582         [!__ASSUME_32BITUIDS]: Remove conditional code.
64583         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64584         <kernel-features.h>.
64585         [__ASSUME_32BITUIDS]: Make code unconditional.
64586         [!__ASSUME_32BITUIDS]: Remove conditional code.
64587         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64588         <kernel-features.h>.
64589         [__ASSUME_32BITUIDS]: Make code unconditional.
64590         [!__ASSUME_32BITUIDS]: Remove conditional code.
64591         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64592         <kernel-features.h>.
64593         [__ASSUME_32BITUIDS]: Make code unconditional.
64594         [!__ASSUME_32BITUIDS]: Remove conditional code.
64595         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64596         <kernel-features.h>.
64597         [__ASSUME_32BITUIDS]: Make code unconditional.
64598         [!__ASSUME_32BITUIDS]: Remove conditional code.
64599         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64600         <kernel-features.h>.
64601         [__ASSUME_32BITUIDS]: Make code unconditional.
64602         [!__ASSUME_32BITUIDS]: Remove conditional code.
64603         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64604         <kernel-features.h>.
64605         [__ASSUME_32BITUIDS]: Make code unconditional.
64606         [!__ASSUME_32BITUIDS]: Remove conditional code.
64607         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64608         <kernel-features.h>.
64609         [__ASSUME_32BITUIDS]: Make code unconditional.
64610         [!__ASSUME_32BITUIDS]: Remove conditional code.
64611         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64612         <kernel-features.h>.
64613         [__ASSUME_32BITUIDS]: Make code unconditional.
64614         [!__ASSUME_32BITUIDS]: Remove conditional code.
64615         * sysdeps/unix/sysv/linux/kernel-features.h
64616         (__ASSUME_SETRESUID_SYSCALL): Remove.
64617         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64618         (__ASSUME_32BITUIDS): Likewise.
64619         (__ASSUME_LDT_WORKS): Likewise.
64620         (__ASSUME_O_DIRECTORY): Likewise.
64621         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64622         architecture but not kernel version.
64623         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64624         (__ASSUME_MMAP2_SYSCALL): Likewise.
64625         (__ASSUME_STAT64_SYSCALL): Likewise.
64626         (__ASSUME_IPC64): Likewise.
64627         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64628         <kernel-features.h>.
64629         [__ASSUME_32BITUIDS]: Make code unconditional.
64630         [!__ASSUME_32BITUIDS]: Remove conditional code.
64631         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64632         <kernel-features.h>.
64633         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64634         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64635         132096]: Remove conditional code.
64636         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64637         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64638         <kernel-features.h>.
64639         [__ASSUME_32BITUIDS]: Make code unconditional.
64640         [!__ASSUME_32BITUIDS]: Remove conditional code.
64641         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64642         <kernel-features.h>.
64643         [__ASSUME_32BITUIDS]: Make code unconditional.
64644         [!__ASSUME_32BITUIDS]: Remove conditional code.
64645         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64646         <kernel-features.h>.
64647         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64648         unconditional.
64649         (__setresgid): Do not declare.
64650         [__ASSUME_32BITUIDS]: Make code unconditional.
64651         [!__ASSUME_32BITUIDS]: Remove conditional code.
64652         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64653         <kernel-features.h>.
64654         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64655         unconditional.
64656         (__setresuid): Do not declare.
64657         [__ASSUME_32BITUIDS]: Make code unconditional.
64658         [!__ASSUME_32BITUIDS]: Remove conditional code.
64659         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64660         <kernel-features.h>.
64661         [__ASSUME_32BITUIDS]: Make code unconditional.
64662         [!__ASSUME_32BITUIDS]: Remove conditional code.
64663         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64664         <kernel-features.h>.
64665         [__ASSUME_32BITUIDS]: Make code unconditional.
64666         [!__ASSUME_32BITUIDS]: Remove conditional code.
64668 2012-05-25  Richard Henderson  <rth@twiddle.net>
64670         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64671         dl_hwcap to ifunc resolver.
64672         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64673         elf_ifunc_invoke.
64674         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64675         dl_hwcap to ifunc resolver.
64676         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64678 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64680         [BZ #14153]
64681         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64682         for |x| <= 2**-26, not 2**-57.
64683         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64684         exception.
64686 2012-05-24  Jeff Law  <law@redhat.com>
64688         * stdio-common/Makefile (tests): Add bug25.
64689         * stdio-common/bug25.c: New test.
64691 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64693         [BZ #13576]
64694         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64695         multiple of MALLOC_ALIGNMENT in size.
64696         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64698 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64700         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64701         Require >= 256.
64702         (FILENAME_MAX): Use macro-int-constant.
64703         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64704         (_IOFBF): Use macro-int-constant.
64705         (_IOLBF): Likewise.
64706         (_IONBF): Likewise.
64707         (SEEK_CUR): Likewise.
64708         (SEEK_END): Likewise.
64709         (SEEK_SET): Likewise.
64710         (TMP_MAX): Likewise.
64711         (EOF): Use macro-int-constant.  Require < 0.
64712         (NULL): Use macro-constant.  Require == 0.
64713         (stdin): Require type to be FILE *.
64714         (stdout): Likewise.
64715         (stderr): Likewise.
64716         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64717         macro-int-constant.
64718         (EXIT_SUCCESS): Likewise.
64719         (NULL): Use macro-constant.  Require == 0.
64720         (RAND_MAX): Use macro-int-constant.
64721         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64722         [C99-based standards] (strtof): Require function.
64723         [C99-based standards] (strtold): Likewise.
64724         [C99-based standards] (strtoll): Likewise.
64725         [C99-based standards] (strtoull): Likewise.
64726         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64727         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64728         [ISO || ISO99 || ISO11] (math.h): Likewise.
64729         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64730         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64731         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64733 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64735         [BZ #14132]
64736         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64737         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64738         * intl/dgettext.c (DCGETTEXT): Likewise.
64739         * intl/gettext.c (DCGETTEXT): Likewise.
64740         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64741         * posix/regex_internal.h (gettext): Likewise.
64742         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64743         Remove declaration.
64744         * include/argz.h (__argz_count_internal)
64745         (__argz_stringify_internal): Remove declaration.
64746         (__argz_count, __argz_stringify): Declare hidden proto.
64747         * intl/dcgettext.c: Remove use of INTDEF.
64748         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64749         * string/argz-stringify.c: Likewise.
64750         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64751         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64752         Declare hidden proto.
64753         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64754         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64755         Declare hidden proto.
64756         * include/stdio.h (__asprintf_internal): Don't declare.
64757         (__asprintf): Don't define as macro.  Declare hidden proto.
64758         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64759         (__fsetlocking): Declare hidden proto.
64760         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64761         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64762         hidden proto.
64763         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64764         (_IO_setlinebuf): Remove use of INTUSE.
64765         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64766         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64767         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64768         Remove declaration.
64769         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64770         (_IO_do_flush): Remove use of INTUSE.
64771         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64772         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64773         (_IO_adjust_column, _IO_least_wmarker)
64774         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64775         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64776         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64777         (_IO_default_doallocate, _IO_wdefault_doallocate)
64778         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64779         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64780         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64781         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64782         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64783         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64784         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64785         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64786         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64787         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64788         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64789         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64790         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64791         proto.
64792         (_IO_flush_all_internal, _IO_adjust_column_internal)
64793         (_IO_default_uflow_internal, _IO_default_finish_internal)
64794         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64795         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64796         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64797         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64798         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64799         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64800         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64801         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64802         (_IO_file_close_internal, _IO_file_close_it_internal)
64803         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64804         (_IO_file_init_internal, _IO_file_attach_internal)
64805         (_IO_file_fopen_internal, _IO_file_read_internal)
64806         (_IO_file_sync_internal, _IO_file_seek_internal)
64807         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64808         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64809         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64810         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64811         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64812         (_IO_list_all_internal, _IO_link_in_internal)
64813         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64814         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64815         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64816         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64817         (_IO_do_write_internal, _IO_padn_internal)
64818         (_IO_getline_info_internal, _IO_getline_internal)
64819         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64820         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64821         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64822         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64823         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64824         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64825         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64826         with libc_hidden_ver, remove use of INTUSE.
64827         * libio/genops.c: Likewise.
64828         * libio/freopen.c: Likewise.
64829         * libio/freopen64.c: Likewise.
64830         * libio/iofclose.c: Likewise.
64831         * libio/iofdopen.c: Likewise.
64832         * libio/iofflush.c: Likewise.
64833         * libio/iofflush_u.c: Likewise.
64834         * libio/iofgets.c: Likewise.
64835         * libio/iofgets_u.c: Likewise.
64836         * libio/iofopen.c: Likewise.
64837         * libio/iofopncook.c: Likewise.
64838         * libio/iofread.c: Likewise.
64839         * libio/iofread_u.c: Likewise.
64840         * libio/ioftell.c: Likewise.
64841         * libio/iofwrite.c: Likewise.
64842         * libio/iogetline.c: Likewise.
64843         * libio/iogets.c: Likewise.
64844         * libio/iogetwline.c: Likewise.
64845         * libio/iopadn.c: Likewise.
64846         * libio/iopopen.c: Likewise.
64847         * libio/ioseekoff.c: Likewise.
64848         * libio/ioseekpos.c: Likewise.
64849         * libio/iosetbuffer.c: Likewise.
64850         * libio/iosetvbuf.c: Likewise.
64851         * libio/ioungetc.c: Likewise.
64852         * libio/ioungetwc.c: Likewise.
64853         * libio/iovdprintf.c: Likewise.
64854         * libio/iovsprintf.c: Likewise.
64855         * libio/iovsscanf.c: Likewise.
64856         * libio/memstream.c: Likewise.
64857         * libio/obprintf.c: Likewise.
64858         * libio/oldfileops.c: Likewise.
64859         * libio/oldiofclose.c: Likewise.
64860         * libio/oldiofdopen.c: Likewise.
64861         * libio/oldiofopen.c: Likewise.
64862         * libio/oldiopopen.c: Likewise.
64863         * libio/oldstdfiles.c: Likewise.
64864         * libio/putc.c: Likewise.
64865         * libio/setbuf.c: Likewise.
64866         * libio/setlinebuf.c: Likewise.
64867         * libio/stdfiles.c: Likewise.
64868         * libio/strops.c: Likewise.
64869         * libio/vasprintf.c: Likewise.
64870         * libio/vscanf.c: Likewise.
64871         * libio/vsnprintf.c: Likewise.
64872         * libio/vswprintf.c: Likewise.
64873         * libio/wfiledoalloc.c: Likewise.
64874         * libio/wfileops.c: Likewise.
64875         * libio/wgenops.c: Likewise.
64876         * libio/wmemstream.c: Likewise.
64877         * libio/wstrops.c: Likewise.
64878         * libio/__fpurge.c: Likewise.
64879         * libio/__fsetlocking.c: Likewise.
64880         * assert/assert.c: Likewise.
64881         * debug/fgets_chk.c: Likewise.
64882         * debug/fgets_u_chk.c: Likewise.
64883         * debug/fread_chk.c: Likewise.
64884         * debug/fread_u_chk.c: Likewise.
64885         * debug/gets_chk.c: Likewise.
64886         * debug/obprintf_chk.c: Likewise.
64887         * debug/vasprintf_chk.c: Likewise.
64888         * debug/vdprintf_chk.c: Likewise.
64889         * debug/vsnprintf_chk.c: Likewise.
64890         * debug/vsprintf_chk.c: Likewise.
64891         * malloc/mtrace.c: Likewise.
64892         * misc/error.c: Likewise.
64893         * misc/syslog.c: Likewise.
64894         * stdio-common/asprintf.c: Likewise.
64895         * stdio-common/fxprintf.c: Likewise.
64896         * stdio-common/getw.c: Likewise.
64897         * stdio-common/isoc99_fscanf.c: Likewise.
64898         * stdio-common/isoc99_scanf.c: Likewise.
64899         * stdio-common/isoc99_vfscanf.c: Likewise.
64900         * stdio-common/isoc99_vscanf.c: Likewise.
64901         * stdio-common/isoc99_vsscanf.c: Likewise.
64902         * stdio-common/printf-prs.c: Likewise.
64903         * stdio-common/printf_fp.c: Likewise.
64904         * stdio-common/printf_fphex.c: Likewise.
64905         * stdio-common/printf_size.c: Likewise.
64906         * stdio-common/putw.c: Likewise.
64907         * stdio-common/scanf.c: Likewise.
64908         * stdio-common/sprintf.c: Likewise.
64909         * stdio-common/tmpfile.c: Likewise.
64910         * stdio-common/vfprintf.c: Likewise.
64911         * stdio-common/vfscanf.c: Likewise.
64912         * stdlib/strfmon_l.c: Likewise.
64913         * sunrpc/openchild.c: Likewise.
64914         * sunrpc/xdr_stdio.c: Likewise.
64915         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64916         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64918 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64920         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64922         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64923         in the third column, to generate for the shared library an IFUNC
64924         that uses _dl_vdso_vsym.
64925         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64926         * Makeconfig (object-suffixes-noshared): New variable.
64928         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64929         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64930         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64931         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64933         [BZ #14132]
64934         * include/sys/time.h (__gettimeofday): Remove macro.
64935         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64936         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64937         Remove INTDEF.
64938         (__gettimeofday): Add libc_hidden_def.
64939         (gettimeofday): Add libc_hidden_weak.
64940         * sysdeps/mach/gettimeofday.c: Likewise.
64941         * sysdeps/posix/gettimeofday.c: Likewise.
64942         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64943         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64944         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64945         (__gettimeofday_internal): Remove strong_alias.
64946         (__gettimeofday): Add libc_hidden_def.
64947         (gettimeofday): Add libc_hidden_weak.
64948         * sysdeps/unix/syscalls.list (gettimeofday):
64949         Remove __gettimeofday_internal alias.
64951 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64952             H.J. Lu  <hongjiu.lu@intel.com>
64954         [BZ #12495]
64955         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64956         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64957         (largebin_index_32_big): New.
64958         (largebin_index): Use it for 16-byte alignment.
64959         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64960         correction with front_misalign.
64962 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64966         Likewise.
64967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64968         Likewise.
64969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64970         Likewise.
64971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64972         Likewise.
64973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64974         Likewise.
64975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64976         Likewise.
64977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64978         Likewise.
64979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64980         Likewise.
64981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64982         Likewise.
64983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64984         Likewise.
64985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64986         Likewise.
64987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64988         Likewise.
64990         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64991         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64993 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64995         [BZ #10846]
64996         [BZ #14036]
64997         * math/libm-test.inc (exp_test): Add test from bug 14036.
64998         (pow_test): Add test from bug 10846.
65000         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65001         and other flags.
65002         (special_function): Do not include flags in test name.
65003         (parse_args): Likewise.
65004         * sysdeps/i386/fpu/libm-test-ulps: Update.
65005         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65006         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65007         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65010         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65011         exceptions.
65012         * math/libm-test.inc ("Philosophy"): Update comment about
65013         exception testing.
65014         (UNDERFLOW_EXCEPTION): New macro.
65015         (UNDERFLOW_EXCEPTION_OK): Likewise.
65016         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65017         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65018         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65019         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65020         (INVALID_EXCEPTION_OK): Update value.
65021         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65022         (OVERFLOW_EXCEPTION_OK): Likewise.
65023         (IGNORE_ZERO_INF_SIGN): Likewise.
65024         (test_exceptions): Handle underflow exceptions.
65025         (acos_test): Update for underflow exception expectations.
65026         (cexp_test): Likewise.
65027         (clog_test): Likewise.
65028         (clog10_test): Likewise.
65029         (csqrt_test): Likewise.
65030         (ctan_test): Likewise.
65031         (ctanh_test): Likewise.
65032         (exp_test): Likewise.
65033         (exp10_test): Likewise.
65034         (exp2_test): Likewise.
65035         (expm1_test): Likewise.
65036         (fma_test): Likewise.
65037         (j0_test): Likewise.
65038         (jn_test): Likewise.
65039         (nexttoward_test): Likewise.
65040         (pow_test): Likewise.
65041         (scalbn_test): Likewise.
65042         (scalbln_test): Likewise.
65043         (tan_test): Likewise.
65044         (y1_test): Likewise.
65045         * sysdeps/i386/fpu/libm-test-ulps: Update.
65046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65048 2012-05-23  David S. Miller  <davem@davemloft.net>
65050         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65051         (__libc_sigaction): Remove unused local variables.
65053 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65055         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65057 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65059         mktime: avoid signed integer overflow
65060         * time/mktime.c (__mktime_internal): Do not mishandle the case
65061         where diff == INT_MIN.
65063         mktime: simplify computation of average
65064         * time/mktime.c (ranged_convert): Use new time_t_avg function
65065         instead of rolling our own (probably-slower) code.
65067         mktime: do not assume signed right shift propagates sign bit
65068         * time/mktime.c (isdst_differ): New static function.
65069         (__mktime_internal): No need to normalize tm_isdst now.
65070         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65071         tm_isdst values.
65073         mktime: merge another wrapv change from gnulib
65074         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65075         from some compilers.
65077         mktime: remove incorrect attempt at unusual arithmetics
65078         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65079         The code didn't really work on such machines anyway.
65080         (TYPE_MINIMUM): Assume two's complement.
65081         (twos_complement_arithmetic): Verify that long_int and time_t
65082         are two's complement (or unsigned, in the latter case).
65084         mktime: check signed shifts on long_int and time_t, too
65085         * time/mktime.c (SHR): Check that shifts work as desired
65086         on the types long_int and time_t too, as SHR is used on
65087         such types.
65089         mktime: do not assume 'long' is wide enough
65090         * time/mktime.c (verify): Move decl up.
65091         (long_int): New type.
65092         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65093         to remove assumption in the code that 'long' is wide enough to
65094         store year values.  This assumption is not true on x32 and on
65095         some non-glibc platforms.
65097         mktime: merge wrapv change from gnulib
65098         * time/mktime.c (WRAPV): New macro.
65099         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65100         (guess_time_tm, __mktime_internal): Do not assume that signed
65101         integer overflow wraps around; modern compilers generate code
65102         where this assumption is no longer valid.
65104 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65106         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65107         Replace "jmp L(pseudo_end)" with "ret".
65108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65109         Likewise.
65111 2012-05-23  Andreas Jaeger  <aj@suse.de>
65113         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65114         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65116 2012-05-23  Andreas Jaeger  <aj@suse.de>
65117             Maximilian Attems  <max@stro.at>
65119         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65120         New macros.
65122 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65124         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65125         code so that pseudo_end is just ret and the stack pointer is
65126         correct also for static library in error case.
65128 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65130         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65131         move to syscalls.list.
65132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65137         * manual/install.texi (Running make install): Do not mention Linux
65138         kernel version for which pt_chown is not needed.
65139         (Linux): Do not mention problems with nscd with 2.0 kernels.
65140         * INSTALL: Regenerated.
65142 2012-05-23  Andreas Jaeger  <aj@suse.de>
65144         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65145         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65146         macro.
65147         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65148         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65149         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65150         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65151         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65152         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65153         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65154         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65155         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65156         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65157         * sysdeps/unix/sysv/linux/bits/in.h
65158         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65160 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65162         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65163         (PREPARE_VERSION): Just use assert instead, it will be elided
65164         under [NDEBUG] anyway.
65166 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65168         * sysdeps/unix/sysv/linux/Makefile: Include
65169         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65170         (sysdep_routines): Remove sysctl.
65171         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65172         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65173         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65174         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65175         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65177 2012-05-22  Andreas Jaeger  <aj@suse.de>
65179         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65180         that pseudo_end is just ret and the stack pointer is correct also
65181         for static library in error case.
65183 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65185         [BZ #14122]
65186         * nss/nsswitch.c (defconfig_entries): New variable.
65187         (__nss_database_lookup): Don't leak defconfig entries.
65188         (nss_parse_service_list): Don't leak on error paths.
65189         (free_database_entries): New function.
65190         (free_defconfig): New function.
65191         (free_mem): Move common code to free_database_entries.
65193 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65195         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65196         Add arch_prctl.
65197         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65199         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65200         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65201         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65202         New macro.
65203         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65204         (INTERNAL_SYSCALL_TYPES): Likewise.
65205         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65206         (LOAD_REGS_TYPES_[1-6]): Likewise.
65207         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65208         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65210 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65212         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65213         copysignl for GLIBC_2_0.
65214         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65215         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65216         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65217         logbl for GLIBC_2_0.
65218         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65219         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65221 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65223         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65224         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65226         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65227         Use "neg %eax".
65229         * time/mktime.c: Update copyright years.
65231 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65233         mktime: merge comment-quoting-style change from gnulib
65234         * time/mktime.c: Quote 'like this' in comments.
65235         The GNU coding standards suggest that we no longer quote `like this',
65236         as "`" and "'" are typically rendered asymmetrically nowadays.
65237         The typical gnulib style is to quote 'like this' when quoting
65238         code, and "like this" when quoting English.
65240         * time/mktime.c (compile-command): Add "-I.".
65242         mktime: merge mktime-internal.h change from gnulib
65243         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65245         mktime: merge time_r change from gnulib
65246         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65248         mktime: merge DEBUG change from gnulib
65249         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65250         case system <time.h> has a #define.
65252         mktime: merge <sys/types.h> change from gnulib
65253         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65254         since <time.t> is now guaranteed to define time_t.
65256         mktime: merge HAVE_CONFIG_H change from gnulib
65257         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65259 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65261         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65262         Use "neg %eax".
65264         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65265         __rlim_t cast.
65266         (struct rusage): Use anonymous union to pad each field to
65267         __syscall_slong_t.
65269 2012-05-21  David S. Miller  <davem@davemloft.net>
65271         * Makefules (o-iterator): Remove .s cases.
65272         (compile-command.s): Delete.
65273         (COMPILE.s): Delete.
65274         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65276 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65278         * configure.in (libc_cv_predef_stack_protector): Only consider
65279         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65280         * configure: Regenerated.
65282 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65284         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65285         New macro.  Use R*LP on int and pointer.
65286         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65287         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65288         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65289         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65291         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65292         [__WORDSIZE_TIME64_COMPAT32] instead of
65293         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65294         (struct utmp): Likewise.
65295         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65296         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65297         Renamed to ...
65298         (__WORDSIZE_TIME64_COMPAT32): This.
65299         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65300         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65301         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65302         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65303         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65304         (__WORDSIZE_TIME64_COMPAT32): New macro.
65306 2012-05-21  Andreas Jaeger  <aj@suse.de>
65308         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65309         only if [SHARED]. Add prototype for __wcschr_ia32.
65311 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65313         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65314         of %rbp unmolested in the jmp_buf while mangling the low bits.
65315         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65316         unmolested high bits of %rbp while demangling the low bits.
65317         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65319 2012-05-21  Andreas Jaeger  <aj@suse.de>
65321         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65322         * sunrpc/svc_simple.c: Use it for registerrpc.
65323         * sunrpc/xcrypt.c: Use it for passwd2des.
65325         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65327 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65329         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65330         Don't define if [__SYSCALL_WORDSIZE != 32].
65331         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65332         New macro.
65334 2012-05-21  Bruno Haible  <bruno@clisp.org>
65335             Andreas Jaeger  <aj@suse.de>
65337         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65338         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65339         inptr and inend for must_buffer_ch.
65340         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65341         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65342         * stdio-common/Makefile (tests): Remove bug15.
65343         (bug15-ENV): Remove macro.
65344         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65345         anymore.
65347 2012-05-19  Andreas Jaeger  <aj@suse.de>
65348             Roland McGrath  <roland@hack.frob.com>
65350         * manual/contrib.texi: Completely rewritten. It contains now an
65351         alphabetical list of contributors and their contributions.
65353 2012-05-21  Richard Henderson  <rth@twiddle.net>
65355         * misc/getauxval.c (__getauxval): Use unsigned long int.
65356         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65357         (getauxval): Use unsigned long int.
65359 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65361         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65363 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65365         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65366         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65367         __alignof__ (long double).
65369 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65373 2012-05-20  Richard Henderson  <rth@twiddle.net>
65375         * misc/getauxval.c: New file.
65376         * misc/sys/auxv.h: New file.
65377         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65378         (routines): Add getauxval.
65379         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65380         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65381         * elf/dl-sysdep.c (_dl_auxv): Remove.
65382         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65383         * elf/dl-support.c (_dl_auxv): New variable.
65384         (_dl_aux_init): Initialize it.
65385         * manual/startup.texi (Auxiliary Vector): New node.
65386         * sysdeps/generic/bits/hwcap.h: New file.
65387         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65388         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65389         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65390         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65391         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65392         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65394         Update.
65395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65398         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65404 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65408 2012-05-19  David S. Miller  <davem@davemloft.net>
65410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65412 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65414         [BZ #14123]
65415         * math/s_ccosh.c: Include <float.h>
65416         (__ccosh): Avoid internal overflow calculating sinh and cosh
65417         values before multiplying by sin and cos values.
65418         * math/s_ccoshf.c: Likewise.
65419         * math/s_ccoshl.c: Likewise.
65420         * math/s_csin.c: Likewise.
65421         * math/s_csinf.c: Likewise.
65422         * math/s_csinl.c: Likewise.
65423         * math/s_csinh.c: Likewise.
65424         * math/s_csinhf.c: Likewise.
65425         * math/s_csinhl.c: Likewise.
65426         * math/libm-test.inc (ccos_test): Add more tests.
65427         (ccosh_test): Likewise.
65428         (csin_test): Likewise.
65429         (csinh_test): Likewise.
65430         * sysdeps/i386/fpu/libm-test-ulps: Update.
65431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65433 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65435         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65436         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65438         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65440 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65442         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65443         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65444         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65445         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65446         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65447         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65448         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65449         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65450         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65451         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65452         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65453         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65454         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65455         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65456         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65457         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65458         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65459         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65460         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65461         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65462         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65463         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65464         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65465         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65466         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65467         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65468         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65469         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65470         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65471         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65472         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65474 2012-05-18  Andreas Jaeger  <aj@suse.de>
65476         * csu/.gitignore: Delete.
65478 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65480         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65481         (timex): Use __syscall_slong_t.
65483 2012-05-18  Andreas Jaeger  <aj@suse.de>
65484             Carlos O'Donell  <carlos_odonell@mentor.com>
65486         * manual/install.texi (Configuring and compiling): Update
65487         description about files modified in the source directory.
65488         * INSTALL: Regenerated.
65490 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65492         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65493         value.  Use "or" to set return value to -1.
65494         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65495         negate return value.
65497 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65499         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65500         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65501         failure if the compiler has Graphite support disabled.
65502         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65503         Likewise.
65504         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65505         (CFLAGS-memmove.c): Likewise.
65506         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65507         Likewise.
65509 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65511         * sysdeps/x86_64/x32/_itoa.h: New file.
65513         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65514         getdents system call only if kernel and user dirents have the
65515         same d_ino and d_off.
65517         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65518         LLONG_MAX != LONG_MAX.
65519         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65520         (_fitoa_word): Likewise.
65522         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65523         years.
65524         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65525         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65526         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65528         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65529         include <bits/wordsize.h>.  Check __x86_64__ instead of
65530         __WORDSIZE.
65531         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65532         if __x86_64__ is defined.  Use anonymous union on fpstate.
65534         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65535         anonymous union.
65537 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65539         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65540         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65541         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65542         Refer to _rtld_local_ro instead of _rtld_global_ro.
65543         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65544         Likewise.
65545         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65546         Likewise.
65547         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65548         Likewise.
65549         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65550         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65551         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65553         [BZ #10882]
65554         * sysdeps/powerpc/powerpc32/dl-machine.c
65555         (__elf_machine_runtime_setup) [PROF]: Don't reference
65556         _dl_prof_resolve.
65558 2012-05-18  Andreas Jaeger  <aj@suse.de>
65560         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65561         function only available for GCCs before 3.4 since GCC 3.4
65562         introduced a builtin.
65563         (lrint): Likewise.
65564         (llrintf): Likewise.
65565         (llrint): Likewise.
65566         (fmaxf): Likewise.
65567         (fmax): Likewise.
65568         (fminf): Likewise.
65569         (fmin): Likewise.
65570         (rint): Likewise.
65571         (rintf): Likewise.
65572         (nearbyint): Likewise.
65573         (nearbyintf): Likewise.
65574         (ceil): Likewise.
65575         (ceilf): Likewise.
65576         (floor): Likewise.
65577         (floorf): Likewise.
65579 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65581         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65582         on both fields and cast pointer to __syscall_ulong_t.
65584         * bits/types.h (__fsword_t): New type.
65585         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65586         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65587         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65588         (__FSWORD_T_TYPE): Likewise.
65589         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65590         (__FSWORD_T_TYPE): Likewise.
65591         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65592         (__FSWORD_T_TYPE): Likewise.
65593         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65594         (__FSWORD_T_TYPE): Likewise.
65595         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65596         __SWORD_TYPE with __fsword_t.
65597         (statfs64): Likewise.
65599 2012-05-17  David S. Miller  <davem@davemloft.net>
65601         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65603 2012-05-17  Andreas Jaeger  <aj@suse.de>
65605         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65606         warning.
65608 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65610         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65612 2012-05-17  Andreas Jaeger  <aj@suse.de>
65614         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65615         when it is used.
65617 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65619         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65621 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65623         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65624         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65626 2012-05-17  Andreas Jaeger  <aj@suse.de>
65627             Carlos O'Donell  <carlos_odonell@mentor.com>
65629         [BZ #14059]
65630         * sysdeps/x86_64/multiarch/init-arch.h
65631         (bit_YMM_Usable): Rename to...
65632         (bit_AVX_Usable): ... this.
65633         (bit_FMA4_Usable): New macro.
65634         (bit_XMM_state): New macro.
65635         (bit_YMM_state): New macro.
65636         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65637         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65638         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65639         (CPUID_OSXSAVE): New macro.
65640         (CPUID_AVX): New macro.
65641         (CPUID_FMA4): New macro.
65642         (index_YMM_Usable): Rename to...
65643         (index_AVX_Usable): ... this.
65644         (HAS_AVX): Use HAS_ARCH_FEATURE.
65645         (HAS_FMA4): Likewise.
65646         (HAS_YMM_USABLE): Remove.
65647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65648         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65649         are present.
65650         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65651         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65652         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65653         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65654         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65656 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65658         * math/libm-test.c: Support platforms without multiple rounding modes.
65659         * math/bug-nextafter.c: Support platforms without FP exceptions.
65660         * math/bug-nexttoward.c: Likewise.
65661         * math/test-fenv.c: Likewise.
65662         * math/test-misc.c: Likewise.
65663         * stdlib/bug-getcontext.c: Likewise.
65665 2012-05-17  Andreas Jaeger  <aj@suse.de>
65667         * manual/examples/search.c (critter_cmp): Change signature to
65668         avoid warnings.
65669         * manual/string.texi (Collation Functions): Likewise.
65671 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65673         * bits/types.h: Fold copyright years.
65674         * bits/typesizes.h: Likewise.
65675         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65676         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65677         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65678         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65679         * time/time.h: Likewise.
65681 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65683         [BZ #208]
65684         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65685         in instead of returning them.  Return void.
65686         (__libc_mallinfo): Accumulate over all arenas.
65687         (__malloc_stats): Adjust for change in int_mallinfo interface.
65689 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65691         [BZ #10375]
65692         * configure.in (NM): Add AC_CHECK_TOOL for it.
65693         (libc_extra_cflags): New substituted variable.
65694         Check for -fstack-protector being used implicitly.
65695         * configure: Regenerated.
65696         * config.make.in (config-extra-cflags): New variable,
65697         gets @libc_extra_cflags@.
65698         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65700         [BZ #10375]
65701         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65702         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65703         * configure: Regenerated.
65704         * config.make.in (CPPUNDEFS): New substituted variable.
65705         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65706         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65707         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65709 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65711         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65712         (mq_attr): Use __syscall_slong_t.
65714 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65716         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65717         Check __x86_64__ instead of __WORDSIZE.
65718         (_STAT_VER_LINUX): Likewise.
65719         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65720         __syscall_ulong_t and __syscall_slong_t.
65721         (stat64): Likewise.
65723 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65725         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65727 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65729         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65731 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65733         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65734         __syscall_ulong_t.
65736         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65737         include <bits/wordsize.h>.  Check __x86_64__ instead of
65738         __WORDSIZE.
65739         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65740         defined.
65741         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65743         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65744         include <bits/wordsize.h>.  Check __x86_64__ instead of
65745         __WORDSIZE.
65746         (user_regs_struct): Use "__extension__ unsigned long long"
65747         instead of "unsigned long" if __x86_64__ is defined.
65748         (user): Likewise.  Pad after pointer field if __ILP32__ is
65749         defined.
65751 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65753         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65754         versions 5 to 9.
65755         * configure: Regenerated.
65756         * manual/install.texi (texinfo): Increase version requirement to
65757         4.5 or later.
65758         * INSTALL: Regenerated.
65760         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65762 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65764         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65766         * sysdeps/x86_64/x32/ffs.c: New file.
65768         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65769         __syscall_ulong_t.
65770         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65771         defined.  Use __syscall_ulong_t.
65772         (shminfo): Use __syscall_ulong_t.
65773         (shm_info): Likewise.
65775         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65776         __syscall_ulong_t.
65778         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65779         <bits/wordsize.h>.
65780         (msgqnum_t): Use __syscall_ulong_t.
65781         (msglen_t): Likewise.
65782         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65783         __syscall_ulong_t.
65785         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65786         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65788         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65790         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65791         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65793         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65794         __syscall_slong_t.
65796         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65797         include <bits/wordsize.h>.  Check __x86_64__ instead of
65798         __WORDSIZE.
65800         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65801         "unsigned long long int" if __x86_64__ is defined.
65802         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65804         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65805         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65806         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65808         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65809         <stdint.h>.
65810         (GET_PC): Cast to uintptr_t first.
65811         (GET_FRAME): Likewise.
65812         (GET_STACK): Likewise.
65814         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65815         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65816         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65817         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65818         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65819         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65820         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65821         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65822         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65823         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65824         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65825         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65826         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65827         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65828         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65829         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65830         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65831         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65832         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65833         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65834         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65835         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65836         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65837         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65838         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65839         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65840         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65841         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65842         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65844 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65846         * Makerules (+depfiles): Also collect depfiles from .oS in
65847         $(extra-objs).
65848         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65849         .oS, $(libnldbl-routines)).
65851         * Makerules (native-compile-mkdep-flags): Define.
65852         * sunrpc/Makefile (extra-objs): Add $(addprefix
65853         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65854         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65855         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65856         calling $(make-target-directory).
65858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65860         * bits/types.h (__snseconds_t): Removed.
65861         * time/time.h (struct timespec): Replace __snseconds_t with
65862         __syscall_slong_t.
65863         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65864         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65865         Likewise.
65866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65867         (__SNSECONDS_T_TYPE): Likewise.
65868         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65869         (__SNSECONDS_T_TYPE): Likewise.
65870         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65871         (__SNSECONDS_T_TYPE): Likewise.
65873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65875         * sysdeps/mach/hurd/bits/typesizes.h
65876         (__SYSCALL_SLONG_TYPE): New macro.
65877         (__SYSCALL_ULONG_TYPE): Likewise.
65879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65881         * bits/types.h (__syscall_slong_t): New type.
65882         (__syscall_ulong_t): Likewise.
65884         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65885         (__SYSCALL_ULONG_TYPE): Likewise.
65886         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65887         (__SYSCALL_SLONG_TYPE): Likewise.
65888         (__SYSCALL_ULONG_TYPE): Likewise.
65889         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65890         (__SYSCALL_SLONG_TYPE): Likewise.
65891         (__SYSCALL_ULONG_TYPE): Likewise.
65892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65893         (__SYSCALL_SLONG_TYPE): Likewise.
65894         (__SYSCALL_ULONG_TYPE): Likewise.
65896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65898         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65899         Add sigaltstack-offsets.sym.
65900         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65901         <sigaltstack-offsets.h>.
65902         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65903         longjmp_msg pointer.
65904         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65905         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65906         signal stack.
65907         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65909 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65911         * elf/stackguard-macros.h: Remove file.
65912         * sysdeps/generic/stackguard-macros.h: New file.
65913         * sysdeps/i386/stackguard-macros.h: Likewise.
65914         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65915         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65916         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65917         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65918         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65919         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65920         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65921         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65922         <elf/stackguard-macros.h>.
65924         [BZ #14109]
65925         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65926         __aligned__ in attribute.
65927         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65928         (gregset_t): Likewise.
65930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65932         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65933         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65934         * sysdeps/x86_64/x32/Implies-after: New file.
65936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65938         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65939         and access return value for _dl_profile_fixup.  Use R10_LP to
65940         load frame size.
65942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65944         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65948         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65949         * sysdeps/x86_64/x32/sysdep.h: New file.
65951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65953         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65954         * sysdeps/x86_64/setjmp.S: Likewise.
65956 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65958         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65959         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65960         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65961         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65962         remove unused global constant.
65964 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65966         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65967         include of <not-cancel.h>.
65969 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65971         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65973 2012-05-15  Jeff Law  <law@redhat.com>
65974             Andreas Jaeger  <aj@suse.de>
65976         [BZ #13594]
65977         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65978         out from...
65979         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65980         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65981         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65982         code changing __hst_map_handle.map.
65984 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65986         * configure.in (sysnames): Look for Implies-before and Implies-after
65987         files.
65988         * configure: Regenerated.
65990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65992         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65993         8-byte data alignment with LP_SIZE alignment.
65995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65997         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65998         into R10_LP.
66000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66002         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66006         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66007         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66008         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66009         Likewise.
66010         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66014         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66015         (stackinfo_sub_sp): Likewise.
66017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66019         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66020         RAX_LP.
66022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66024         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66025         into R*_LP.
66027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66029         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66030         sizes into R*_LP.
66032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66034         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66036 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66038         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66039         into R11_LP and load __x86_64_shared_cache_size_half into
66040         R8_LP.
66042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66044         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66045         R8_LP.
66047 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66049         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66050         logb for POWER7.
66051         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66052         logbf for POWER7.
66053         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66054         logbl for POWER7.
66055         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66056         powerpc32/power7/fpu/s_logb.c via #include.
66057         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66058         powerpc32/power7/fpu/s_logbf.c via #include.
66059         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66060         powerpc32/power7/fpu/s_logbl.c via #include.
66062 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66064         * README.libm: Remove file.
66066 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66068         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66069         count for x32.  Use R*_LP and omit operand-size suffix.
66071 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66073         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66074         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66075         * sysdeps/x86_64/x32/shlib-versions: New file.
66077 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66079         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66080         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66081         Use _dl_fatal_printf instead.
66083 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66085         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66086         set if not set by the user.  Do not allow for being unset.
66087         * sysdeps/unix/sysv/linux/configure: Regenerated.
66089 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66091         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66092         the `q' suffix from lea and replace .quad with ASM_ADDR.
66094 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66097         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66098         instead of $17.
66099         (PTR_DEMANGLE): Likewise.
66101 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66103         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66104         (LP_OP): Likewise.
66105         (ASM_ADDR): Likewise.
66106         (RAX_LP): Likewise.
66107         (RBP_LP): Likewise.
66108         (RBX_LP): Likewise.
66109         (RCX_LP): Likewise.
66110         (RDI_LP): Likewise.
66111         (RSI_LP): Likewise.
66112         (RSP_LP): Likewise.
66113         (R8_LP): Likewise.
66114         (R9_LP): Likewise.
66115         (R10_LP): Likewise.
66116         (R10_LP): Likewise.
66117         (R11_LP): Likewise.
66118         (R12_LP): Likewise.
66119         (R13_LP): Likewise.
66120         (R14_LP): Likewise.
66121         (R15_LP): Likewise.
66123 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66125         * sysdeps/x86_64/x32/dl-machine.h: New file.
66127 2012-05-14  Andreas Jaeger  <aj@suse.de>
66129         * manual/Makefile (subdir): Remove export of subdir.
66130         (all): Remove target.
66131         (.PHONY): Remove all from list.
66132         (mkinstalldirs): Remove.
66133         (.PHONY): Remove installdirs from list.
66134         ($(inst_infodir)/libc.info): Use make-target-directory.
66135         (installdirs): Remove.
66136         (subdir_%): Remove.
66137         (glibc-targets): Remove.
66138         (lib): Remove.
66139         (stubs): Remove.
66140         ($(objpfx)stubs ../po/manual.pot): Remove.
66141         ($(objpfx)stamp%): Remove.
66142         (make-target-directory): Remove.
66143         (subdir_install): Remove.
66144         (routines): Remove.
66145         (aux): Remove.
66146         (sources): Remove.
66147         (objects): Remove.
66148         (headers): Remove.
66150         [BZ #13750]
66151         * manual/.gitignore: Remove, it's not needed anymore.
66152         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66153         all files in it.
66154         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66155         directory.
66156         (texis): Renamed to $(objpfx)texis.
66157         (texis-path): New, contains path to generated files.
66158         (chapters.%): Use texis-path for complete path, add extra argument
66159         libc-texinfo.sh.
66160         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66161         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66162         (summary,texi, stamp-summary): Use complete path of
66163         files. Generate files in build dir.
66164         (dir-add.texi): Build in build dir.
66165         (libm-err.texi,stamp-libm-err): Likewise.
66166         (version.texi, stamp-version): Likewise.
66167         (.%c.texi): Likewise.
66168         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66169         (mostlyclean): Remove target.
66170         (realclean): Remove target.
66171         (generated): Add new variable with contents from mostlyclean and
66172         realclean, remove entries duplicated in common-mostlyclean, add
66173         stamp-libm-err and stamp-version.
66174         (generated-dirs): Add libc directory.
66175         ($(inst_infodir)/libc.info): Install files from build dir.
66177         * manual/install.texi (Configuring and compiling): Adjust since
66178         the info files are not part of the tar ball anymore.
66180 2012-05-14  Andreas Jaeger  <aj@suse.de>
66182         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66183         variable.
66185 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66187         [BZ #13717]
66188         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66189         to 2.2.0 where earlier.
66190         * sysdeps/unix/sysv/linux/configure: Regenerated.
66191         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66192         Remove conditional code.
66193         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66194         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66195         Remove conditional code.
66196         [!__NR_lchown]: Likewise.
66197         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66198         [__NR_lchown]: Likewise.
66199         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66200         comment referencing __ASSUME_LCHOWN_SYSCALL.
66201         * sysdeps/unix/sysv/linux/i386/sigaction.c
66202         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66203         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66204         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66205         Remove conditional code.
66206         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66207         (__protocol_available): Remove #if 0 code.
66208         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66209         conditional code.
66210         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66211         * sysdeps/unix/sysv/linux/kernel-features.h
66212         (__ASSUME_GETCWD_SYSCALL): Don't define.
66213         (__ASSUME_REALTIME_SIGNALS): Likewise.
66214         (__ASSUME_PREAD_SYSCALL): Likewise.
66215         (__ASSUME_PWRITE_SYSCALL): Likewise.
66216         (__ASSUME_POLL_SYSCALL): Likewise.
66217         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66218         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66219         non-SPARC.
66220         (__ASSUME_SIOCGIFNAME): Don't define.
66221         (__ASSUME_MSG_NOSIGNAL): Likewise.
66222         (__ASSUME_SENDFILE): Define unconditionally.
66223         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66224         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66225         conditional code.
66226         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66227         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66228         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66229         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66230         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66231         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66232         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66234         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66235         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66237         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66238         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66240         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66241         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66243         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66244         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66246         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66247         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66249         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66250         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66252         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66253         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66255         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66256         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66257         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66258         Remove conditional code.
66259         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66260         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66261         Remove conditional code.
66262         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66263         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66264         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66265         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66266         Remove conditional code.
66267         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66268         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66269         Remove conditional code.
66270         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66271         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66272         Remove conditional code.
66273         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66274         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66275         Remove conditional code.
66276         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66277         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66278         Remove conditional code.
66279         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66280         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66281         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66282         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66283         * sysdeps/unix/sysv/linux/sigaction.c
66284         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66285         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66286         * sysdeps/unix/sysv/linux/sigpending.c
66287         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66288         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66289         * sysdeps/unix/sysv/linux/sigprocmask.c
66290         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66291         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66292         * sysdeps/unix/sysv/linux/sigsuspend.c
66293         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66294         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66295         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66296         (__libc_missing_rt_sigs): Remove.
66297         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66298         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66299         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66300         Remove conditional code.
66301         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66302         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66303         return 1.
66304         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66305         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66306         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66307         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66309 2012-05-14  Andreas Jaeger  <aj@suse.de>
66311         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66312         it's not used in glibc.
66313         (__coshm1): Likewise.
66314         (__acosh1p): Likewise.
66315         (__sgn): Likewise.
66317         * manual/string.texi (Copying and Concatenation): Add missing
66318         variable in concat example.
66319         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66321 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66323         [BZ #14103]
66324         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66325         __builtin_clzl with __builtin_clzll.
66327 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66329         [BZ #14104]
66330         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66331         libc_freeres_ptr.
66333 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66335         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66336         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66337         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66338         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66340 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66342         * NEWS: Update ia64 info.
66344 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66346         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66347         used as bcopy.
66349 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66351         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66352         * sysdeps/unix/syscalls.list (dup3): Likewise.
66353         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66354         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66356 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66358         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66359         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66361 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66363         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66364         thread pointer.
66365         (TLS_IE): Use mov/add instead of movq/addq to load thread
66366         pointer.
66367         (TLS_GD_PREFIX): New.
66368         (TLS_GD): Use it.
66370 2012-05-11  David S. Miller  <davem@davemloft.net>
66372         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66373         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66374         (_FPU_SETCW): Likewise.
66376 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66378         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66379         is 32-byte aligned.
66381 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66383         [BZ #11837]
66384         * iconvdata/gb18030.c: Update tables.
66385         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66386         characters specially.
66387         (BODY for TO_LOOP): Add encoding of missing ranges.
66389 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66391         [BZ #13673]
66392         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66393         * sysdeps/mach/hurd/dup3.c: Likewise.
66394         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66395         * sysdeps/powerpc/memmove.c:: Likewise.
66397 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66399         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66400         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66402 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66404         * elf/elf.h (R_X86_64_RELATIVE64): New.
66405         (R_X86_64_NUM): Updated.
66406         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66407         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66408         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66409         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66410         tst-quad1pie tst-quad2pie
66411         (modules-names): Add tst-quadmod1 tst-quadmod2.
66412         ($(objpfx)tst-quad1): New dependency.
66413         ($(objpfx)tst-quad2): Likewise.
66414         ($(objpfx)tst-quad1pie): Likewise.
66415         ($(objpfx)tst-quad2pie): Likewise.
66416         * sysdeps/x86_64/tst-quad1.c: New file.
66417         * sysdeps/x86_64/tst-quad1pie.c: New file.
66418         * sysdeps/x86_64/tst-quad2.c: Likewise.
66419         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66420         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66421         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66422         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66423         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66427         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66428         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66429         * streams/stropts.h (t_scalar_t): Define type.
66431         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66432         (_PATH_PRESERVE): Set to "/var/lib".
66433         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66435         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66436         instead of int.
66438         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66439         if __dir_mkfile succeeded.
66441         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66442         checking for _hurd_dtablesize.  Unlock it right after having
66443         finished _hurd_dtable allocation.
66445 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66447         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66448         * sysdeps/mach/hurd/configure: Regenerated.
66449         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66450         special-casing to...
66451         * sysdeps/gnu/configure.in: ... this new file.
66452         * sysdeps/unix/sysv/linux/configure: Regenerated.
66453         * sysdeps/gnu/configure: New generated file.
66455         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66456         for Linux: use nsec instead of usec, as well as:
66457         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66458         members of type struct timespec.
66459         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66460         New macros.
66461         (struct stat64): Likewise.
66462         (_STATBUF_ST_NSEC): New macro.
66463         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66465         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66466         __strtoul_internal rather than strtoul.
66468 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66470         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66471         and reject them.
66473 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66475         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66476         which preserves existing values.
66477         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66479 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66481         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66482         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66483         greater than FD_SETSIZE.
66485 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66487         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66488         allocated, call __vm_protect to finish enabling the existing space, and
66489         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66490         allocate the remainder.
66492 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66494         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66495         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66497 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66499         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66500         sysdeps/mach/hurd/readlink.c.
66502         * posix/tst-sysconf.c (posix_options): Only use
66503         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66504         _POSIX_SYNCHRONIZED_IO when they are defined
66505         * sysdeps/mach/hurd/bits/posix_opt.h:
66506         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66507         (_XOPEN_REALTIME): Undefine macro.
66508         (_XOPEN_REALTIME_THREADS): Undefine macro.
66509         (_XOPEN_SHM): Undefine macro.
66510         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66511         macro to -1.
66512         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66513         macro to -1.
66514         (_POSIX_ASYNC_IO): Undefine macro.
66515         (_POSIX_PRIORITIZED_IO): Undefine macro.
66516         (_POSIX_SPIN_LOCKS): Define macro to -1.
66518         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66519         SA_NODEFER, SA_RESETHAND.
66520         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66521         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66522         F_DUPFD_CLOEXEC.
66524 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66526         * elf/Makefile (pldd-modules): Define unconditionally.
66528 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66530         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66532 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66534         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66535         Return ENOENT when name is empty.
66536         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66538 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66540         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66542         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66544 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66546         Fix mlock in all cases except non-readable pages.
66547         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66548         instead of VM_PROT_ALL as parameter to __vm_wire function.
66550         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66551         (__mkdir): When path is `/', just fail with EEXIST.
66552         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66554 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66556         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66557         <sys/uio.h> (for writev).
66558         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66559         and <sys/param.h> (for MIN).
66561 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66563         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66564         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66565         if interrupted.
66567 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66569         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66570         Depend on against $(link-rpcuserlibs).
66572 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66574         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66575         (__libc_stack_end): Do not use attribute_relro.
66576         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66577         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66578         to libthread-provided value.
66579         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66580         attribute_relro.
66582 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66584         [BZ #3748]
66585         * bits/libc-lock.h (__libc_once_get): New macro.
66586         * sysdeps/mach/bits/libc-lock.h: Likewise.
66587         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66588         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66589         instead of using implementation details.
66591         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66592         * libio/freopen.c: Likewise.
66593         * libio/freopen64.c: Likewise.
66594         * misc/syslog.c: Likewise.
66595         * nscd/connections.c: Likewise.
66596         * nscd/netgroupcache.c: Likewise.
66597         * sysdeps/posix/getcwd.c: Likewise.
66599 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66601         * math/w_ilogbf.c: Add #include <limits.h>.
66603 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66605         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66606         path instead of returning without unlocking.
66608         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66609         immediate-write ioctls.
66610         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66612 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66614         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66615         __builtin_frame_address instead of making assumptions about the
66616         location of the return address relative to DATA.  Force early load of
66617         the return address.
66618         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66619         __builtin_frame_address.
66621         dup3 for GNU Hurd.
66622         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66623         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66624         implement dup3 and do some further code clean-ups.
66625         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66626         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66630         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66632         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66633         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66634         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66635         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66636         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66637         d->port.lock.
66639         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66640         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66641         when handler == SIG_ERR, not when handler != SIG_ERR.
66643 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66645         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66646         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66647         definitions.
66649         accept4 for GNU Hurd.
66650         * include/sys/socket.h (__libc_accept4): New prototype.
66651         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66652         to implement __libc_accept4.
66653         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66654         __libc_accept4.
66655         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66657         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66658         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66659         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66660         signal-defines.sym.
66662 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66664         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66666 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66668         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66669         assertion on O_CLOEXEC flag.
66670         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66671         * hurd/intern-fd.c: Likewise.
66672         * hurd/port2fd.c: Likewise.
66674 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66676         [BZ #3906]
66677         * bits/in.h (IPV6_PKTINFO): Define new macro.
66678         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66680 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66682         [BZ #13954]
66683         [BZ #13955]
66684         [BZ #13956]
66685         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66686         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66687         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66688         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66689         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66690         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66691         * math/libm-test.inc (logb_test) : Additional logb tests.
66693 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66694             Andreas Jaeger  <aj@suse.de>
66696         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66697         * configure: Regenerated.
66698         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66699         * config.make.in (link-obsolete-rpc): New substituted variable.
66700         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66701         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66702         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66703         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66704         so that libc.a contains the symbols.
66705         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66706         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66707         * sunrpc/auth_none.c: Likewise.
66708         * sunrpc/auth_unix.c: Likewise.
66709         * sunrpc/authdes_prot.c: Likewise.
66710         * sunrpc/authuxprot.c: Likewise.
66711         * sunrpc/clnt_gen.c: Likewise.
66712         * sunrpc/clnt_perr.c: Likewise.
66713         * sunrpc/clnt_raw.c: Likewise.
66714         * sunrpc/clnt_simp.c: Likewise.
66715         * sunrpc/clnt_tcp.c: Likewise.
66716         * sunrpc/clnt_udp.c: Likewise.
66717         * sunrpc/clnt_unix.c: Likewise.
66718         * sunrpc/des_crypt.c: Likewise.
66719         * sunrpc/des_soft.c: Likewise.
66720         * sunrpc/get_myaddr.c: Likewise.
66721         * sunrpc/key_call.c: Likewise.
66722         * sunrpc/key_prot.c: Likewise.
66723         * sunrpc/netname.c: Likewise.
66724         * sunrpc/pm_getmaps.c: Likewise.
66725         * sunrpc/pm_getport.c: Likewise.
66726         * sunrpc/pmap_clnt.c: Likewise.
66727         * sunrpc/pmap_prot.c: Likewise.
66728         * sunrpc/pmap_prot2.c: Likewise.
66729         * sunrpc/pmap_rmt.c: Likewise.
66730         * sunrpc/publickey.c: Likewise.
66731         * sunrpc/rpc_cmsg.c: Likewise.
66732         * sunrpc/rpc_common.c: Likewise.
66733         * sunrpc/rpc_dtable.c: Likewise.
66734         * sunrpc/rpc_prot.c: Likewise.
66735         * sunrpc/rpc_thread.c: Likewise.
66736         * sunrpc/rtime.c: Likewise.
66737         * sunrpc/svc.c: Likewise.
66738         * sunrpc/svc_auth.c: Likewise.
66739         * sunrpc/svc_raw.c: Likewise.
66740         * sunrpc/svc_run.c: Likewise.
66741         * sunrpc/svc_tcp.c: Likewise.
66742         * sunrpc/svc_udp.c: Likewise.
66743         * sunrpc/svc_unix.c: Likewise.
66744         * sunrpc/svcauth_des.c: Likewise.
66745         * sunrpc/xcrypt.c: Likewise.
66746         * sunrpc/xdr.c: Likewise.
66747         * sunrpc/xdr_array.c: Likewise.
66748         * sunrpc/xdr_float.c: Likewise.
66749         * sunrpc/xdr_intXX_t.c: Likewise.
66750         * sunrpc/xdr_mem.c: Likewise.
66751         * sunrpc/xdr_rec.c: Likewise.
66752         * sunrpc/xdr_ref.c: Likewise.
66753         * sunrpc/xdr_sizeof.c: Likewise.
66754         * sunrpc/xdr_stdio.c: Likewise.
66756 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66758         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66759         change.  Update copyright years.
66761 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66763         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66765 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66766             Joseph Myers  <joseph@codesourcery.com>
66767             Paul Pluzhnikov  <ppluzhnikov@google.com>
66769         [BZ #14012]
66770         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66771         requiring rpcgen.
66772         [cross-compiling] (extra-libs): Likewise.
66773         [cross-compiling] (extra-libs-others): Likewise.
66774         [cross-compiling] (librpcsvc-routines): Likewise.
66775         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66776         [cross-compiling] (omit-deps): Likewise.
66777         (sunrpc-CPPFLAGS): New variable.
66778         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66779         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66780         (cross-rpcgen-objs): New variable.
66781         (extra-objs): Append $(cross-rpcgen-objs).
66782         ($(cross-rpcgen-objs)): New rule.
66783         ($(objpfx)cross-rpcgen): Likewise.
66784         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66785         comment.
66786         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66787         ($(objpfx)x%.stmp): Likewise.
66788         * sunrpc/proto.h [IS_IN_build] (_): Define.
66789         [IS_IN_build] (_libc_intl_domainname): Likewise.
66791 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66793         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66794         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66795         and R_X86_64_TPOFF64.
66797 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66799         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66800         sysdeps/unix/sysv/syscalls.list.
66801         (stime): Likewise.
66802         (utime): Likewise.
66803         * sysdeps/unix/sysv/syscalls.list: Remove file.
66805 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66807         [BZ #3440]
66808         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66809         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66810         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66811         (__LC_IDENTIFICATION): Make these macros useful in #if
66812         expressions, as required by C99.
66814 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66816         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66817         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66818         after this.
66820 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66822         * stdlib/longlong.h: Updated from GCC.
66824 2012-05-09  Andreas Jaeger  <aj@suse.de>
66826         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66827         default is first entry.
66828         (run_mode): Set type.
66829         (main): Remove informal message about syslog.
66830         (options): Fix typo.
66832         [BZ #14053]
66833         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66834         to asm.
66835         (lrint): Likewise.
66836         (llrintf): Likewise.
66837         (llrint): Likewise.
66838         (rint): Likewise.
66839         (rintf): Likewise.
66840         (nearbyint): Likewise.
66841         (nearbyintf): Likewise.
66843 2012-05-09  Andreas Jaeger  <aj@suse.de>
66844             Pedro Alves  <palves@redhat.com>
66846         * nscd/nscd.c (run_mode): Use enum.
66847         (main): Cleanup coding style issue.
66849 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66850             Andreas Jaeger  <aj@suse.de>
66852         * nscd/nscd.c (go_background): Replaced with...
66853         (run_mode): ... this.
66854         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66855         (options): Add -F --foreground.
66856         (main): Implement it.
66857         (parse_opt): Parse it.
66859 2012-05-09  Andreas Jaeger  <aj@suse.de>
66861         [BZ #14083]
66862         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66863         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66864         -Wconversion warning.
66865         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66866         Likewise.
66868 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66870         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66871         == 0.
66872         (LC_ALL): Use macro-int-constant.
66873         (LC_COLLATE): Likewise.
66874         (LC_CTYPE): Likewise.
66875         (LC_MESSAGES): Likewise.
66876         (LC_MONETARY): Likewise.
66877         (LC_NUMERIC): Likewise.
66878         (LC_TIME): Likewise.
66879         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66880         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66881         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66882         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66883         Specify type.
66884         [C99-based standards] (float_t): Expect type.
66885         [C99-based standards] (double_t): Expect type.
66886         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66887         type.
66888         [C99-based standards] (HUGE_VALL): Likewise.
66889         [C99-based standards] (INFINITY): Likewise.
66890         [C99-based standards] (NAN): Likewise.
66891         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66892         [C99-based standards] (FP_NAN): Likewise.
66893         [C99-based standards] (FP_NORMAL): Likewise.
66894         [C99-based standards] (FP_SUBNORMAL): Likewise.
66895         [C99-based standards] (FP_ZERO): Likewise.
66896         [C99-based standards] (FP_FAST_FMA): Use
66897         optional-macro-int-constant.  Specify type.  Require == 1.
66898         [C99-based standards] (FP_FAST_FMAF): Likewise.
66899         [C99-based standards] (FP_FAST_FMAL): Likewise.
66900         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66901         [C99-based standards] (FP_ILOGBNAN): Likewise.
66902         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66903         Specify type.
66904         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66905         [C99-based standards] (math_errhandling): Specify type.
66906         [ISO99 || ISO11] (signgam): Do not allow.
66907         [non-C99-based standards] (copysignf): Do not allow.
66908         [non-C99-based standards] (exp2f): Likewise.
66909         [non-C99-based standards] (log2f): Likewise.
66910         [non-C99-based standards] (modff): Allow.
66911         [non-C99-based standards] (erff): Do not allow.
66912         [non-C99-based standards] (erfcf): Likewise.
66913         [non-C99-based standards] (gammaf): Likewise.
66914         [non-C99-based standards] (hypotf): Likewise.
66915         [non-C99-based standards] (j0f): Likewise.
66916         [non-C99-based standards] (j1f): Likewise.
66917         [non-C99-based standards] (jnf): Likewise.
66918         [non-C99-based standards] (lgammaf): Likewise.
66919         [non-C99-based standards] (tgammaf): Likewise.
66920         [non-C99-based standards] (y0f): Likewise.
66921         [non-C99-based standards] (y1f): Likewise.
66922         [non-C99-based standards] (ynf): Likewise.
66923         [non-C99-based standards] (isnanf): Likewise.
66924         [non-C99-based standards] (acoshf): Likewise.
66925         [non-C99-based standards] (asinhf): Likewise.
66926         [non-C99-based standards] (atanhf): Likewise.
66927         [non-C99-based standards] (cbrtf): Likewise.
66928         [non-C99-based standards] (expm1f): Likewise.
66929         [non-C99-based standards] (ilogbf): Likewise.
66930         [non-C99-based standards] (log1pf): Likewise.
66931         [non-C99-based standards] (logbf): Likewise.
66932         [non-C99-based standards] (nextafterf): Likewise.
66933         [non-C99-based standards] (remainderf): Likewise.
66934         [non-C99-based standards] (rintf): Likewise.
66935         [non-C99-based standards] (scalbf): Likewise.
66936         [non-C99-based standards] (copysignl): Likewise.
66937         [non-C99-based standards] (exp2l): Likewise.
66938         [non-C99-based standards] (log2l): Likewise.
66939         [non-C99-based standards] (modfl): Allow.
66940         [non-C99-based standards] (erfl): Do not allow.
66941         [non-C99-based standards] (erfcl): Likewise.
66942         [non-C99-based standards] (gammal): Likewise.
66943         [non-C99-based standards] (hypotl): Likewise.
66944         [non-C99-based standards] (j0l): Likewise.
66945         [non-C99-based standards] (j1l): Likewise.
66946         [non-C99-based standards] (jnl): Likewise.
66947         [non-C99-based standards] (lgammal): Likewise.
66948         [non-C99-based standards] (tgammal): Likewise.
66949         [non-C99-based standards] (y0l): Likewise.
66950         [non-C99-based standards] (y1l): Likewise.
66951         [non-C99-based standards] (ynl): Likewise.
66952         [non-C99-based standards] (isnanl): Likewise.
66953         [non-C99-based standards] (acoshl): Likewise.
66954         [non-C99-based standards] (asinhl): Likewise.
66955         [non-C99-based standards] (atanhl): Likewise.
66956         [non-C99-based standards] (cbrtl): Likewise.
66957         [non-C99-based standards] (expm1l): Likewise.
66958         [non-C99-based standards] (ilogbl): Likewise.
66959         [non-C99-based standards] (log1pl): Likewise.
66960         [non-C99-based standards] (logbl): Likewise.
66961         [non-C99-based standards] (nextafterl): Likewise.
66962         [non-C99-based standards] (remainderl): Likewise.
66963         [non-C99-based standards] (rintl): Likewise.
66964         [non-C99-based standards] (scalbl): Likewise.
66965         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66966         [non-C99-based standards] (FP_*): Do not allow.
66967         [C99-based standards] (FP_*): Change to
66968         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66969         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66970         allow.
66971         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66972         (SIG_ERR): Likewise.
66973         [X/Open-based standards] (SIG_HOLD): Likewise.
66974         (SIG_IGN): Likewise.
66975         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66976         positive value.
66977         (SIGFPE): Likewise.
66978         (SIGILL): Likewise.
66979         (SIGINT): Likewise.
66980         (SIGSEGV): Likewise.
66981         (SIGTER): Likewise.
66982         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66983         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66984         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66985         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66986         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66987         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66988         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66989         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66990         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66991         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66992         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66993         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66994         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66995         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66996         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66997         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66998         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66999         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67000         [X/Open-based standards] (SIGTRAP): Likewise.
67001         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67002         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67003         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67004         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67005         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67006         allow.
67008 2012-05-08  Ian Wienand  <ianw@vmware.com>
67010         [BZ #14080]
67011         * time/tzset.c (__tzset_parse_tz): Update default rules for
67012         daylight time changes in the Energy Policy Act of 2005.
67014 2012-05-09  Andreas Jaeger  <aj@suse.de>
67016         [BZ #13983]
67017         * elf/ldconfig.c (parse_conf): Change string to make clear that
67018         ldconfig only issued a warning if ld.so.conf does not exist.
67020 2012-05-08  David S. Miller  <davem@davemloft.net>
67022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67023         movxtod instead of popping the value on the stack.
67025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67027 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67029         * config.h.in: Add HAVE_ARM_PCS_VFP.
67031 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67033         [BZ #13979]
67034         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67035         checking but the checks are disabled for any reason.
67037 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67039         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67040         and ELF64_R_TYPE with ELFW(R_TYPE).
67042 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67044         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67045         (ulimit): Likewise.
67047         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67048         (settimeofday): Likewise.
67050 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67052         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67053         a struct th_u2 inside the union, and move tu_block/tu_code into
67054         a new th_u3 union of tu_block/tu_code inside of that.  Move
67055         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67056         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67057         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67058         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67059         (th_stuff): Change to th_u1.tu_stuff.
67060         (th_data): Define.
67061         (th_msg): Change to th_u1.th_u2.tu_data.
67063 2012-05-07  David S. Miller  <davem@davemloft.net>
67065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67067         [BZ #14074]
67068         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67069         (SETUP_PIC_REG): Use it.
67070         (SETUP_PIC_REG_LEAF): Use it.
67072 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67074         [BZ #13885]
67075         [BZ #13923]
67076         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67077         USE_AS_EXPM1L.
67078         (EXPL_FINITE): Likewise.
67079         (FLDLOG): Likewise.
67080         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67081         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67082         e_expl.S.
67083         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67084         USE_AS_EXPM1L.
67085         (EXPL_FINITE): Likewise.
67086         (FLDLOG): Likewise.
67087         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67088         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67089         e_expl.S.
67090         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67091         test of -max_value argument for long double.
67092         * sysdeps/i386/fpu/libm-test-ulps: Update.
67093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67095 2012-05-06  David S. Miller  <davem@davemloft.net>
67097         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67098         quad soft-float symbols whose references which are compiler
67099         generated.
67100         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67102 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67104         [BZ #13884]
67105         [BZ #13914]
67106         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67107         USE_AS_EXP10L.
67108         (EXPL_FINITE): Likewise.
67109         (FLDLOG): Likewise.
67110         (c0): Likewise.
67111         (c1): Likewise.
67112         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67113         Adjust comments for base varying.
67114         (__expl_finite): Change alias to EXPL_FINITE.
67115         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67116         e_expl.S.
67117         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67118         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67119         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67120         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67121         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67122         USE_AS_EXP10L.
67123         (EXPL_FINITE): Likewise.
67124         (FLDLOG): Likewise.
67125         (c0): Likewise.
67126         (c1): Likewise.
67127         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67128         Adjust comments for base varying.
67129         (__expl_finite): Change alias to EXPL_FINITE.
67130         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67131         tests for bugs.
67132         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67134         [BZ #14064]
67135         * math/libm-test.inc (check_float_internal): Correct ulp
67136         calculation for subnormal expected results.
67138 2012-05-06  Andreas Jaeger  <aj@suse.de>
67140         * Makeconfig (+math-flags): New, set to -frounding-math.
67141         (+cflags): Add +math-flags so that all of glibc gets compiled with
67142         it.
67144         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67146 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67148         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67149         Disable one test.
67151         [BZ #13787]
67152         [BZ #13922]
67153         [BZ #14036]
67154         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67155         (__ieee754_expl): Allow for and saturate large arguments.
67156         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67157         (u_threshold): Likewise.
67158         (__exp): Call __ieee754_exp before checking for overflow and
67159         underflow.
67160         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67161         (u_threshold): Likewise.
67162         (__expf): Call __ieee754_expf before checking for overflow and
67163         underflow.
67164         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67165         (u_threshold): Likewise.
67166         (__expl): Call __ieee754_expl before checking for overflow and
67167         underflow.
67168         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67169         (__ieee754_expl): Allow for and saturate large arguments.
67170         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67171         missing overflow exception on overflow.
67172         (expm1_test): Do not allow missing overflow exception on overflow.
67174         * sysdeps/i386/fpu/e_expl.c: Move to ...
67175         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67176         rather than using inline asm.
67177         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67178         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67179         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67181         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67182         (nice): Likewise.
67183         (poll): Likewise.
67184         (signal): Likewise.
67185         (time): Likewise.
67186         (times): Likewise.
67188 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67190         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67191         sysdeps/unix/common/syscalls.list.
67192         (fchmod): Likewise.
67193         (fchown): Likewise.
67194         (ftruncate): Likewise.
67195         (getrusage): Likewise.
67196         (gettimeofday): Likewise.
67197         (setpgid): Likewise.
67198         (setregid): Likewise.
67199         (setreuid): Likewise.
67200         (sigaction): Likewise.
67201         (truncate): Likewise.
67202         (vhangup): Likewise.
67203         * sysdeps/unix/common/syscalls.list: Remove file.
67204         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67205         * sysdeps/unix/sysv/linux/Implies: Likewise.
67207 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67209         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67211         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67212         Moved to ...
67213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67214         Here.
67215         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67216         to ...
67217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67218         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67219         to ...
67220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67221         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67222         to ...
67223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67224         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67225         to ...
67226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67227         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67228         to ...
67229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67230         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67231         to ...
67232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67233         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67234         to ...
67235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67236         Here.
67237         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67238         to ...
67239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67240         Here.
67241         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67242         to ...
67243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67244         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67245         Moved to ...
67246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67247         Here.
67248         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67249         to ...
67250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67252 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67254         * sysdeps/unix/common/bits/dirent.h: Remove file.
67255         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67257         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67258         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67259         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67260         * sysdeps/unix/bsd/isatty.c: Likewise.
67261         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67262         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67263         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67265 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67267         [BZ #13563]
67268         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67269         long double comparison inaccuracies.
67270         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67273 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67275         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67276         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67278 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67280         [BZ #14049]
67281         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67282         nonzero digits before rounding a hex value.
67283         * stdlib/tst-strtod.c (tests): Add another test.
67285 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67287         * sysdeps/s390/fpu/libm-test-ulps: Update.
67289 2012-05-03  Andreas Jaeger  <aj@suse.de>
67291         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67292         does not get optimized out.
67293         (malloc_opt_barrier): New.
67295 2012-05-03  Andreas Jaeger  <aj@suse.de>
67296             Roland McGrath  <roland@hack.frob.com>
67298         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67299         intermediate file deletion.
67300         (generated): Add .symlist files.
67302 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67304         [BZ #13775]
67305         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67306         Redirect under this condition.
67307         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67308         [__USE_GNU] (__dprintf_chk): Not under this condition.
67309         [__USE_GNU] (__vdprintf_chk): Likewise.
67310         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67311         under this condition.
67312         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67313         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67314         [__USE_XOPEN2K8] (vdprintf): Likewise.
67315         [__USE_GNU] (__dprintf_chk): Not under this condition.
67316         [__USE_GNU] (__vdprintf_chk): Likewise.
67317         [__USE_GNU] (dprintf): Likewise.
67318         [__USE_GNU] (vdprintf): Likewise.
67320 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67322         * elf/Makefile (common-generated): Set this instead of generated for
67323         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67324         $(all-built-dso)-derived lists.
67326 2012-05-03  Andreas Jaeger  <aj@suse.de>
67328         * sysdeps/i386/fpu/libm-test-ulps: Update.
67330         * FAQ: Removed.
67331         * FAQ.in: Likewise.
67332         * scripts/gen-FAQ.pl: Likewise.
67333         * manual/install.texi (Installation): Point to online location of
67334         FAQ.
67335         * Makefile (files-for-dist): Remove FAQ.
67336         (FAQ): Remove.
67338 2012-05-02  Allan McRae  <allan@archlinux.org>
67340         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67341         (LDFLAGS-reldepmod5.so): Likewise.
67342         (LDFLAGS-reldep6mod1.so): Likewise.
67343         (LDFLAGS-reldep6mod4.so): Likewise.
67344         (LDFLAGS-reldep8mod3.so): Likewise.
67345         (LDFLAGS-unload4mod1.so): Likewise.
67346         (LDFLAGS-unload4mod2.so): Likewise.
67347         (LDFLAGS-tst-initorder): Likewise.
67348         (LDFLAGS-tst-initordera2.so): Likewise.
67349         (LDFLAGS-tst-initordera3.so): Likewise.
67350         (LDFLAGS-tst-initordera4.so): Likewise.
67351         (LDFLAGS-tst-initorderb2.so): Likewise.
67352         (LDFLAGS-noload): Likewise.
67353         (LDFLAGS-next): Likewise.
67354         (LDFLAGS-order2mod1.so): Likewise.
67355         (LDFLAGS-order2mod2.so): Likewise.
67356         (LDFLAGS-tst-initorder2): Likewise.
67357         (LDFLAGS-tst-initorder2a.so): Likewise.
67358         (LDFLAGS-tst-initorder2b.so): Likewise.
67359         (LDFLAGS-tst-initorder2c.so): Likewise.
67360         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67362 2012-05-02  David S. Miller  <davem@davemloft.net>
67364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67366 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67368         [BZ #14055]
67369         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67371 2012-05-02  Andreas Jaeger  <aj@suse.de>
67373         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67374         since we manipulate rounding mode.
67375         (CPPFLAGS-test-idouble.c): Likewise.
67376         (CPPFLAGS-test-ifloat.c): Likewise.
67377         (CFLAGS-test-ldouble.c): Likewise.
67378         (CFLAGS-test-double.c): Likewise.
67379         (CFLAGS-test-float.c): Likewise.
67380         (CFLAGS-test-misc.c): Likewise.
67381         (CFLAGS-test-test-fenv.c): Likewise.
67383 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67385         [BZ #2550]
67386         [BZ #2570]
67387         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67388         comparisons to determine direction to adjust input.
67390 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67392         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67393         output to the target.
67395         * scripts/localplt.awk: New file.
67396         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67397         (check-localplt-CFLAGS): Variable removed.
67398         ($(all-built-dso:=.jmprel)): New static pattern rule.
67399         (generated): Add those targets.
67400         (localplt-built-dso): New variable.
67401         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67403         * elf/check-localplt.c: File removed.
67405         * scripts/check-execstack.awk: New file.
67406         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67407         (check-execstack-CFLAGS): Variable removed.
67408         ($(objpfx)check-execstack.h): Target removed.
67409         ($(objpfx)execstack-default): New target.
67410         (generated): Add that instead of check-execstack.h.
67411         ($(all-built-dso:=.phdr)): New static pattern rule.
67412         (generated): Add those targets.
67413         * elf/check-execstack.c: File removed.
67415         * scripts/check-textrel.awk: New file.
67416         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67417         (check-textrel-CFLAGS): Variable removed.
67418         (all-built-dso): Use := to define.o
67419         ($(all-built-dso:=.dyn)): New static pattern rule.
67420         (generated): Add those targets.
67421         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67422         * config.make.in (READELF): New substituted variable.
67423         * elf/check-textrel.c: File removed.
67425 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67427         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67428         allow.
67429         * conform/data/ctype.h-data [C99-based standards] (isblank):
67430         Expect function.
67431         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67432         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67433         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67434         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67435         Specify type.  Require positive value.
67436         (EILSEQ): Likewise.
67437         (ERANGE): Likewise.
67438         [ISO || POSIX] (EILSEQ): Do not expect.
67439         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67440         Specify type.  Require positive value.
67441         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67442         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67443         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67444         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67445         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67446         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67447         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67448         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67449         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67450         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67451         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67452         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67453         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67454         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67455         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67456         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67457         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67458         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67459         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67460         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67461         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67462         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67463         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67464         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67465         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67466         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67467         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67468         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67469         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67470         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67471         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67472         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67473         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67474         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67475         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67476         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67477         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67478         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67479         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67480         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67481         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67482         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67483         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67484         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67485         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67486         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67487         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67488         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67489         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67490         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67491         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67492         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67493         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67494         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67495         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67496         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67497         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67498         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67499         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67500         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67501         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67502         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67503         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67504         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67505         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67506         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67507         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67508         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67509         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67510         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67511         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67512         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67513         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67514         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67515         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67516         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67517         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67518         Require >= 2.
67519         (FLT_ROUNDS): Expect as macro, not constant.
67520         (FLT_MANT_DIG): Use macro-int-constant.
67521         (DBL_MANT_DIG): Likewise.
67522         (LDBL_MANT_DIG): Likewise.
67523         (FLT_DIG): Likewise.
67524         (DBL_DIG): Likewise.
67525         (LDBL_DIG): Likewise.
67526         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67527         (DBL_MIN_EXP): Likewise.
67528         (LDBL_MIN_EXP): Likewise.
67529         (FLT_MAX_EXP): Use macro-int-constant.
67530         (DBL_MAX_EXP): Likewise.
67531         (LDBL_MAX_EXP): Likewise.
67532         (FLT_MAX_10_EXP): Likewise.
67533         (DBL_MAX_10_EXP): Likewise.
67534         (LDBL_MAX_10_EXP): Likewise.
67535         (FLT_MAX): Use macro-constant.
67536         (DBL_MAX): Likewise.
67537         (LDBL_MAX): Likewise.
67538         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67539         (DBL_EPSILON): Likewise.
67540         (LDBL_EPSILON): Likewise.
67541         (FLT_MIN): Likewise.
67542         (DBL_MIN): Likewise.
67543         (LDBL_MIN): Likewise.
67544         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67545         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67546         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67547         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67548         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67549         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67550         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67551         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67552         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67553         [ISO11] (FLT_TRUE_MIN): Likewise.
67554         [ISO11] (LDBL_TRUE_MIN): Likewise.
67555         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67556         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67557         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67558         (SCHAR_MAX): Likewise.
67559         (UCHAR_MAX): Likewise.
67560         (CHAR_MIN): Likewise.
67561         (CHAR_MAX): Likewise.
67562         (MB_LEN_MAX): Use macro-int-constant.
67563         (SHRT_MIN): Use macro-int-constant.  Specify type.
67564         (SHRT_MAX): Likewise.
67565         (USHRT_MAX): Likewise.
67566         (INT_MAX): Likewise.
67567         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67568         bound negative.
67569         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67570         bound with "U".
67571         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67572         bound with "L".
67573         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67574         bound negative.  Suffix upper bound with "L".
67575         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67576         bound with "UL".
67577         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67578         Specify type.
67579         [C99-based standards] (LLONG_MAX): Likewise.
67580         [C99-based standards] (ULLONG_MAX): Likewise.
67581         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67582         == 0.
67583         [ISO11] (max_align_t): Require type.
67584         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67586         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67587         from $CFLAGS, without defining away __attribute__ calls.
67588         (checknamespace): Use $CFLAGS_namespace.
67590         * conform/conformtest.pl (@keywords): Only include C99 keywords
67591         for standards based on C99 or C11.
67593         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67594         Disable tests.
67595         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67596         UNIX98]: Likewise.
67598         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67599         usability of symbols in #if.
67601         * conform/conformtest.pl: If macro or constant types start
67602         "promoted:", expect the symbol to be of the following type
67603         promoted by the integer promotions.
67605         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67606         in one place.  Also handle "macro-constant".
67608         * conform/conformtest.pl: Only accept expected macro values with
67609         "==".  Parse all "macro" lines in one place.
67610         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67612         * conform/conformtest.pl: Handle braced types on "constant" lines
67613         instead of handling "typed-constant".
67614         * conform/data/signal.h-data: Use "constant" instead of
67615         "typed-constant".
67617         * conform/conformtest.pl: Handle "optional-" at start of lines in
67618         one place rather than duplicating several cases.  Handle each
67619         format of "macro" line with initial "optional-".
67621         * conform/conformtest.pl: Only accept expected constant or
67622         optional-constant values with "==".  Parse all "constant" lines in
67623         one place.  Parse all "optional-constant" lines in one place.
67624         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67625         * conform/data/fmtmsg.h-data: Likewise.
67626         * conform/data/netinet/in.h-data: Likewise.
67627         * conform/data/tar.h-data: Likewise.
67628         * conform/data/limits.h-data: Use "==" form on "constant" and
67629         "optional-constant" lines.
67631         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67632         Use -std=c99 for XOPEN2K.
67633         (@knownproblems): Remove.
67634         (newtoken): Don't check %isknown.
67636         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67637         Do not expect macro.
67638         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67639         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67640         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67641         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67642         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67643         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67644         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67645         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67646         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67647         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67648         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67649         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67650         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67651         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67652         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67653         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67654         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67655         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67656         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67657         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67658         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67659         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67660         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67661         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67662         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67663         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67664         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67665         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67666         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67667         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67668         [XPG3] (acosh): Likewise.
67669         [XPG3] (asinh): Likewise.
67670         [XPG3] (atanh): Likewise.
67671         [XPG3] (cbrt): Likewise.
67672         [XPG3] (expm1): Likewise.
67673         [XPG3] (ilogb): Likewise.
67674         [XPG3] (log1p): Likewise.
67675         [XPG3] (logb): Likewise.
67676         [XPG3] (nextafter): Likewise.
67677         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67678         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67679         [XPG3] (remainder): Likewise.
67680         [XPG3] (rint): Likewise.
67681         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67682         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67683         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67684         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67685         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67686         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67687         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67688         [UNIX98 || XOPEN2K] (scalb): Expect.
67689         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67690         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67691         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67692         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67693         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67694         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67695         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67696         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67697         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67698         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67699         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67700         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67701         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67702         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67703         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67704         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67705         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67706         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67707         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67708         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67709         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67710         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67711         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67712         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67713         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67714         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67715         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67716         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67717         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67718         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67719         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67720         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67721         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67722         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67723         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67724         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67725         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67726         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67727         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67728         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67729         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67730         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67731         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67732         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67733         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67734         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67735         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67736         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67737         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67738         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67739         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67740         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67741         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67742         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67743         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67744         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67745         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67746         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67747         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67748         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67749         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67750         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67751         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67752         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67753         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67754         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67755         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67756         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67757         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67758         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67759         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67760         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67761         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67762         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67763         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67764         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67765         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67766         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67767         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67768         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67769         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67770         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67771         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67772         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67773         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67774         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67775         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67776         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67777         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67778         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67779         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67780         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67781         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67782         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67783         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67784         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67785         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67786         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67787         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67788         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67789         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67790         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67791         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67792         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67793         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67794         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67795         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67796         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67797         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67798         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67799         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67800         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67801         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67802         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67803         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67804         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67805         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67806         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67807         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67808         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67809         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67810         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67811         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67812         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67813         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67814         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67815         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67816         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67817         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67818         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67819         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67820         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67821         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67822         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67823         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67824         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67825         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67827         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67828         _XOPEN_SOURCE_EXTENDED for XPG4.
67830         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67832         * Makeconfig (localtime): Remove variable.
67833         (inst_localtime-file): Likewise.
67835 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67838         Update.
67839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67840         Update.
67841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67842         Update.
67843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67844         Update.
67845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67846         Update.
67847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67848         Update.
67849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67850         Update.
67851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67852         Update.
67853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67854         Update.
67856 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67858         [BZ #2550]
67859         [BZ #2570]
67860         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67861         comparisons to determine direction to adjust input.
67862         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67863         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67864         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67865         Likewise.
67866         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67867         Likewise.
67868         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67869         Likewise.
67870         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67871         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67872         Likewise.
67873         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67874         Likewise.
67875         * math/libm-test.inc (nexttoward_test): Add more tests.
67877 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67879         [BZ #14040]
67880         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67881         in version GLIBC_2.1, not GLIBC_2.0.
67882         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67883         Likewise.
67885 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67887         [BZ #13942]
67888         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67889         (1 - x) * (1 + x).
67890         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67891         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67892         * math/libm-test.inc (acos_test): Add more tests.
67893         (asin_test): Likewise.
67894         * sysdeps/i386/fpu/libm-test-ulps: Update.
67895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67897         [BZ #14034]
67898         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67899         of square root.
67900         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67901         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67902         * math/libm-test.inc (acos_test_tonearest): New function.
67903         (acos_test_towardzero): Likewise.
67904         (acos_test_downward): Likewise.
67905         (acos_test_upward): Likewise.
67906         (asin_test_tonearest): Likewise.
67907         (asin_test_towardzero): Likewise.
67908         (asin_test_downward): Likewise.
67909         (asin_test_upward): Likewise.
67910         (main): Call the new functions.
67911         * sysdeps/i386/fpu/libm-test-ulps: Update.
67912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67914         [BZ #13884]
67915         [BZ #13924]
67916         * math/e_exp10.c: Include <float.h>.
67917         (__ieee754_exp10): Handle underflow here rather than multiplying
67918         large negative argument by M_LN10.
67919         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67920         of __ieee754_expf.
67921         * math/e_exp10l.c: Include <float.h>.
67922         (__ieee754_exp10l): Handle underflow here rather than multiplying
67923         large negative argument by M_LN10l.
67924         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67925         spurious overflow exception on underflow.
67927 2012-04-29  Marek Polacek  <polacek@redhat.com>
67929         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67930         (__fortify_function): New macro.
67931         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67932         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67933         __extern_always_inline.
67934         * libio/bits/stdio2.h: Likewise.
67935         * libio/bits/stdio.h: Likewise.
67936         * string/string.h: Likewise.
67937         * string/bits/string3.h: Likewise.
67938         * include/stdio.h: Likewise.
67939         * stdlib/bits/stdlib.h: Likewise.
67940         * stdlib/stdlib.h: Likewise.
67941         * rt/bits/mqueue2.h: Likewise.
67942         * rt/mqueue.h: Likewise.
67943         * posix/bits/unistd.h: Likewise.
67944         * posix/unistd.h: Likewise.
67945         * io/bits/poll2.h: Likewise.
67946         * io/bits/fcntl2.h: Likewise.
67947         * io/fcntl.h: Likewise.
67948         * io/sys/poll.h: Likewise.
67949         * misc/bits/syslog.h: Likewise.
67950         * misc/bits/syslog-ldbl.h: Likewise.
67951         * misc/sys/syslog.h: Likewise.
67952         * socket/bits/socket2.h: Likewise.
67953         * socket/sys/socket.h: Likewise.
67954         * debug/tst-chk1.c: Likewise.
67955         * wcsmbs/bits/wchar2.h: Likewise.
67956         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67957         * wcsmbs/wchar.h: Likewise.
67959 2012-04-29  Andreas Jaeger  <aj@suse.de>
67961         * Makerules (tests): Remove enable-check-abi protection.
67962         (check-abi-warn): Remove.
67963         (check-abi-%): Remove check-abi-warn usage.
67965         * configure.in: Remove check-abi configure option.
67966         * configure: Regenerated.
67967         * config.make.in (enable-check-abi): Remove.
67969 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67971         [BZ #14033]
67972         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67973         double functions to double *_finite functions.
67975         [BZ #13941]
67976         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67977         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67978         LDBL_MIN_EXP.
67979         * stdio-common/Makefile (tests): Add tst-sprintf3.
67980         * stdio-common/tst-sprintf3.c: New file.
67982         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67983         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67985 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67987         * conform/conformtest.pl: Remove duplicate typed-constant
67988         handling.
67990 2012-04-28  David S. Miller  <davem@davemloft.net>
67992         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67993         (check-abi-%): Remove AWK script prerequisite and explicit
67994         abilist directory.
67995         (check-abi): Rewrite to just diff the symlist with the abilist.
67996         (config-tls, config-abi-config): Delete, no longer used.
67997         (update-abi-%): Remove AWK script and explicit abilist directory.
67998         (update-abi): Rewrite to simply compare and conditionally copy the
67999         symlist and the sysdep abilist file.  Remove update-abi-config
68000         checks.
68001         * abilist/ld.abilist: Remove.
68002         * abilist/libBrokenLocale.abilist: Remove.
68003         * abilist/libanl.abilist: Remove.
68004         * abilist/libcrypt.abilist: Remove.
68005         * abilist/libdl.abilist: Remove.
68006         * abilist/librt.abilist: Remove.
68007         * abilist/libthread_db.abilist: Remove.
68008         * abilist/libutil.abilist: Remove.
68009         * scripts/extract-abilist.awk: Remove.
68010         * scripts/merge-abilist.awk: Remove.
68011         * sysdeps/generic/libcidn.abilist: New file.
68012         * sysdeps/generic/libnss_compat.abilist: New file.
68013         * sysdeps/generic/libnss_db.abilist: New file.
68014         * sysdeps/generic/libnss_dns.abilist: New file.
68015         * sysdeps/generic/libnss_files.abilist: New file.
68016         * sysdeps/generic/libnss_hesiod.abilist: New file.
68017         * sysdeps/generic/libnss_nis.abilist: New file.
68018         * sysdeps/generic/libnss_nisplus.abilist: New file.
68019         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68020         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68021         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68022         file.
68023         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68024         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68025         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68026         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68027         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68028         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68029         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68030         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68031         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68032         file.
68033         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68034         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68035         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68036         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68037         file.
68038         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68039         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68040         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68041         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68042         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68043         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68044         file.
68045         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68046         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68047         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68048         file.
68049         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68051         New file.
68052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68053         New file.
68054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68055         New file.
68056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68057         New file.
68058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68059         New file.
68060         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68061         New file.
68062         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68063         New file.
68064         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68065         New file.
68066         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68067         New file.
68068         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68069         New file.
68070         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68071         New file.
68072         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68073         New file.
68074         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68075         New file.
68076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68077         file.
68078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68079         New file.
68080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68081         New file.
68082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68083         file.
68084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68085         New file.
68086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68087         New file.
68088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68089         file.
68090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68091         New file.
68092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68093         New file.
68094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68095         New file.
68096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68097         New file.
68098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68099         New file.
68100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68101         New file.
68102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68104         file.
68105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68106         New file.
68107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68108         file.
68109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68110         file.
68111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68112         file.
68113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68114         file.
68115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68116         file.
68117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68118         New file.
68119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68120         file.
68121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68122         file.
68123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68124         New file.
68125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68126         file.
68127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68129         file.
68130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68131         New file.
68132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68133         file.
68134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68135         file.
68136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68137         file.
68138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68139         file.
68140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68141         file.
68142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68143         New file.
68144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68145         file.
68146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68147         file.
68148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68149         New file.
68150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68151         file.
68152         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68153         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68154         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68155         file.
68156         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68157         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68158         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68159         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68160         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68161         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68162         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68163         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68164         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68165         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68168         file.
68169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68170         New file.
68171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68172         file.
68173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68174         file.
68175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68176         file.
68177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68178         file.
68179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68180         file.
68181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68182         New file.
68183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68184         New file.
68185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68186         file.
68187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68188         New file.
68189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68190         file.
68191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68193         file.
68194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68195         New file.
68196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68197         file.
68198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68199         file.
68200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68201         file.
68202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68203         file.
68204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68205         file.
68206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68207         New file.
68208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68209         New file.
68210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68211         file.
68212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68213         New file.
68214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68215         file.
68217 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68219         * conform/conformtest.pl: Fix typo in handling typed-constant from
68220         allow-header.
68222 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68224         * README: Cut down references to pre-2.6 Linux kernels and
68225         Linuxthreads.  Update lists of configurations in libc and ports
68226         and sort alphabetically.  Say "or newer" with Linux kernel version
68227         requirements.
68229         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68231 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68233         [BZ #887]
68234         * math/libm-test.inc (logb_test_downward): New test to expose
68235         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68236         rounding mode.
68238 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68240         [BZ #14027]
68241         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68242         to be done.
68243         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68244         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68246 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68248         * sysdeps/unix/i386/brk.S: Remove file.
68249         * sysdeps/unix/i386/dl-brk.S: Likewise.
68250         * sysdeps/unix/i386/pipe.S: Likewise.
68251         * sysdeps/unix/i386/sigreturn.S: Likewise.
68252         * sysdeps/unix/i386/syscall.S: Likewise.
68253         * sysdeps/unix/i386/vfork.S: Likewise.
68254         * sysdeps/unix/i386/wait.S: Likewise.
68256         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68257         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68259         * configure.in (arm*-none*): Do not allow without
68260         --enable-hacker-mode.
68261         (netbsd*): Remove case setting base_os.
68262         (386bsd*): Likewise.
68263         (freebsd*): Likewise.
68264         (bsdi*): Likewise.
68265         (osf*): Likewise.
68266         (sunos*): Likewise.
68267         (ultrix*): Likewise.
68268         (newsos*): Likewise.
68269         (dynix*): Likewise.
68270         (*bsd*): Likewise.
68271         (sysv*): Likewise.
68272         (isc*): Likewise.
68273         (esix*): Likewise.
68274         (sco*): Likewise.
68275         (minix*): Likewise.
68276         (irix4*): Likewise.
68277         (irix6*): Likewise.
68278         (solaris[2-9]*): Likewise.
68279         (none): Likewise.
68280         * configure: Regenerated.
68282 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68284         [BZ #11521]
68285         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68286         overflow or cancellation in calculating denominator.
68287         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68288         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68289         down expression to avoid unexpected rounding in newer GCCs.
68290         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68292 2012-04-26  David S. Miller  <davem@davemloft.net>
68294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68295         long-double compat symbols.
68296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68310 2012-04-25  David S. Miller  <davem@davemloft.net>
68312         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68313         HWCAP_* values only after the memory barriers have been defined.
68314         (atomic_full_barrier): Define.
68315         (atomic_read_barrier): Define.
68316         (atomic_write_barrier): Define.
68318 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68320         * shlib-versions: Add libgcc_s version information.
68321         * sysdeps/generic/libgcc_s.h: Remove.
68322         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68323         libgcc_s.h.
68324         * sysdeps/gnu/unwind-resume.c: Likewise.
68325         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68327 2012-04-25  David S. Miller  <davem@davemloft.net>
68329         * sysdeps/unix/sparc/brk.S: Delete.
68330         * sysdeps/unix/sparc/dl-brk.S: Delete.
68331         * sysdeps/unix/sparc/pipe.S: Delete.
68332         * sysdeps/unix/sparc/sysdep.S: Delete.
68333         * sysdeps/unix/sparc/sysdep.h: Delete.
68334         * sysdeps/unix/sparc/vfork.S: Delete.
68335         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68336         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68337         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68338         (ret_ERRVAL, r0, r1, MOVE): Define.
68339         (JUMPTARGET): Remove.
68340         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68341         sysdeps/unix/sparc/sysdep.h
68342         (ENTRY, END): Remove.
68343         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68345 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68347         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68348         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68349         -DIS_IN_build.
68351         * timezone/README: Update upstream location and email address for
68352         tzcode and tzdata.
68353         * timezone/zdump.c: Update from tzcode 2012b.
68354         * timezone/zic.c: Likewise.
68356         * configure.in (libc_cv_as_needed): Remove test.
68357         * configure: Regenerated.
68358         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68359         conditional definition.
68360         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68361         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68362         * config.make.in (have-as-needed): Remove variable.
68364 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68365             Paul Pluzhnikov  <ppluzhnikov@google.com>
68367         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68368         strings correctly.
68370 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68372         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68373         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68374         * sysdeps/sh/strlen.S: Likewise.
68376 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68378         * sysdeps/unix/fork.S: Remove file.
68379         * sysdeps/unix/i386/fork.S: Likewise.
68380         * sysdeps/unix/sparc/fork.S: Likewise.
68382         * sysdeps/unix/system.c: Remove file.
68383         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68385         * sysdeps/unix/getegid.S: Remove file.
68386         * sysdeps/unix/geteuid.S: Likewise.
68388 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68390         * scripts/check-localplt.awk: New file.
68391         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68392         of diff.
68393         * scripts/data/localplt-generic.data: Add a comment.
68395         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68396         NODE when __dir_mkfile failed.
68397         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68398         Reported by Ludovic Courtès <ludo@gnu.org>.
68400 2012-04-24  Andreas Jaeger  <aj@suse.de>
68402         * Makerules (common-clean): Also remove gen-as-const-headers
68403         files.
68405 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68407         * Makerules (native-compile): Do not change working directory for
68408         build.  Use $(OUTPUT_OPTION) in command.
68409         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68411 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68413         [BZ #13886]
68414         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68415         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68416         * math/libm-test.inc (floor_test): Add more tests.
68417         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68419 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68421         * sysdeps/unix/getdents.c: Remove file.
68422         * sysdeps/unix/sysv/getdents.c: Likewise.
68423         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68425         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68426         sysdeps/unix/mman/syscalls.list.
68427         (mmap): Likewise.
68428         (mprotect): Likewise.
68429         (msync): Likewise.
68430         (munmap): Likewise.
68431         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68432         * sysdeps/unix/mman/syscalls.list: Remove.
68433         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68435         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68436         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68437         * configure: Regenerated.
68438         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68439         $(libgcc_s_suffix).
68440         * config.make.in (libgcc_s_suffix): Remove variable.
68442 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68444         * sysdeps/unix/sysv/gethostname.c: Move to ...
68445         * sysdeps/posix/gethostname.c: ... here.
68447         * sysdeps/unix/execve.S: Remove file.
68449         * sysdeps/unix/_exit.S: Remove file.
68451 2012-04-23  Andreas Jaeger  <aj@suse.de>
68453         [BZ #13739]
68454         * manual/Makefile: Remove make dist support, there's no
68455         need for a stand-alone documentation tar ball.
68456         (TEXI2DVI): Define always, it's not in Makeconfig.
68457         (dist): Removed.
68458         (tar-it): Removed.
68459         (edition): Removed.
68460         (glibc-doc-$(edition).tar): Removed
68461         (%.Z): Removed.
68462         (%.gz): Removed.
68463         (%.uu): Removed.
68464         (ETAGS): Remove, it's in Makeconfig.
68465         (move-if-change): Remove, it's in Makeconfig.
68467 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68469         [BZ #13970]
68470         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68471         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68472         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68473         (strtod_l, strtof_l, strtold_l): Remove __wur.
68474         It is not necessarily an error to ignore strtol's return value.
68475         One can reliably look at the stored endptr to decide whether
68476         the number had valid syntax.
68478 2012-04-21  Andreas Jaeger  <aj@suse.de>
68480         [BZ #13739]
68481         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68483 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68485         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68486         * sysdeps/unix/sysv/Versions: Remove file.
68488 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68490         [BZ #13927]
68491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68493 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68495         [BZ #7064]
68496         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68497         version from __vm86.
68499 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68501         * sysdeps/unix/common/lxstat.c: Remove file.
68502         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68504         * sysdeps/unix/sysv/Makefile: Remove file.
68506         * sysdeps/unix/sysv/direct.h: Remove file.
68508         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68509         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68510         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68511         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68512         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68513         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68514         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68516         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68518         * sysdeps/unix/xmknod.c: Remove file.
68519         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68521         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68523         * sysdeps/unix/sysv/i386/time.S: Remove file.
68525         * sysdeps/unix/fxstat.c: Remove file.
68526         * sysdeps/unix/xstat.c: Likewise.
68527         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68529         * sysdeps/unix/sysv/sigaction.c: Remove file.
68531         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68532         (sysdep_headers): Remove variable.
68533         [termio.h not in sysdep_headers] (generated): Likewise.
68534         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68535         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68536         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68537         * sysdeps/unix/sysv/tcflow.c: Likewise.
68538         * sysdeps/unix/sysv/tcflush.c: Likewise.
68539         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68540         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68541         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68542         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68543         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68545         * sysdeps/unix/siglist.c: Remove file.
68547         * sysdeps/unix/getppid.S: Remove file.
68549         * sysdeps/unix/mkdir.c: Remove file.
68550         * sysdeps/unix/rmdir.c: Likewise.
68552 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68554         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68555         ERR_MAX value.
68556         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68557         errlist-compat value.
68559 2012-04-18  David S. Miller  <davem@davemloft.net>
68561         * sysdeps/generic/memcopy.h (reg_char): Delete.
68562         * debug/strcat_chk.c: Use char, not reg_char.
68563         * debug/strcpy_chk.c: Likewise.
68564         * debug/strncat_chk.c: Likewise.
68565         * debug/strncpy_chk.c: Likewise.
68566         * string/memchr.c: Likewise.
68567         * string/memrchr.c: Likewise.
68568         * string/rawmemchr.c: Likewise.
68569         * string/strcat.c: Likewise.
68570         * string/strchr.c: Likewise.
68571         * string/strchrnul.c: Likewise.
68572         * string/strcmp.c: Likewise.
68573         * string/strcpy.c: Likewise.
68574         * string/strncat.c: Likewise.
68575         * string/strncmp.c: Likewise.
68576         * string/strncpy.c: Likewise.
68578 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68580         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68581         __builtin_memcopy is called when src and dest ranges are known to not
68582         overlap.
68584 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68586         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68587         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68588         fwd_align_merge macro call.
68589         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68590         bwd_align_merge macro call.
68591         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68593 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68595         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68596         bwd_align_merge macros.
68597         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68598         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68599         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68601 2012-04-18  David S. Miller  <davem@davemloft.net>
68603         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68605 2012-04-18  Andreas Jaeger  <aj@suse.de>
68607         [BZ# 6794]
68608         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68609         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68610         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68612         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68613         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68614         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68616         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68617         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68618         Adjust for changed ldbl-128 files.
68620         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68621         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68622         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68624 2012-04-17  David S. Miller  <davem@davemloft.net>
68626         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68628 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68630         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68631         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68632         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68633         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68634         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68635         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68637 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68639         [BZ #6794]
68640         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68641         * math/libm-test.inc: Add ilogb errno and exception tests.
68642         * math/w_ilogb.c: New file: ilogb wrapper.
68643         * math/w_ilogbf.c: New file: ilogbf wrapper.
68644         * math/w_ilogbl.c: New file: ilogbl wrapper.
68645         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68646         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68647         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68648         exception being thrown with 0.0 as argument.
68649         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68650         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68651         exception being thrown with 0.0 as argument.
68652         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68653         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68654         exception being thrown with 0.0 as argument.
68655         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68656         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68657         exception being thrown with 0.0 as argument.
68658         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68659         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68660         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68661         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68662         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68663         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68664         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68665         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68666         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68668 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68670         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68671         with altivec.
68673 2012-04-16  Marek Polacek  <polacek@redhat.com>
68675         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68677 2012-04-16  Marek Polacek  <polacek@redhat.com>
68679         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68680         operands of fdivp instruction.
68682 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68684         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68685         * elf/tst-auditmod3b.c: Likewise.
68686         * elf/tst-auditmod4b.c: Likewise.
68687         * elf/tst-auditmod5b.c: Likewise.
68688         * elf/tst-auditmod6b.c: Likewise.
68689         * elf/tst-auditmod6c.c: Likewise.
68690         * elf/tst-auditmod7b.c: Likewise.
68691         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68692         * sysdeps/x86_64/preconfigure.in: Likewise.
68693         * sysdeps/x86_64/preconfigure: Regenerated.
68695 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68697         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68698         __ILP32__.
68700 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68702         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68703         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68705 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68707         [BZ #13973]
68708         * locale/iso-639.def: Fix gl language name. Spotted by
68709         Yaron Shahrabani.
68711 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68713         [BZ #2074]
68714         * libio/libio.h (__io_write_fn): Update comment.
68716 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68718         [BZ #2074]
68719         * stdio.texi (Hook Functions): The user provided writer function
68720         is not allowed to return -1.
68722 2012-04-11  David S. Miller  <davem@davemloft.net>
68724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68726 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68728         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68729         Add a leading slash to rtkaio.
68731 2012-04-11  Jim Meyering  <meyering@redhat.com>
68733         [BZ #11959]
68734         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68735         It is not necessarily an error to ignore fwrite's return
68736         value.  One can reliably use ferror to test for errors after
68737         the fact.
68739 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68741         * bits/types.h (__snseconds_t): New type.
68742         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68744         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68745         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68746         (__SNSECONDS_T_TYPE): Likewise.
68747         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68748         (__SNSECONDS_T_TYPE): Likewise.
68749         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68750         (__SNSECONDS_T_TYPE): Likewise.
68752 2012-04-10  Andreas Jaeger  <aj@suse.de>
68754         [BZ #2636]
68755         * manual/time.texi (Processor Time): Return type of times is
68756         elapsed real time since an arbitrary point in the past.
68757         (CPU Time): Move CLK_TCK from here...
68758         (Processor Time): ...to here.  Correct description.
68759         * manual/conf.texi (Constants for Sysconf): Correct description of
68760         _SC_CLK_TCK.
68762 2012-04-10  David S. Miller  <davem@davemloft.net>
68764         [BZ #13967]
68765         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68766         where the is a gap between DT_REL(A) and DT_JMPREL.
68768 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68770         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68771         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68772         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68774 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68776         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68777         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68778         (dl_main): Handle --inhibit-cache.
68779         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68780         _dl_inhibit_cache.
68781         * elf/dl-load.c (_dl_map_object): Use it.
68782         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68784 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68786         [BZ #13872]
68787         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68788         (__ieee754_powl): Saturate large exponents rather than testing for
68789         overflow of y*log2(x).
68790         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68791         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68792         exceptions.
68794         [BZ #11521]
68795         * math/s_ctan.c: Include <float.h>.
68796         (__ctan): Avoid internal overflow or cancellation in calculating
68797         denominator.
68798         * math/s_ctanf.c: Likewise.
68799         * math/s_ctanl.c: Likewise.
68800         * math/s_ctanh.c: Likewise.
68801         * math/s_ctanhf.c: Likewise.
68802         * math/s_ctanhl.c: Likewise.
68803         * math/libm-test.inc (ctan_test): Add more tests.
68804         (ctanh_test): Likewise.
68805         * sysdeps/i386/fpu/libm-test-ulps: Update.
68806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68808 2012-04-09  Andreas Jaeger  <aj@suse.de>
68810         [BZ #6894]
68811         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68812         is an optional BSD extension.
68814         [BZ #10254]
68815         * manual/stdio.texi (Opening Streams): Document additional fopen
68816         parameters.
68818 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68820         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68821         %eax without telling the compiler.
68823 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68825         [BZ # 13963]
68826         * manual/install.texi: Use sourceware.org.
68828 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68830         [BZ #13873]
68831         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68832         (__ieee754_pow): Generate overflow and underflow using huge*huge
68833         and tiny*tiny rather than just returning constant infinity or zero
68834         for large exponents.
68835         * math/libm-test.inc (pow_test): Require overflow exceptions for
68836         applicable cases of large exponents.
68838         [BZ #706]
68839         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68840         (__ieee754_pow): Use iterative multiplication algorithm only for
68841         integer exponents with absolute value below 1024.  Check for odd
68842         integer exponents when using algorithm for real exponents.
68843         * math/libm-test.inc (pow_test): Add more tests.
68844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68846 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68848         [BZ #13705]
68849         * math/libm-test.inc (exp_test): Do not allow overflow exception
68850         on underflow test.
68852 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68854         [BZ #13705]
68855         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68856         instead of __kernel_standard_f.
68858 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68860         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68861         * sysdeps/x86_64/memset_chk.S: Likewise.
68863 2012-04-08  Andreas Jaeger  <aj@suse.de>
68865         [BZ #10153]
68866         * manual/startup.texi (Environment Access): Describe return value
68867         for putenv and setenv.
68869         [BZ #6895]
68870         * manual/filesys.texi (Directory Entries): Add description for
68871         DT_LNK.
68873         [BZ #6890]
68874         * manual/filesys.texi (Directory Entries): Clarify that it's file
68875         system not operating system in the description of DT_UNKNOWN.
68877         [BZ #6578]
68878         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68880 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68882         [BZ #6649]
68883         * manual/llio.texi (Opening and Closing Files): Add cross
68884         reference to explain mode argument.
68886 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68888         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68889         * sysdeps/x86_64/memset_chk.S: Likewise.
68891 2012-04-07  David S. Miller  <davem@davemloft.net>
68893         * elf/elf.h (R_SPARC_WDISP10): Define.
68894         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68895         R_SPARC_SIZE32.
68896         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68897         R_SPARC_SIZE64 and R_SPARC_H34.
68899 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68901         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68902         conditions and remove no longer applicable assertion.
68904 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68906         * bits/byteswap.h: Include <features.h>.
68907         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68908         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68910 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68912         * bits/byteswap.h (__bswap_16): Removed.
68913         Include <bits/byteswap-16.h> to get __bswap_16.
68914         * sysdeps/i386/bits/byteswap.h: Likewise.
68915         * sysdeps/s390/bits/byteswap.h: Likewise.
68916         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68917         * bits/byteswap-16.h: New file.
68918         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68919         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68920         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68921         * string/Makefile (headers): Add bits/byteswap-16.h.
68923 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68925         [BZ #13895]
68926         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68927         extra indirection.
68928         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68929         * nss/tst-nss-static.c: New.
68931 2012-04-06  Robert Millan  <rmh@gnu.org>
68933         [BZ #6486]
68934         * manual/llio.texi (File Position Primitive): lseek
68935         refers to WHENCE when it really means OFFSET.
68937 2012-04-06  Andreas Jaeger  <aj@suse.de>
68939         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68940         strncmp declarations.
68942         * abilist/libc.abilist: Add __poll and __ppoll.
68944 2012-04-05  David S. Miller  <davem@davemloft.net>
68946         * scripts/check-local-headers.sh: Accept a host triplet in the
68947         path matched by the exclude regexp.
68949         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68950         definition.
68951         * sysdeps/powerpc/powerpc32/dl-machine.h
68952         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68953         * sysdeps/s390/s390-32/dl-machine.h
68954         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68955         * sysdeps/sparc/sparc32/dl-machine.h
68956         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68957         * sysdeps/sparc/sparc64/dl-machine.h
68958         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68960         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68961         lazy binding.
68962         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68963         undefined symbol errors.
68965         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68966         DT_NEEDED entries.
68968 2012-04-05  Michael Matz  <matz@suse.de>
68970         [BZ #13592]
68971         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68973 2012-04-05  Andreas Jaeger  <aj@suse.de>
68975         [BZ #13908]
68976         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68977         comment.
68979 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68981         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68982         which ROUND is no valid rounding mode.
68984 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68986         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68987         read again.
68988         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68990 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68992         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68993         an exception using FPU order intentionally.
68995 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68997         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68998         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68999         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69000         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69002 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69004         [BZ #12340]
69005         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69006         EINVAL when BUFLEN is too smal.
69008 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69010         [BZ #13553]
69011         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69012         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69014 2012-04-03  Andreas Jaeger  <aj@suse.de>
69016         [BZ #13938]
69017         * manual/setjmp.texi (System V contexts): Fix sentence.
69019         [BZ #13926]
69020         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69021         New macro for this case.
69022         [!__GNUC__] (__bswap_64): New inline function for this case.
69023         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69024         * bits/byteswap.h: Likewise.
69025         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69026         ull, guard with __GLIBC_HAVE_LONG_LONG.
69028         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69029         __GLIBC_HAVE_LONG_LONG.
69031         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69032         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69034 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69036         [BZ #13691]
69037         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69038         inptr and inend, rather than using last_ch.
69040 2012-04-02  David S. Miller  <davem@davemloft.net>
69042         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69043         * stdio-common/printf-parse.h (read_int): Change return type to
69044         'int', return -1 on INT_MAX overflow.
69045         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69046         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69047         overflows INT_MAX.  Check for overflow of in-format-string precision
69048         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69049         SIZE_MAX not INT_MAX for integer overflow test.
69050         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69051         skip the construct in the format string but do not record anything.
69052         * stdio-common/bug22.c: Adjust to test both width/prevision
69053         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69054         explicitly for proper errno values.
69056 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69058         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69059         CHAR_MAX.
69060         * string/test-strcmp.c [! WIDE]: Likewise.
69061         * time/tst-mktime2.c: Likewise for INT_MAX.
69062         * string/test-string.h: #include <sys/param.h> for MIN.
69064         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69065         * sysdeps/i386/init-first.c (init): Likewise.
69066         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69067         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69068         * sysdeps/sh/init-first.c (init): Likewise.
69070 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69072         * po/ru.po: Update from translation team.
69073         * po/vi.po: Likewise.
69075 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69077         * resolv/nss_dns/dns-host.c: Merge copyright years.
69079 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69081         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69082         Optimize memcpy with prefetch if
69083         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69084         src, dst pointers have unequal 16 byte alignments.
69086 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69088         [BZ #13928]
69089         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69090         from a CNAME entry and return the minimum ttl for the query.
69091         (gaih_getanswer_slice): Likewise.
69093 2012-03-30  Jeff Law  <law@redhat.com>
69095         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69096         due to long keys.
69097         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69098         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69100         * resolv/nss_dns/dns-host.c: Update copyright year.
69102 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69104         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69105         requests to save a system call.  Fix check that all bytes are sent.
69107         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69108         comments for sendmmsg.
69110 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69112         [BZ #13691]
69113         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69114         with only 1 character between 0x0041 and 0x01b0.
69115         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69116         * wcsmbs/tst-mbsnrtowcs.c: New file.
69118 2012-03-29  David S. Miller  <davem@davemloft.net>
69120         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69121         small copies by hand.
69123 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69125         [BZ #13761]
69126         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69127         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69128         group memberships.
69130 2012-03-28  David S. Miller  <davem@davemloft.net>
69132         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69133         that branches into memcpy.
69134         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69135         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69136         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69137         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69138         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69139         bits.
69140         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69141         implementation too.
69142         * sysdeps/sparc/mempcpy.S: New file.
69144         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69145         the IFUNC routine in the libc case.
69146         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69148         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69149         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69150         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69151         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69152         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69153         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69154         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69155         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69157         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69158         loop to 256 bytes instead of 64 bytes and fix test signedness.
69160         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69161         * sysdeps/sparc/sparc32/Makefile: rather than here...
69162         * sysdeps/sparc/sparc64/Makefile: and here.
69164 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69166         * malloc/mallocbug.c: Avoid warnings about unused variables.
69168 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69170         [BZ #13760]
69171         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69172         in the right place. Discard and retry query if response is
69173         larger than input buffer size.
69175 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69177         [BZ #369]
69178         [BZ #2678]
69179         [BZ #3866]
69180         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69181         x for large integer exponent.
69182         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69183         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69184         sign of result as needed afterwards.
69185         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69186         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69187         result for underflowing pow the same as for overflow.
69188         (__kernel_standard_l): Handle powl overflow and underflow here
69189         rather than calling __kernel_standard.
69190         * math/libm-test.inc (pow_test): Add more tests.
69192         [BZ #3868]
69193         [BZ #13879]
69194         [BZ #13910]
69195         [BZ #13911]
69196         [BZ #13912]
69197         [BZ #13913]
69198         [BZ #13915]
69199         [BZ #13916]
69200         [BZ #13917]
69201         [BZ #13918]
69202         [BZ #13919]
69203         [BZ #13920]
69204         [BZ #13921]
69205         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69206         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69207         (__kernel_standard_l): New function.
69208         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69209         __kernel_standard.
69210         * math/w_acosl.c (__acosl): Likewise.
69211         * math/w_asinl.c (__asinl): Likewise.
69212         * math/w_atan2l.c (__atan2l): Likewise.
69213         * math/w_atanhl.c (__atanhl): Likewise.
69214         * math/w_coshl.c (__coshl): Likewise.
69215         * math/w_exp10l.c (__exp10l): Likewise.
69216         * math/w_exp2l.c (__exp2l): Likewise.
69217         * math/w_fmodl.c (__fmodl): Likewise.
69218         * math/w_hypotl.c (__hypotl): Likewise.
69219         * math/w_j0l.c (__j0l, __y0l): Likewise.
69220         * math/w_j1l.c (__j1l, __y1l): Likewise.
69221         * math/w_jnl.c (__jnl, __ynl): Likewise.
69222         * math/w_lgammal.c (__lgammal): Likewise.
69223         * math/w_log10l.c (__log10l): Likewise.
69224         * math/w_log2l.c (__log2l): Likewise.
69225         * math/w_logl.c (__logl): Likewise.
69226         * math/w_powl.c (__powl): Likewise.
69227         * math/w_remainderl.c (__remainderl): Likewise.
69228         * math/w_scalbl.c (sysv_scalbl): Likewise.
69229         * math/w_sinhl.c (__sinhl): Likewise.
69230         * math/w_sqrtl.c (__sqrtl): Likewise.
69231         * math/w_tgammal.c (__tgammal): Likewise.
69232         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69233         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69234         * math/libm-test.inc (acos_test): Add more tests.
69235         (acosh_test): Likewise.
69236         (asin_test): Likewise.
69237         (atanh_test): Likewise.
69238         (exp_test): Likewise.
69239         (exp10_test): Likewise.
69240         (exp2_test): Likewise.
69241         (expm1_test): Likewise.
69242         (lgamma_test): Likewise.
69243         (log_test): Likewise.
69244         (log10_test): Likewise.
69245         (log1p_test): Likewise.
69246         (log2_test): Likewise.
69247         (pow_test): Do not allow some spurious overflow exceptions.
69248         (sqrt_test): Add more tests.
69249         (tgamma_test): Likewise.
69250         (y0_test): Likewise.
69251         (y1_test): Likewise.
69252         (yn_test): Likewise.
69254 2012-03-27  Anton Blanchard  <anton@samba.org>
69256         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69257         MAP_HUGETLB.
69258         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69259         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69260         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69262 2012-03-27  David S. Miller  <davem@davemloft.net>
69264         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69266         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69267         have-as-vis3 check.
69269 2012-03-27  Andreas Jaeger  <aj@suse.de>
69271         * sysdeps/x86_64/elf/configure.in: Moved to ...
69272         * sysdeps/x86_64/configure.in: ... here.
69273         * sysdeps/x86_64/elf/start.S: Moved to ...
69274         * sysdeps/x86_64/start.S: ... here.
69275         * sysdeps/x86_64/elf/configure: Delete.
69277         * sysdeps/x86_64/configure.in: Merge contents from
69278         sysdeps/i386/configure.in (without i686 check).
69280         * sysdeps/i386/elf/Versions: Merge into ...
69281         * sysdeps/i386/Versions: ... this.
69282         * sysdeps/i386/elf/Versions: Delete file.
69283         * sysdeps/i386/elf/start.S: Moved to ...
69284         * sysdeps/i386/start.S: ...here.
69285         * sysdeps/i386/elf/configure.in: Merge into...
69286         * sysdeps/i386/configure.in: ...here.
69287         * sysdeps/i386/elf/configure.in: Delete file.
69288         * sysdeps/i386/elf/configure: Delete file.
69290         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69291         * debug/backtracesyms.c: ... here.
69292         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69293         * debug/backtracesymsfd.c: ... here.
69294         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69295         * sysdeps/generic/ifunc-sel.h: ... here.
69297         * sysdeps/unix/i386/start.c: Delete file.
69298         * sysdeps/unix/sparc/start.c: Delete file.
69299         * sysdeps/unix/start.c: Delete file.
69301         * sysdeps/sh/elf/configure.in: Moved to ...
69302         * sysdeps/sh/configure.in: ... here.
69303         * sysdeps/sh/elf/start.S: Moved to ...
69304         * sysdeps/sh/start.S: ... here.
69305         * sysdeps/sh/elf/configure: Delete file.
69307         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69308         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69309         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69310         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69311         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69312         * sysdeps/powerpc/powerpc64/start.S: here.
69313         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69314         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69315         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69316         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69317         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69319         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69320         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69321         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69322         * sysdeps/powerpc/powerpc32/start.S: ... here.
69323         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69324         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69325         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69327         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69328         * sysdeps/powerpc/ifunc-sel.h: ... here.
69329         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69330         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69332         * sysdeps/sparc/elf/configure.in: Moved to ...
69333         * sysdeps/sparc/configure.in: ... here.
69334         * sysdeps/sparc/elf/configure: Delete file.
69335         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69336         * sysdeps/sparc/sparc32/start.S: ... here.
69337         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69338         * sysdeps/sparc/sparc64/start.S: ... here.
69339         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69340         * sysdeps/sparc/sparc32/Makefile: ... this.
69341         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69342         * sysdeps/sparc/sparc64/Makefile: ... this.
69344         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69345         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69346         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69347         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69348         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69349         * sysdeps/s390/s390-32/setjmp.S: ... here.
69350         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69351         * sysdeps/s390/s390-32/configure.in: ... here.
69352         * sysdeps/s390/s390-32/elf/configure: Delete file.
69353         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69354         * sysdeps/s390/s390-32/start.S: ... here.
69356         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69357         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69358         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69359         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69360         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69361         * sysdeps/s390/s390-64/setjmp.S: ... here.
69362         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69363         * sysdeps/s390/s390-64/configure.in: ... here
69364         * sysdeps/s390/s390-64/elf/configure: Delete file.
69365         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69366         * sysdeps/s390/s390-64/start.S: ... here.
69367         * sysdeps/s390/s390-64/elf/configure: Delete.
69369         * configure.in: Remove support for elf directories in sysdeps.
69371         * configure: Regenerated.
69372         * sysdeps/i386/configure: Regenerated.
69373         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69374         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69375         * sysdeps/s390/s390-32/configure: Regenerated.
69376         * sysdeps/s390/s390-64/configure: Regenerated.
69377         * sysdeps/sh/configure: Regenerated.
69378         * sysdeps/sparc/configure: Regenerated.
69379         * sysdeps/x86_64/configure: Regenerated.
69381 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69385         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69386         denormal result into account.
69388 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69390         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69391         Reported by Allan McRae <allan@archlinux.org>.
69393 2012-03-23  Jeff Law  <law@redhat.com>
69395         * nss/getnssent.c (__nss_getent): Fix typo.
69397 2012-03-23  David S. Miller  <davem@davemloft.net>
69399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69401 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69403         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69404         to pad to uint64_t for each field.
69405         (dl_tls_index): Replace unsigned long with uint64_t.
69407 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69408         Paul Pluzhnikov  <ppluzhnikov@google.com>
69410         [BZ #6528]
69411         * grp/Makefile (otherlibs): Don't set it.
69412         * inet/Makefile (otherlibs): Likewise.
69413         * login/Makefile (otherlibs): Likewise.
69414         * nscd/Makefile (otherlibs): Likewise.
69415         * posix/Makefile (otherlibs): Likewise.
69416         * pwd/Makefile (otherlibs): Likewise.
69417         * rt/Makefile (otherlibs): Likewise.
69418         * sunrpc/Makefile (otherlibs): Likewise.
69419         * nss/Makefile (otherlibs): Likewise.
69420         Add libnss_files to routines and static-only-routines.
69421         ($(objpfx)getent): Remove rule.
69422         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69423         static-only-routines.
69425 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69427         [BZ #13892]
69428         * math/s_cexp.c: Include <float.h>.
69429         (__cexp): Handle exp result overflowing not necessarily
69430         overflowing both real and imaginary parts of result.
69431         * math/s_cexpf.c: Likewise.
69432         * math/s_cexpl.c: Likewise.
69433         * math/libm-test.inc (cexp_test): Add more tests.
69434         * sysdeps/i386/fpu/libm-test-ulps: Update.
69435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69437 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69439         * include/link.h (ELFW): New macro.
69440         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69441         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69443 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69445         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69446         with uint64_t.
69448 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69450         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69451         declaration.
69452         (struct La_x32_retval): Likewise.
69454 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69456         * sysdeps/x86_64/preconfigure.in: New file.
69457         * sysdeps/x86_64/preconfigure: New generated file.
69459 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69461         [BZ #13824]
69462         * math/e_exp2l.c: Include <float.h>.
69463         (__ieee754_exp2l): Handle overflow and underflow cases
69464         separately.  Only pass fractional part of argument to
69465         __ieee754_expl.
69466         * math/libm-test.inc (exp2_test): Add more tests.
69468         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69469         negating x to take absolute value.
69470         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69471         Likewise.
69472         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69473         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69474         Likewise.
69475         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69476         computing low part if x was negated.
69477         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69479 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69481         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69482         la_x32_gnu_pltexit.
69483         (pltexit): Cast int_retval to ptrdiff_t.
69484         * elf/tst-auditmod3b.c: Likewise.
69485         * elf/tst-auditmod4b.c: Likewise.
69486         * elf/tst-auditmod5b.c: Likewise.
69487         * elf/tst-auditmod6b.c: Likewise.
69488         * elf/tst-auditmod6c.c: Likewise.
69489         * elf/tst-auditmod7b.c: Likewise.
69491         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69492         and x32_gnu_pltexit.
69494         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69495         __ELF_NATIVE_CLASS.
69496         (La_x32_regs): New macro.
69497         (La_x32_retval): Likewise.
69498         (la_x32_gnu_pltenter): New function prototype.
69499         (la_x32_gnu_pltexit): Likewise.
69501 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69503         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69504         exponent.
69506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69508         * configure.in (libc_cv_cc_nofma): Check for option to disable
69509         generation of FMA instructions.
69510         * configure: Regenerate.
69511         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69512         * sysdeps/ieee754/dbl-64/Makefile: New file.
69513         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69514         Remove brandred-fma4.
69515         (CFLAGS-brandred-fma4.c): Remove.
69516         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69517         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69518         define.
69519         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69520         define.
69522 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69524         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69525         LLONG_MAX != LONG_MAX.
69526         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69527         (_fitoa_word): Likewise.
69528         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69529         LLONG_MAX != LONG_MAX.
69530         * stdio-common/_itowa.h: Include <_itoa.h>.
69531         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69532         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69533         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69534         only if not defined.
69535         (_ITOA_WORD_TYPE): Likewise.
69536         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69537         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69539 2012-03-21  David S. Miller  <davem@davemloft.net>
69541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69543 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69545         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69546         of x86_64 when setting libc_cv_slibdir, libdir and
69547         libc_cv_localedir.
69548         * sysdeps/unix/sysv/linux/configure: Regenerated.
69550 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69552         * manual/lang.texi (Old Varargs): Remove section.
69553         (How Variadic): Update menu.
69554         (va_start): Do not mention varargs.h.
69556 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69557             Joseph Myers  <joseph@codesourcery.com>
69559         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69560         link test.
69561         * configure: Regenerated.
69563 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69565         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69566         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69567         conformtest.pl
69569 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69571         * NOTES: Remove.
69572         * Makefile (files-for-dist): Remove NOTES.
69573         (NOTES): Remove rule.
69574         * README: Don't refer to NOTES.
69575         * manual/creature.texi: Don't include macros.texi.
69576         * manual/intro.texi (creature.texi): Remove comment referring to
69577         NOTES.
69579         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69580         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69581         * configure: Regenerated.
69582         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69583         LIBC_TRY_CC_OPTION.
69584         (libc_cv_as_i686): Likewise.
69585         (libc_cv_cc_avx): Likewise.
69586         (libc_cv_cc_sse2avx): Likewise.
69587         (libc_cv_cc_fma4): Likewise.
69588         (libc_cv_cc_novzeroupper): Likewise.
69589         * sysdeps/i386/configure: Regenerated.
69591         [BZ #13883]
69592         * sysdeps/i386/fpu/s_cexp.S: Remove.
69593         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69594         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69595         * math/libm-test.inc (cexp_test): Add more tests.
69596         * sysdeps/i386/fpu/libm-test-ulps: Update.
69597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69599 2012-03-21  Allan McRae  <allan@archlinux.org>
69601         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69603 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69605         [BZ #13871]
69606         * math/w_exp2.c: Do not include <float.h>.
69607         (o_threshold, u_threshold): Remove.
69608         (__exp2): Calculate result before checking finiteness and calling
69609         __kernel_standard.
69610         * math/w_exp2f.c: Likewise.
69611         * math/w_exp2l.c: Likewise.
69612         * math/libm-test.inc (exp2_test): Require overflow exception for
69613         1e6 input.
69615         [BZ #3866]
69616         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69617         range of signed 64-bit integers before using fistpll.  Remove
69618         checks for whether integers fit in mantissa bits.
69619         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69620         the range of signed 32-bit integers before using fistpl.  Remove
69621         checks for whether integers fit in mantissa bits.
69622         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69623         (__ieee754_powl): Test for y outside the range of signed 64-bit
69624         integers before using fistpll.  Reduce 64-bit values to 63-bit
69625         ones as needed.
69626         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69627         divide-by-zero is raised for zero to large negative powers.
69628         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69629         (__ieee754_powl): Test for y outside the range of signed 64-bit
69630         integers before using fistpll.  Reduce 64-bit values to 63-bit
69631         ones as needed.
69632         * math/libm-test.inc (pow_test): Add more tests.
69634 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69636         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69637         <stdio-common/_itoa.h>.
69638         * debug/segfault.c: Likewise.
69639         * elf/dl-cache.c: Likewise.
69640         * elf/dl-minimal.c: Likewise.
69641         * elf/dl-misc.c: Likewise.
69642         * elf/dl-sysdep.c: Likewise.
69643         * elf/dl-version.c: Likewise.
69644         * elf/rtld.c: Likewise.
69645         * hurd/hurdsock.c: Likewise.
69646         * hurd/lookup-retry.c: Likewise.
69647         * malloc/malloc.c: Likewise.
69648         * malloc/mtrace.c: Likewise.
69649         * nscd/nscd_getgr_r.c: Likewise.
69650         * nscd/nscd_getpw_r.c: Likewise.
69651         * nscd/nscd_getserv_r.c: Likewise.
69652         * posix/getopt_init.c: Likewise.
69653         * posix/wordexp.c: Likewise.
69654         * stdio-common/_itoa.c: Likewise.
69655         * stdio-common/printf_fphex.c: Likewise.
69656         * stdio-common/vfprintf.c: Likewise.
69657         * string/_strerror.c: Likewise.
69658         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69659         * sysdeps/i386/i686/hp-timing.h: Likewise.
69660         * sysdeps/mach/_strerror.c: Likewise.
69661         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69662         * sysdeps/mach/hurd/sethostid.c: Likewise.
69663         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69664         * sysdeps/mach/xpg-strerror.c: Likewise.
69665         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69666         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69667         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69668         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69669         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69670         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69671         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69672         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69673         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69674         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69675         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69676         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69677         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69678         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69679         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69680         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69681         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69682         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69683         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69684         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69685         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69687         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69689         * stdio-common/_itoa.h: Moved to ...
69690         * sysdeps/generic/_itoa.h: Here.
69692         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69694         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69695         instead of "_itoa.h" and "_itowa.h".
69696         * stdio-common/vfprintf.: Likewise.
69698 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69700         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69701         <bits/wordsize.h>.
69702         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69703         (__signbit): Likwise.
69704         (llrintf): Likwise.
69705         (llrint): Likwise.
69707 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69709         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69710         __WORDSIZE != 64.
69712 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69714         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69715         OVERFLOW_EXCEPTION_OK.
69716         * math/libm-test.inc ("Philosophy"): Update comment about
69717         exception testing.
69718         (OVERFLOW_EXCEPTION): Define.
69719         (OVERFLOW_EXCEPTION_OK): Likewise.
69720         (INVALID_EXCEPTION_OK): Renumber.
69721         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69722         (IGNORE_ZERO_INF_SIGN): Likewise.
69723         (test_exceptions): Handle FE_OVERFLOW.
69724         (exp10_test): Expect overflow exceptions.
69725         (exp2_test): Likewise.
69726         (expm1_test): Likewise.
69727         (nextafter_test): Likewise.
69728         (pow_test): Likewise.
69729         (scalbn_test): Likewise.
69730         (scalbln_test): Likewise.
69732 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69734         * sysdeps/x86_64/bits/atomic.h
69735         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69736         64bit integer.
69737         (atomic_exchange_acq): Likewise.
69738         (__arch_exchange_and_add_body): Likewise.
69739         (__arch_add_body): Likewise.
69740         (atomic_add_negative): Likewise.
69741         (atomic_add_zero): Likewise.
69743 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69745         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69746         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69748 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69750         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69751         Check __x86_64__ instead of __WORDSIZE.
69753 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69755         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69757 2012-03-19  David S. Miller  <davem@davemloft.net>
69759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69761         * sysdeps/sparc/fpu/fenv_private.h: New file.
69762         * sysdeps/sparc/fpu/math_private.h: Use it.
69763         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69764         Remove.
69765         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69766         (libc_feholdexcept_setroundl): Remove.
69767         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69768         Remove.
69769         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69770         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69772 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69774         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69775         int64_t instead of long int.
69776         (INSERT_WORDS64): Likwise.
69778 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69780         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69781         _Unwind_GetCFA return to _Unwind_Ptr first.
69783 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69785         [BZ #13629]
69786         * math/s_clog.c: Include <float.h>.
69787         (__clog): Scale large or subnormal inputs.
69788         * math/s_clogf.c: Likewise.
69789         * math/s_clogl.c: Likewise.
69790         * math/s_clog10.c: Include <float.h>.
69791         (M_LOG10_2): Define.
69792         (__clog10): Scale large or subnormal inputs.
69793         * math/s_clog10f.c: Likewise.
69794         * math/s_clog10l.c: Likewise.
69795         * math/libm-test.inc (clog_test): Add more tests.
69796         (clog10_test): Likewise.
69797         * sysdeps/i386/fpu/libm-test-ulps: Update.
69798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69800         [BZ #11451]
69801         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69802         x and y.
69803         * math/libm-test.inc (atan2_test): Add another test.
69805         * Makerules (common-objdir-compile): Remove.
69806         * sysdeps/unix/Makefile (config-generated): Do not add
69807         $(unix-generated) to variable.
69808         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69809         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69810         Remove rule.
69811         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69812         Likewise.
69813         [generic bits/local_lim.h] (before-compile): Do not append to
69814         variable.
69815         [generic bits/local_lim.h] (common-generated): Likewise.
69816         [generic sys/param.h] (before-compile): Do not append to variable.
69817         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69818         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69819         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69820         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69821         include.
69822         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69823         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69824         [generic sys/param.h] ($(addprefix
69825         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69826         [generic sys/param.h] (common-generated): Do not append to
69827         variable.
69828         [generic sys/param.h] (sysdep_headers): Likewise.
69829         [generic bits/errno.h] (before-compile): Do not append to
69830         variable.
69831         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69832         rule.
69833         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69834         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69835         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69836         [generic bits/errno.h] (common-generated): Do not append to
69837         variable.
69838         [generic bits/ioctls.h] (before-compile): Do not append to
69839         variable.
69840         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69841         rule.
69842         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69843         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69844         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69845         rule.
69846         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69847         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69848         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69849         [generic bits/ioctls.h] (common-generated): Do not append to
69850         variable.
69851         [generic sys/syscall.h] (syscall.h): Remove variable.
69852         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69853         rule.
69854         [generic sys/syscall.h] (before-compile): Do not append to
69855         variable.
69856         [generic sys/syscall.h] (common-generated): Likewise.
69857         * sysdeps/unix/errnos-tmpl.c: Remove file.
69858         * sysdeps/unix/errnos.awk: Likewise.
69859         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69860         * sysdeps/unix/ioctls.awk: Likewise.
69861         * sysdeps/unix/mk-local_lim.c: Likewise.
69862         * sysdeps/unix/snarf-ioctls: Likewise.
69864 2012-03-19  Richard Henderson  <rth@twiddle.net>
69866         * sysdeps/i386/fpu/fenv_private.h: New file.
69867         * sysdeps/i386/fpu/math_private.h: Use it.
69868         (math_opt_barrier, math_force_eval): Remove.
69869         (libc_feholdexcept_setround_53bit): Remove.
69870         (libc_feupdateenv_53bit): Remove.
69871         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69872         (math_opt_barrier, math_force_eval): Remove.
69873         (libc_feholdexcept): Remove.
69874         (libc_feholdexcept_setround): Remove.
69875         (libc_fetestexcept, libc_fesetenv): Remove.
69876         (libc_feupdateenv_test): Remove.
69877         (libc_feupdateenv, libc_feholdsetround): Remove.
69878         (libc_feresetround): Remove.
69880         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69881         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69883         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69884         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69885         (libc_feupdateenv_testl): New.
69886         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69887         (libc_feupdateenv_testf): New.
69888         (libc_feupdateenv): Use libc_feupdateenv_test.
69889         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69890         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69892         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69893         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69894         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69895         (libc_feresetround_noex): New.
69896         (libc_feresetround_noexf): New.
69897         (libc_feresetround_noexl): New.
69898         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69899         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69900         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69901         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69902         SET_RESTORE_ROUND.
69903         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69904         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69905         (__cos): Likewise.
69906         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69907         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69908         SET_RESTORE_ROUND_NOEX.
69909         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69910         SET_RESTORE_ROUND_NOEXF.
69911         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69912         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69913         (libc_feholdsetroundf): New.
69914         (libc_feresetround, libc_feresetroundf): New.
69916         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69917         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69918         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69920         * sysdeps/generic/math_private.h: Include <fenv.h>.
69921         (default_libc_feholdexcept): New.
69922         (default_libc_feholdexcept_setround): New.
69923         (default_libc_fesetenv, default_libc_feupdateenv): New.
69924         (libc_feholdexcept): Only define if undefined.
69925         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69926         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69927         (libc_feholdexcept_setroundl): Likewise.
69928         (libc_feholdexcept_setround_53bit): Likewise.
69929         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69930         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69931         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69932         (libc_feupdateenv_53bit): Likewise.
69933         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69934         (libc_feholdexcept): Convert from macro to inline function.
69935         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69936         (libc_fesetenv, libc_feupdateenv): Likewise.
69938         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69939         not previously defined.
69940         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69941         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69942         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69943         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69944         * sysdeps/ieee754/flt-32/math_private.h: New file.
69945         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69946         math_private.h below SET_FLOAT_WORD.
69947         (__isnan, __isinf_ns, __finite): Remove.
69948         (__isnanf, __isinf_nsf, __finitef): Remove.
69950 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69954 2012-03-17  David S. Miller  <davem@davemloft.net>
69956         [BZ #6471]
69957         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69958         for 2.16.
69960 2012-03-16  David S. Miller  <davem@davemloft.net>
69962         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69963         warnings.
69965         [BZ #6471]
69966         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69967         properly.
69968         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69969         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69970         sysdep_routines when subdir is sysvipc.
69971         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69972         __getshmlba helper.
69974         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69976 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69978         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69979         [__LP64__].
69981 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69983         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69984         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69985         (__lround): Renamed to ...
69986         (__llround): This.  Replace long int with long long int.
69987         Define lround functions as aliases of llround functions.
69988         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69990 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69992         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69993         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69994         adresses to uintptr_t.  Replace "long int" and "unsigned long
69995         int" with "greg_t" on va_arg.
69997 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69999         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70000         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70002         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70003         Move e_machine check before EI_CLASS check.  Handle x32
70004         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70005         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70006         SKIP_EM_IA_64 and include
70007         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70009         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70010         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70011         (add_system_dir): New macro.
70013         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70014         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70016 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70018         [BZ #2551]
70019         [BZ #2552]
70020         [BZ #2553]
70021         [BZ #2554]
70022         [BZ #2562]
70023         [BZ #2563]
70024         [BZ #2565]
70025         [BZ #2566]
70026         [BZ #2576]
70027         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70028         (y0): Likewise.
70029         * math/w_j0f.c (j0f): Likewise.
70030         (y0f): Likewise.
70031         * math/w_j0l.c (__j0l): Likewise.
70032         (__y0l): Likewise.
70033         * math/w_j1.c (j1): Likewise.
70034         (y1): Likewise.
70035         * math/w_j1f.c (j1f): Likewise.
70036         (y1f): Likewise.
70037         * math/w_j1l.c (__j1l): Likewise.
70038         (__y1l): Likewise.
70039         * math/w_jn.c (jn): Likewise.
70040         (yn): Likewise.
70041         * math/w_jnf.c (jnf): Likewise.
70042         (ynf): Likewise.
70043         * math/w_jnl.c (__jnl): Likewise.
70044         (__ynl): Likewise.
70045         * math/libm-test.inc (j0_test): Add more tests.
70046         (j1_test): Likewise.
70047         (jn_test): Likewise.  Add trailing semicolon to existing test.
70048         (y0_test): Likewise.
70049         (y1_test): Likewise.
70050         * sysdeps/i386/fpu/libm-test-ulps: Update.
70051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70053         [BZ #13851]
70054         [BZ #13854]
70055         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70056         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70057         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70058         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70059         (__tanl): Set errno for infinite argument.
70060         * sysdeps/i386/fpu/mptan.c: Remove.
70061         * sysdeps/i386/fpu/s_tan.S: Likewise.
70062         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70063         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70064         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70065         * math/libm-test.inc (tan_test): Add more tests and enable more
70066         tests for double and long double.
70067         * sysdeps/i386/fpu/libm-test-ulps: Update.
70068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70070 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70072         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70073         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70075 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70077         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70078         * configure.in: Use it for both main tree and add-ons.
70079         * configure: Regenerated.
70081 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70083         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70085 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70087         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70088         in comment.
70090         [BZ #13851]
70091         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70092         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70093         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70094         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70095         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70096         infinite argument.
70097         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70098         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70099         != 0 for prec == 2.
70100         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70101         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70102         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70103         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70104         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70105         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70106         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70107         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70108         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70109         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70110         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70111         * math/libm-test.inc (cos_test): Add more tests and enable more
70112         tests for long double.
70113         (sin_test): Likewise.
70114         (sincos_test): Likewise.
70115         * sysdeps/i386/fpu/libm-test-ulps: Update.
70116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70118 2012-03-16  David S. Miller  <davem@davemloft.net>
70120         * sysdeps/sparc/fpu/math_private.h: New file.
70122 2012-03-15  David S. Miller  <davem@davemloft.net>
70124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70125         file.
70126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70128         file.
70129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70134         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70135         sysdep routines.
70136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70138         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70139         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70141         * sysdeps/sparc/sparc-ifunc.h: New file.
70142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70143         sparc-ifunc.h
70144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70146         Likewise.
70147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70148         Likewise.
70149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70153         Likewise.
70154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70159         Likewise.
70160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70161         Likewise.
70162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70166         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70167         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70168         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70169         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70176         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70177         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70178         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70179         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70180         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70181         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70182         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70183         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70184         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70185         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70187 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70189         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70190         scaling.
70191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70193 2012-03-15  Andreas Jaeger  <aj@suse.de>
70195         [BZ #13852]
70196         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70197         ieee754/flt-32 implementation for sin, cos and sincos.
70198         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70199         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70200         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70201         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70202         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70203         ieee754/flt-32 implementation for tan.
70205         * math/libm-test.inc (cos_test): Enable some large input tests for
70206         float as well
70207         (sin_test): Likewise.
70208         (sincos_test): Likewise.
70209         (tan_test): Add tests for large input.
70211         * sysdeps/i386/fpu/libm-test-ulps: Update.
70213 2012-03-15  Andreas Jaeger  <aj@suse.de>
70215         [BZ #13658]
70216         * math/libm-test.inc (cos_test): Add more test cases.
70217         (sin_test): Likewise.
70218         (sincos_test): Likewise.
70220 2012-03-15  Andreas Jaeger  <aj@suse.de>
70222         [BZ #13837]
70223         * math/libm-test.inc (cos_test): Add a test case for large input
70224         value.
70225         (sin_test): Likewise.
70226         (sincos_test): Likewise.
70228 2012-03-15  Andreas Jaeger  <aj@suse.de>
70229             Joseph Myers  <joseph@codesourcery.com>
70231         [BZ #13658]
70232         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70233         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70234         * sysdeps/i386/fpu/branred.c: Likewise.
70235         * sysdeps/i386/fpu/dosincos.c: Likewise.
70236         * sysdeps/i386/fpu/mpa.c: Likewise.
70237         * sysdeps/i386/fpu/s_cos.S: Likewise.
70238         * sysdeps/i386/fpu/s_sin.S: Likewise.
70239         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70240         * sysdeps/i386/fpu/sincos32.c: Likewise.
70242         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70243         Define.
70244         (libc_feupdateenv_53bit): Define.
70245         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70246         Define.
70247         (libc_feupdateenv_53bit): Define.
70249         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70250         53 bit (without extend i386 double precision).
70252         * math/libm-test.inc (sincos_test): Add tests for large input.
70253         (sin): Likewise.
70254         (cos): Likewise.
70256         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70258 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70262 2012-03-15  David S. Miller  <davem@davemloft.net>
70264         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70265         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70266         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70267         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70278         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70280         file.
70281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70283         file.
70284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70286         file.
70287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70289         file.
70290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70291         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70292         fmin/fmax sysdep routines.
70293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70295 2012-03-14  David S. Miller  <davem@davemloft.net>
70297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70299         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70300         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70301         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70302         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70303         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70304         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70306         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70312         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70313         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70314         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70315         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70316         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70317         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70318         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70319         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70320         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70321         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70322         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70323         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70324         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70325         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70326         routines.
70327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70328         file.
70329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70331         file.
70332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70334         file.
70335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70337         file.
70338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70340         file.
70341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70343         file.
70344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70345         file.
70346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70347         file.
70348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70349         file.
70350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70351         New file.
70352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70353         file.
70354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70355         file.
70356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70358         file.
70359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70361         file.
70362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70364         file.
70365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70367         VIS3 routines.
70369         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70370         New file.
70372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70374         * sysdeps/sparc/configure.in: New file.
70375         * sysdeps/sparc/configure: Generate.
70376         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70377         * configure: Regenerate.
70378         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70379         * config.make.in (have-as-vis3): New.
70380         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70381         available use -Av9d instead of -Av9a.
70382         * sysdeps/sparc/sparc64/Makefile: Likewise.
70383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70385         New file.
70386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70387         file.
70388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70389         New file.
70390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70391         file.
70392         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70393         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70394         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70395         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70396         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70398         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70399         fzeros/fnegs to load 0x80000000 into a float register instead of
70400         using the stack.
70401         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70403 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70406         bits/syscall.h.
70407         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70408         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70409         ($(inst_includedir)/bits/syscall.h): Remove rule.
70410         ($(objpfx)bits/syscall.d): Include instead of
70411         $(objpfx)syscall-list.d.
70412         (generated): Change syscall-list.h and syscall-list.d to
70413         bits/syscall.h and bits/syscall.d.
70415 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70417         [BZ #13846]
70418         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70420 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70422         [BZ #13841]
70423         * math/s_csqrt.c: Include <float.h>.
70424         (__csqrt): Scale large or subnormal inputs.
70425         * math/s_csqrtf.c: Likewise.
70426         * math/s_csqrtl.c: Likewise.
70427         * math/libm-test.inc (csqrt_test): Add more tests.
70428         * sysdeps/i386/fpu/libm-test-ulps: Update.
70429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70431         [BZ #13840]
70432         * math/libm-test.inc (hypot_test): Add more tests.
70434 2012-03-13  David S. Miller  <davem@davemloft.net>
70436         [BZ #13840]
70437         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70438         double-precision for the calculation instead of scaling.
70440 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70442         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70443         manipulate bits before adding and subtracting TWO52[sx].
70444         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70445         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70446         Likewise.
70447         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70449 2012-03-13  David S. Miller  <davem@davemloft.net>
70451         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70452         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70453         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70454         rtld-global-offsets.h
70455         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70457         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70458         large parameters.
70460         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70462         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70463         'err' in the ifdef scope in which it is actually used.
70465         * nss/nss_db/db-init.c: Include string.h
70467 2012-03-12  David S. Miller  <davem@davemloft.net>
70469         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70470         masking out of the most significant byte of random value used.
70471         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70472         Fix coding style in previous change.
70474         * sysdeps/unix/sysv/linux/kernel-features.h
70475         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70476         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70477         expression.
70478         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70479         later.
70481 2012-03-11  David S. Miller  <davem@davemloft.net>
70483         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70484         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70485         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70486         for 'resultvar' otherwise things get truncated on 64-bit.
70488         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70489         Fix masking out of the most significant byte of random value used.
70491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70493 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70497 2012-03-09  David S. Miller  <davem@davemloft.net>
70499         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70500         variables with appropriate CPP guards.
70501         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70502         from the frame pointer, not the stack pointer.  Correct layout
70503         comments.  Fix test on resulting framesize and the management of
70504         the outregs buffer for pltexit.  Preserve floating point return
70505         values across _dl_call_pltexit call.
70506         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70507         framesize and the management of the outregs buffer for pltexit.
70508         Preserve floating point return values across _dl_call_pltexit
70509         call.
70510         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70511         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70512         (la_sparc64_gnu_pltexit): New functions.
70513         (print_exit): Fix format string for return register value.
70515 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70517         * sunrpc/Makefile (others): Add rpcgen.
70518         ($(objpfx)rpcgen): Remove special build rule and dependency on
70519         libc.
70520         * sunrpc/rpcgen.c: New file.
70522 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70524         [BZ #13673]
70525         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70526         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70527         * sysdeps/i386/crti.S: Likewise.
70528         * sysdeps/i386/crtn.S: Likewise.
70529         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70530         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70531         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70532         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70533         * sysdeps/sh/crti.S: Likewise.
70534         * sysdeps/sh/crtn.S: Likewise.
70535         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70537         [BZ #13673]
70538         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70539         with URL.
70540         * locale/programs/locfile-kw.gperf: Likewise.
70541         * locale/programs/charmap-kw.h: Regenerated.
70542         * locale/programs/locfile-kw.h: Likewise.
70544         [BZ #13673]
70545         * intl/plural.y: Replace FSF snail mail address with URL.
70546         * intl/plural.c: Regenerated.
70548 2012-03-09  Richard Henderson  <rth@twiddle.net>
70550         * include/math_private.h: Remove file.
70551         * math/math_private.h: Move file ...
70552         * sysdeps/generic/math_private.h: ... here.
70554         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70555         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70556         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70558         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70559         and <math_private.h>.
70560         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70561         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70562         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70563         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70564         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70565         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70566         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70567         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70568         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70569         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70570         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70571         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70572         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70573         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70574         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70575         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70576         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70577         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70578         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70579         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70580         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70581         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70582         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70583         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70584         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70585         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70586         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70587         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70588         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70589         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70590         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70591         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70592         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70593         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70594         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70595         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70596         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70597         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70598         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70599         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70600         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70601         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70602         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70603         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70604         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70605         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70606         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70607         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70608         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70609         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70610         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70611         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70612         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70613         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70614         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70615         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70616         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70617         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70618         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70619         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70620         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70621         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70622         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70623         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70624         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70625         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70626         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70627         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70628         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70629         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70630         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70631         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70632         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70633         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70634         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70635         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70636         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70637         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70638         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70639         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70640         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70641         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70642         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70643         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70644         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70645         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70646         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70647         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70648         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70649         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70650         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70651         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70652         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70653         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70654         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70655         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70656         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70657         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70658         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70659         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70660         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70661         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70662         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70663         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70664         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70665         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70666         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70667         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70668         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70669         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70670         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70671         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70672         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70673         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70674         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70675         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70676         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70677         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70678         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70679         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70680         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70681         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70682         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70683         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70684         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70685         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70686         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70687         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70688         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70689         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70690         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70691         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70692         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70693         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70694         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70695         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70696         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70697         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70698         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70699         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70700         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70701         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70702         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70703         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70704         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70705         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70706         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70707         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70708         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70709         * sysdeps/ieee754/k_standard.c: Likewise.
70710         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70711         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70712         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70713         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70714         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70715         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70716         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70717         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70718         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70719         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70720         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70721         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70722         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70723         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70724         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70725         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70726         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70727         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70728         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70729         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70730         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70731         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70732         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70733         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70734         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70735         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70736         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70737         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70738         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70739         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70740         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70741         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70742         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70743         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70744         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70745         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70746         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70747         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70748         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70749         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70750         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70751         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70752         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70753         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70754         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70755         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70756         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70757         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70758         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70759         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70760         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70761         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70762         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70763         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70764         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70765         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70766         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70767         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70768         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70769         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70770         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70771         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70772         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70773         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70774         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70775         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70776         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70777         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70778         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70779         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70780         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70781         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70782         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70783         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70784         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70785         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70786         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70787         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70788         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70789         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70790         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70791         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70792         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70793         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70794         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70795         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70796         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70797         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70798         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70799         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70800         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70801         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70802         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70803         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70804         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70805         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70806         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70807         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70808         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70809         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70810         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70811         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70812         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70813         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70814         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70815         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70816         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70817         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70818         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70819         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70820         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70821         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70822         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70823         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70824         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70825         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70826         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70827         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70828         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70829         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70830         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70831         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70832         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70833         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70834         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70835         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70836         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70837         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70838         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70839         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70840         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70841         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70842         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70843         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70844         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70845         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70846         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70847         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70848         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70849         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70850         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70851         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70852         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70853         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70854         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70855         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70856         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70857         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70858         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70859         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70860         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70861         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70862         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70863         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70864         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70865         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70866         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70867         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70868         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70869         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70870         * sysdeps/ieee754/s_lib_version.c: Likewise.
70871         * sysdeps/ieee754/s_matherr.c: Likewise.
70872         * sysdeps/ieee754/s_signgam.c: Likewise.
70873         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70874         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70875         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70876         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70877         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70878         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70879         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70880         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70881         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70882         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70883         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70884         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70885         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70886         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70887         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70888         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70889         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70890         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70891         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70892         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70893         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70895 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70897         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70898         * sunrpc/rpc_main.c: Likewise.
70899         * sunrpc/rpc_svcout.c: Likewise.
70901 2012-03-09  David S. Miller  <davem@davemloft.net>
70903         * include/math_private.h: New file.
70905 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70907         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70908         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70909         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70910         from <bits/socket_type.h>.
70911         (enum __socket_type): Don't define here.
70912         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70913         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70914         bits/socket_type.h.
70916         [BZ #13566]
70917         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70918         checking __USE_GNU.
70920         * Makerules ($(inst_includedir)/%.h): New rule.
70921         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70922         (install-others): Remove variable setting.
70923         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70925 2012-03-08  Richard Henderson  <rth@twiddle.net>
70927         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70928         from macro to inline function; merge with the
70929         !__LIBC_INTERNAL_MATH_INLINES version.
70930         (__ieee754_sqrtf): Likewise.
70932         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70933         to inline function.
70934         (__rintf, __floor, __floorf): Likewise.
70936         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70937         macro to inline function.
70938         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70940         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70941         not <math/math_private.h>.
70943 2012-03-08  David S. Miller  <davem@davemloft.net>
70945         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70946         copyright year.
70947         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70949 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70951         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70952         normalization.
70953         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70954         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70956 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70958         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70959         be defined individually, they must be defined as a block.  Define
70960         S for printing a string instead of hidint the different by using a
70961         macro for adding the 'l'.
70962         * stdio-common/tst-fphex-wide.c: Adjust.
70964 2012-03-07  Marek Polacek  <polacek@redhat.com>
70966         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70968 2012-03-08  Marek Polacek  <polacek@redhat.com>
70970         [BZ #13806]
70971         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70972         * stdio-common/tst-fphex.c: Define a few macros to make the
70973         test reusable.  Use them.
70974         * stdio-common/tst-fphex-wide.c: New file.
70976 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70978         [BZ #6911]
70979         * manual/macros.texi (gnusystems): New macro.
70980         (nongnusystems): Likewise.
70981         (gnulinuxhurdsystems): Likewise.
70982         (gnuhurdsystems): Likewise..
70983         (gnulinuxsystems): Likewise.
70984         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70985         variants of the GNU system, not "GNU system".
70986         * manual/conf.texi: Likewise.
70987         * manual/errno.texi: Likewise.  Update example of errno macro
70988         expansion.
70989         * manual/filesys.texi: Likewise.
70990         (getumask): Document as specific to GNU/Hurd.
70991         * manual/install.texi: Likewise.  Reword some references to
70992         GNU/Linux.
70993         * manual/intro.texi: Likewise.
70994         * manual/io.texi: Likewise.
70995         (File Name Portability): Detail which constraints are inapplicable
70996         to all GNU systems and which are only inapplicable to GNU/Hurd.
70997         * manual/job.texi: Likewise.
70998         * manual/llio.texi: Likewise.
70999         (O_NOCTTY): Document as present on GNU/Linux.
71000         * manual/maint.texi: Likewise.
71001         * manual/memory.texi: Likewise.
71002         * manual/pattern.texi: Likewise.
71003         * manual/pipe.texi: Likewise.
71004         * manual/process.texi: Likewise.
71005         * manual/resource.texi: Likewise.
71006         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71007         child on GNU/Hurd.
71008         * manual/setjmp.texi: Likewise.
71009         * manual/signal.texi: Likewise.
71010         * manual/startup.texi: Likewise.
71011         * manual/stdio.texi: Likewise.
71012         * manual/terminal.texi: Likewise.
71013         (ONLCR): Document as POSIX.
71014         (OXTABS): Document availability on GNU/Linux as XTABS.
71015         (ONOEOT): Document availability separately from other bits.
71016         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71017         * manual/time.texi: Likewise.
71018         * manual/users.texi: Likewise.
71019         * INSTALL: Regenerated.
71020         * sysdeps/gnu/errlist.c: Regenerated.
71022         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71023         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71024         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71025         puts.
71026         * configure: Regenerated.
71028 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71030         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71031         default includes instead of AC_HEADER_CHECK.
71032         * sysdeps/i386/configure: Regenerated.
71034         [BZ #10716]
71035         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71036         * math/s_cacoshf.c (__cacoshf): Likewise.
71037         * math/s_cacoshl.c (__cacoshl): Likewise.
71038         * math/s_casinh.c (__casinh): Set signs of result from argument.
71039         * math/s_casinhf.c (__casinhf): Likewise.
71040         * math/s_casinhl.c (__casinhl): Likewise.
71041         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71042         (casinh_test): Add more tests.
71043         * sysdeps/i386/fpu/libm-test-ulps: Update.
71044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71046 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71048         * po/zh_TW.po: Update from translation team.
71050         * login/Makefile (distribute): Remove variable.
71051         * catgets/Makefile: Likewise.
71052         * mach/Makefile: Likewise.
71053         * malloc/Makefile: Likewise.
71054         * misc/Makefile: Likewise.
71055         * iconv/Makefile: Likewise.
71056         * nscd/Makefile: Likewise.
71057         * hurd/Makefile: Likewise.
71058         * manual/Makefile: Likewise.
71059         * locale/Makefile: Likewise.
71060         * intl/Makefile: Likewise.
71061         * conform/Makefile: Likewise.
71062         * nss/Makefile: Likewise.
71063         * time/Makefile: Likewise.
71064         * soft-fp/Makefile: Likewise.
71065         * dirent/Makefile: Likewise.
71066         * gmon/Makefile: Likewise.
71067         * po/Makefile: Likewise.
71068         * rt/Makefile: Likewise.
71069         * socket/Makefile: Likewise.
71070         * math/Makefile: Likewise.
71071         * signal/Makefile: Likewise.
71072         * debug/Makefile: Likewise.
71073         * elf/Makefile: Likewise.
71074         * timezone/Makefile: Likewise.
71075         * stdlib/Makefile: Likewise.
71076         * iconvdata/Makefile: Likewise.
71077         * sunrpc/Makefile: Likewise.
71078         * io/Makefile: Likewise.
71079         * argp/Makefile: Likewise.
71080         * inet/Makefile: Likewise.
71081         * hesiod/Makefile: Likewise.
71082         * grp/Makefile: Likewise.
71083         * csu/Makefile: Likewise.
71084         * wctype/Makefile: Likewise.
71085         * crypt/Makefile: Likewise.
71086         * libio/Makefile: Likewise.
71087         * string/Makefile: Likewise.
71088         * nis/Makefile: Likewise.
71089         * resolv/Makefile: Likewise.
71090         * stdio-common/Makefile: Likewise.
71091         * wcsmbs/Makefile: Likewise.
71092         * dlfcn/Makefile: Likewise.
71093         * posix/Makefile: Likewise.
71095         [BZ #6959]
71096         * timezone/Makefile: Don't install timezone files, just the programs
71097         and scripts.
71099 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71101         * nss/databases.def: Add missing gshadow entry.
71103         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71105 2012-03-06  Marek Polacek  <polacek@redhat.com>
71107         [BZ #13726]
71108         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71109         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71110         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71111         * stdio-common/tst-long-dbl-fphex.c: New file.
71113 2012-03-06  David S. Miller  <davem@davemloft.net>
71115         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71116         (set_obp_int): New function.
71117         (get_obp_int): New function.
71118         (__get_clockfreq_via_dev_openprom): Likewise.
71119         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71120         Avoid unused variable warnings on 'val' and use builtin_expect.
71121         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71122         __builtin_expect.
71123         (INLINE_CLONE_SYSCALL): Likewise.
71125 2012-03-05  David S. Miller  <davem@davemloft.net>
71127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71129 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71133         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71134         only for |x| >= 40.
71135         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71137 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71139         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71140         Replace gettimeofday with __vdso_gettimeofday.
71142         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71143         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71144         __vdso_clock_gettime and __vdso_getcpu.
71146         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71147         time with __vdso_time.
71149 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71151         * manual/lang.texi (size_t): Note types to which size_t may be
71152         equivalent with the GNU C Library, but do not describe when
71153         differences between them are significant.
71155 2012-03-05  Andreas Jaeger  <aj@suse.de>
71157         * sysdeps/i386/fpu/libm-test-ulps: Update.
71159 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71161         [BZ #3976]
71162         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71163         (__ieee754_pow): Save and restore rounding mode and use
71164         round-to-nearest for main computations.
71165         * math/libm-test.inc (pow_test_tonearest): New function.
71166         (pow_test_towardzero): Likewise.
71167         (pow_test_downward): Likewise.
71168         (pow_test_upward): Likewise.
71169         (main): Call the new functions.
71170         * sysdeps/i386/fpu/libm-test-ulps: Update.
71171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71173         [BZ #3976]
71174         * math/libm-test.inc (cosh_test_tonearest): New function.
71175         (cosh_test_towardzero): Likewise.
71176         (cosh_test_downward): Likewise.
71177         (cosh_test_upward): Likewise.
71178         (sinh_test_tonearest): Likewise.
71179         (sinh_test_towardzero): Likewise.
71180         (sinh_test_downward): Likewise.
71181         (sinh_test_upward): Likewise.
71182         (main): Call the new functions.
71183         * sysdeps/i386/fpu/libm-test-ulps: Update.
71184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71186 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71188         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71189         default stack guard is set in last bytes.
71190         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71192 2012-03-05  Kees Cook  <keescook@chromium.org>
71194         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71196         [BZ #13656]
71197         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71198         possibly allocate from heap instead of stack.
71199         * stdio-common/bug-vfprintf-nargs.c: New file.
71200         * stdio-common/Makefile (tests): Add nargs overflow test.
71202 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71206 2012-03-03  Marek Polacek  <polacek@redhat.com>
71208         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71209         * math/math_private.h: Likewise.
71210         * stdlib/tst-strtod.c: Likewise.
71211         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71212         * sysdeps/x86_64/bits/atomic.h: Likewise.
71214 2012-03-02  David S. Miller  <davem@davemloft.net>
71216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71220         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71221         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71222         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71223         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71225 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71227         [BZ #13792]
71228         * manual/examples/README: New file, says the example source files
71229         can be used under GPL>=2.
71230         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71231         line containing just "*/".
71232         * manual/examples/add.c: Add copyright header (GPL>=2).
71233         * manual/examples/argp-ex1.c: Likewise.
71234         * manual/examples/argp-ex2.c: Likewise.
71235         * manual/examples/argp-ex3.c: Likewise.
71236         * manual/examples/argp-ex4.c: Likewise.
71237         * manual/examples/atexit.c: Likewise.
71238         * manual/examples/db.c: Likewise.
71239         * manual/examples/dir.c: Likewise.
71240         * manual/examples/dir2.c: Likewise.
71241         * manual/examples/execinfo.c: Likewise.
71242         * manual/examples/filecli.c: Likewise.
71243         * manual/examples/filesrv.c: Likewise.
71244         * manual/examples/fmtmsgexpl.c: Likewise.
71245         * manual/examples/genpass.c: Likewise.
71246         * manual/examples/inetcli.c: Likewise.
71247         * manual/examples/inetsrv.c: Likewise.
71248         * manual/examples/isockad.c: Likewise.
71249         * manual/examples/longopt.c: Likewise.
71250         * manual/examples/memopen.c: Likewise.
71251         * manual/examples/memstrm.c: Likewise.
71252         * manual/examples/mkfsock.c: Likewise.
71253         * manual/examples/mkisock.c: Likewise.
71254         * manual/examples/mygetpass.c: Likewise.
71255         * manual/examples/pipe.c: Likewise.
71256         * manual/examples/popen.c: Likewise.
71257         * manual/examples/rprintf.c: Likewise.
71258         * manual/examples/search.c: Likewise.
71259         * manual/examples/select.c: Likewise.
71260         * manual/examples/setjmp.c: Likewise.
71261         * manual/examples/sigh1.c: Likewise.
71262         * manual/examples/sigusr.c: Likewise.
71263         * manual/examples/stpcpy.c: Likewise.
71264         * manual/examples/strdupa.c: Likewise.
71265         * manual/examples/strftim.c: Likewise.
71266         * manual/examples/strncat.c: Likewise.
71267         * manual/examples/subopt.c: Likewise.
71268         * manual/examples/swapcontext.c: Likewise.
71269         * manual/examples/termios.c: Likewise.
71270         * manual/examples/testopt.c: Likewise.
71271         * manual/examples/testpass.c: Likewise.
71272         * manual/examples/timeval_subtract.c: Likewise.
71274         [BZ #13792]
71275         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71276         function to ...
71277         * manual/timeval_subtract.c.texi: ... here, new file.
71279 2012-03-02  David S. Miller  <davem@davemloft.net>
71281         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71283 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71285         [BZ #3976]
71286         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71287         (__sin): Save and restore rounding mode and use round-to-nearest
71288         for all computations.
71289         (__cos): Save and restore rounding mode and use round-to-nearest
71290         for all computations.
71291         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71292         <fenv.h>.
71293         (tan): Save and restore rounding mode and use round-to-nearest for
71294         all computations.
71295         * math/libm-test.inc (cos_test_tonearest): New function.
71296         (cos_test_towardzero): Likewise.
71297         (cos_test_downward): Likewise.
71298         (cos_test_upward): Likewise.
71299         (sin_test_tonearest): Likewise.
71300         (sin_test_towardzero): Likewise.
71301         (sin_test_downward): Likewise.
71302         (sin_test_upward): Likewise.
71303         (tan_test_tonearest): Likewise.
71304         (tan_test_towardzero): Likewise.
71305         (tan_test_downward): Likewise.
71306         (tan_test_upward): Likewise.
71307         (main): Call the new functions.
71308         * sysdeps/i386/fpu/libm-test-ulps: Update.
71309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71311         [BZ #10135]
71312         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71313         small n, then large n, before computing and testing k+n.
71314         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71315         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71316         Likewise.
71317         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71318         Likewise.
71319         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71320         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71321         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71322         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71323         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71324         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71325         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71326         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71327         * math/libm-test.inc (scalbn_test): Add more tests.
71328         (scalbln_test): Likewise.
71330         * manual/filesys.texi (mode_t): Describe constraints on size and
71331         signedness, not exact equivalence to a particular type.
71332         (ino_t): Likewise.
71333         (ino64_t): Likewise.
71334         (dev_t): Likewise.
71335         (nlink_t): Likewise.
71336         (blkcnt_t): Likewise.
71337         (blkcnt64_t): Likewise.
71338         * manual/llio.texi (off_t): Likewise.
71340         [BZ #3976]
71341         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71342         (__ieee754_exp): Save and restore rounding mode and use
71343         round-to-nearest for all computations.
71344         * math/libm-test.inc (exp_test_tonearest): New function.
71345         (exp_test_towardzero): Likewise.
71346         (exp_test_downward): Likewise.
71347         (exp_test_upward): Likewise.
71348         (main): Call the new functions.
71349         * sysdeps/i386/fpu/libm-test-ulps: Update.
71350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71352 2012-03-01  Chris Demetriou  <cgd@google.com>
71354         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71355         have predictable order.
71357 2012-03-01  David S. Miller  <davem@davemloft.net>
71359         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71361         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71362         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71363         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71364         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71366         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71367         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71368         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71370         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71371         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71372         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71373         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71374         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71378         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71379         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71380         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71382         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71383         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71384         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71385         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71386         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71387         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71388         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71389         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71390         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71391         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71392         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71393         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71394         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71395         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71396         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71397         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71398         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71399         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71400         * sysdeps/sparc/elf/configure: Regenerated.
71402 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71404         * configure.in (AS, LD): Require binutils 2.20 or later.
71405         * configure: Regenerated.
71406         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71407         as required minimum version.
71408         * INSTALL: Regenerated.
71410         [BZ #2541]
71411         [BZ #4108]
71412         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71413         before squaring exponent.
71414         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71415         bottom long double and 27 bits of top long double before squaring
71416         exponent.
71417         * math/libm-test.inc (erfc_test): Add more tests.
71418         * sysdeps/i386/fpu/libm-test-ulps: Update.
71419         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71422 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71424         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71425         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71426         containing bit-fields.
71427         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71428         * soft-fp/single.h (_FP_UNION_S): Likewise.
71429         * soft-fp/double.h (_FP_UNION_D): Likewise.
71431 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71433         [BZ #13786]
71434         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71435         not include ../strcmp.S.
71436         [USE_AS_STRNCASECMP_L]: Likewise.
71437         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71438         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71439         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71440         (__strncasecmp_l_ia32): Define as alias to
71441         __strncasecmp_l_nonascii.
71443         [BZ #5794]
71444         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71445         * sysdeps/i386/fpu/libm-test-ulps: Update.
71446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71448         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71451 2012-02-29  Jeff Law  <law@redhat.com>
71453         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71454         out of bounds read.
71456 2012-02-29  Marek Polacek  <polacek@redhat.com>
71458         [BZ #13706]
71459         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71460         * elf/Makefile: Add rules to run tst-unused-dep.out.
71462 2012-02-28  David S. Miller  <davem@davemloft.net>
71464         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71465         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71466         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71467         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71468         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71469         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71471 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71473         * math/libm-test.inc (llround_test): Move one test from
71474         lround_test.  Use TEST_f_L in moved test.
71475         (lround_test): Move misplaced test to llround_test.  Add testcase
71476         from bug 2561.
71478 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71480         * sysdeps/x86_64/fpu/e_expf.S: New file.
71481         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71483 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71485         [BZ #13637]
71486         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71487         of remain_len that may cause incomplete multi-byte character and
71488         false match.
71489         * posix/bug-regex33.c: New file.
71490         * posix/Makefile (tests): Add bug-regex33.
71492 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71494         * manual/macros.texi: New file.
71495         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71496         * manual/libc.texinfo: Include macros.texi.
71497         * manual/creatute.texi: Likewise.
71498         * manual/install.texi: Likewise.
71499         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71500         @glibcadj{} in references to the GNU C Library.
71501         * manual/charset.texi: Likewise.
71502         * manual/conf.texi: Likewise.
71503         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71504         when not using those macros.
71505         * manual/creature.texi: Likewise.
71506         * manual/crypt.texi: Likewise.
71507         * manual/errno.texi: Likewise.
71508         * manual/filesys.texi: Likewise.
71509         * manual/header.texi: Likewise.
71510         * manual/install.texi: Likewise.
71511         * manual/intro.texi: Likewise.
71512         * manual/io.texi: Likewise.
71513         * manual/job.texi: Likewise.
71514         * manual/lang.texi: Likewise.
71515         * manual/libc.texiinfo: Likewise.
71516         * manual/llio.texi: Likewise.
71517         * manual/locale.texi: Likewise.
71518         * manual/maint.texi: Likewise.
71519         * manual/math.texi: Likewise.
71520         * manual/memory.texi: Likewise.
71521         * manual/message.texi: Likewise.
71522         * manual/nss.texi: Likewise.
71523         * manual/pattern.texi: Likewise.
71524         * manual/process.texi: Likewise.
71525         * manual/resource.texi: Likewise.
71526         * manual/search.texi: Likewise.
71527         * manual/setjmp.texi: Likewise.
71528         * manual/signal.texi: Likewise.
71529         * manual/socket.texi: Likewise.
71530         * manual/startup.texi: Likewise.
71531         * manual/stdio.texi: Likewise.
71532         * manual/string.texi: Likewise.
71533         * manual/sysinfo.texi: Likewise.
71534         * manual/syslog.texi: Likewise.
71535         * manual/terminal.texi: Likewise.
71536         * manual/time.texi: Likewise.
71537         * manual/users.texi: Likewise.
71538         * INSTALL: Regenerated.
71539         * NOTES: Regenerated.
71540         * sysdeps/gnu/errlist.c: Regenerated.
71542 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71544         * include/dirent.h: Include <dirstream.h> before
71545         <dirent/dirent.h>.
71547 2012-02-28  David S. Miller  <davem@davemloft.net>
71549         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71550         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71551         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71552         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71554 2012-02-27  David S. Miller  <davem@davemloft.net>
71556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71558         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71559         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71562         frame pointer instead of stack pointer relative arg slot.
71563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71564         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71565         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71567 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71569         [BZ #3992]
71570         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71572 2012-02-27  David S. Miller  <davem@davemloft.net>
71574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71578         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71579         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71580         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71581         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71583 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71585         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71586         later.  Allow versions 5-9.
71587         * configure: Regenerated.
71588         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71589         required minimum version and 4.6 as recommended version.  Do not
71590         mention bugs in GCC 2.7 and 2.8.
71591         * INSTALL: Regenerated.
71593 2012-02-27  David S. Miller  <davem@davemloft.net>
71595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71599         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71600         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71601         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71602         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71604         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71605         manipulate bits before adding and subtracting TWO112[sx].
71606         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71608 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71610         [BZ #13775]
71611         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71612         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71613         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71614         being in POSIX, because they are in 1003.1-2008.
71616         * rt/tst-aio.c: Include <fcntl.h>.
71617         * rt/tst-aio7.c: Likewise.
71618         * rt/tst-aio64.c: Likewise.
71620         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71622 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71624         * manual/install.texi (--with-headers): Describe headers as
71625         interface headers, not private headers.
71626         (Specific advice for GNU/Linux systems): Describe use of headers
71627         from "make headers_install", not private headers from older
71628         kernels.
71629         * INSTALL: Regenerated.
71630         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71631         Change to 2.6.19.
71632         * sysdeps/unix/sysv/linux/configure: Regenerated.
71634         * manual/llio.texi (fclean): Remove documentation.
71636         * manual/Makefile (libc-texi-generated): New variable.  Include
71637         version.texi.
71638         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71639         $(libc-texi-generated), not duplicated list of files.
71640         (version.texi, stamp-version): New rules.
71641         (realclean): Remove $(libc-texi-generated), not individual files
71642         from that list.  Do not remove dir-add.texinfo.
71643         * manual/libc.texinfo: Comment out uses of edition numbers and
71644         references to printed manual.  Remove last-updated dates.
71645         (EDITION): Comment out.
71646         (ISBN): Likewise.
71647         (VERSION, UPDATED): Remove.
71648         (version.texi): Include.
71650 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71652         * sysdeps/posix/spawni.c: Include <signal.h>.
71653         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71654         * sysdeps/pthread/aio_fsync.c: Likewise.
71656 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71658         * conform/Makefile (tests): Run only when not cross-compiling and
71659         when fast-check is not defined.
71661         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71662         * conform/data/limits.h-data: Fixes for POSIX2008.
71663         * conform/run-conformtest.sh: Run all tests.
71664         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71665         headers.
71666         * include/bits/dlfcn.h: Likewise.
71667         * include/langinfo.h: Likewise.
71668         * include/monetary.h: Likewise.
71669         * include/sys/poll.h: Likewise.
71671         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71672         for __USE_GNU.
71673         * posix/spawn.h: Define __need_sigset_t.
71674         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71675         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71676         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71677         to get sigevent_t only.
71678         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71679         only for __USE_GNU.
71680         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71681         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71682         process_vm_writev only for __USE_GNU.
71683         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71685         * conform/Makefile: For now ignore errors from run-conformtest.
71686         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71687         POSIX to avoid namespace pollution.  Don't prepend headers.
71688         * conform/data/aio.h-data: Fixes for POSIX testing.
71689         * conform/data/fcntl.h-data: Likewise.
71690         * conform/data/glob.h-data: Likewise.
71691         * conform/data/grp.h-data: Likewise.
71692         * conform/data/pthread.h-data: Likewise.
71693         * conform/data/pwd.h-data: Likewise.
71694         * conform/data/signal.h-data: Likewise.
71695         * conform/data/spawn.h-data: Likewise.
71696         * conform/data/stdio.h-data: Likewise.
71697         * conform/data/stdlib.h-data: Likewise.
71698         * conform/data/stropts.h-data: Likewise.
71699         * conform/data/sys/mman.h-data: Likewise.
71700         * conform/data/sys/stat.h-data: Likewise.
71701         * conform/data/sys/types.h-data: Likewise.
71702         * conform/data/sys/wait.h-data: Likewise.
71703         * conform/data/time.h-data: Likewise.
71704         * conform/data/unistd.h-data: Likewise.
71705         * conform/data/utime.h-data: Likewise.
71707         * io/sys/stat.h: fchmod was always in POSIX.
71708         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71709         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71710         * rt/aio.h: Define __need_timespec before including <time.h>.
71711         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71712         struct.  Add forward declaration of pthread_attr_t and use it in
71713         sigevent.
71714         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71715         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71716         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71717         always remove CLK_TCK definition.
71719 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71721         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71723 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71725         * conform/run-conformtest.sh: New file.
71726         * conform/Makefile: Run run-conformtest for tests.
71727         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71728         support.
71730         * conform/data/uchar.h-data: New file.
71731         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71732         * conform/data/arpa/inet.h-data: Likewise.
71733         * conform/data/assert.h-data: Likewise.
71734         * conform/data/complex.h-data: Likewise.
71735         * conform/data/cpio.h-data: Likewise.
71736         * conform/data/ctype.h-data: Likewise.
71737         * conform/data/dirent.h-data: Likewise.
71738         * conform/data/dlfcn.h-data: Likewise.
71739         * conform/data/errno.h-data: Likewise.
71740         * conform/data/fcntl.h-data: Likewise.
71741         * conform/data/float.h-data: Likewise.
71742         * conform/data/fmtmsg.h-data: Likewise.
71743         * conform/data/fnmatch.h-data: Likewise.
71744         * conform/data/ftw.h-data: Likewise.
71745         * conform/data/glob.h-data: Likewise.
71746         * conform/data/grp.h-data: Likewise.
71747         * conform/data/iconv.h-data: Likewise.
71748         * conform/data/inttypes.h-data: Likewise.
71749         * conform/data/langinfo.h-data: Likewise.
71750         * conform/data/libgen.h-data: Likewise.
71751         * conform/data/limits.h-data: Likewise.
71752         * conform/data/locale.h-data: Likewise.
71753         * conform/data/math.h-data: Likewise.
71754         * conform/data/monetary.h-data: Likewise.
71755         * conform/data/mqueue.h-data: Likewise.
71756         * conform/data/ndbm.h-data: Likewise.
71757         * conform/data/net/if.h-data: Likewise.
71758         * conform/data/netdb.h-data: Likewise.
71759         * conform/data/netinet/in.h-data: Likewise.
71760         * conform/data/nl_types.h-data: Likewise.
71761         * conform/data/poll.h-data: Likewise.
71762         * conform/data/pthread.h-data: Likewise.
71763         * conform/data/pwd.h-data: Likewise.
71764         * conform/data/regex.h-data: Likewise.
71765         * conform/data/sched.h-data: Likewise.
71766         * conform/data/search.h-data: Likewise.
71767         * conform/data/semaphore.h-data: Likewise.
71768         * conform/data/setjmp.h-data: Likewise.
71769         * conform/data/signal.h-data: Likewise.
71770         * conform/data/spawn.h-data: Likewise.
71771         * conform/data/stdarg.h-data: Likewise.
71772         * conform/data/stdio.h-data: Likewise.
71773         * conform/data/stdlib.h-data: Likewise.
71774         * conform/data/string.h-data: Likewise.
71775         * conform/data/strings.h-data: Likewise.
71776         * conform/data/stropts.h-data: Likewise.
71777         * conform/data/sys/ipc.h-data: Likewise.
71778         * conform/data/sys/mman.h-data: Likewise.
71779         * conform/data/sys/msg.h-data: Likewise.
71780         * conform/data/sys/resource.h-data: Likewise.
71781         * conform/data/sys/select.h-data: Likewise.
71782         * conform/data/sys/sem.h-data: Likewise.
71783         * conform/data/sys/shm.h-data: Likewise.
71784         * conform/data/sys/socket.h-data: Likewise.
71785         * conform/data/sys/stat.h-data: Likewise.
71786         * conform/data/sys/statvfs.h-data: Likewise.
71787         * conform/data/sys/time.h-data: Likewise.
71788         * conform/data/sys/timeb.h-data: Likewise.
71789         * conform/data/sys/times.h-data: Likewise.
71790         * conform/data/sys/types.h-data: Likewise.
71791         * conform/data/sys/uio.h-data: Likewise.
71792         * conform/data/sys/un.h-data: Likewise.
71793         * conform/data/sys/utsname.h-data: Likewise.
71794         * conform/data/sys/wait.h-data: Likewise.
71795         * conform/data/syslog.h-data: Likewise.
71796         * conform/data/tar.h-data: Likewise.
71797         * conform/data/termios.h-data: Likewise.
71798         * conform/data/utime.h-data: Likewise.
71799         * conform/data/utmpx.h-data: Likewise.
71800         * conform/data/varargs.h-data: Likewise.
71801         * conform/data/wchar.h-data: Likewise.
71802         * conform/data/wctype.h-data: Likewise.
71803         * conform/data/wordexp.h-data: Likewise.
71805         * include/stropts.h: New file.
71806         * include/uchar.h: New file.
71807         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71808         * include/assert.h: Likewise.
71809         * include/ctype.h: Likewise.
71810         * include/dirent.h: Likewise.
71811         * include/dlfcn.h: Likewise.
71812         * include/fcntl.h: Likewise.
71813         * include/fnmatch.h: Likewise.
71814         * include/glob.h: Likewise.
71815         * include/grp.h: Likewise.
71816         * include/libio.h: Likewise.
71817         * include/locale.h: Likewise.
71818         * include/math.h: Likewise.
71819         * include/net/if.h: Likewise.
71820         * include/netdb.h: Likewise.
71821         * include/netinet/in.h: Likewise.
71822         * include/pthread.h: Likewise.
71823         * include/pwd.h: Likewise.
71824         * include/regex.h: Likewise.
71825         * include/sched.h: Likewise.
71826         * include/search.h: Likewise.
71827         * include/setjmp.h: Likewise.
71828         * include/signal.h: Likewise.
71829         * include/stdio.h: Likewise.
71830         * include/stdlib.h: Likewise.
71831         * include/string.h: Likewise.
71832         * include/sys/cdefs.h: Likewise.
71833         * include/sys/mman.h: Likewise.
71834         * include/sys/msg.h: Likewise.
71835         * include/sys/resource.h: Likewise.
71836         * include/sys/select.h: Likewise.
71837         * include/sys/socket.h: Likewise.
71838         * include/sys/stat.h: Likewise.
71839         * include/sys/statvfs.h: Likewise.
71840         * include/sys/time.h: Likewise.
71841         * include/sys/times.h: Likewise.
71842         * include/sys/uio.h: Likewise.
71843         * include/sys/utsname.h: Likewise.
71844         * include/sys/wait.h: Likewise.
71845         * include/termios.h: Likewise.
71846         * include/time.h: Likewise.
71847         * include/ulimit.h: Likewise.
71848         * include/unistd.h: Likewise.
71849         * include/utime.h: Likewise.
71850         * include/wchar.h: Likewise.
71851         * include/wctype.h: Likewise.
71852         * include/wordexp.h: Likewise.
71854         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71856         * time/time.h: TIME_UTC must be a macro.
71857         Make timespec_get available for ISO C11 only as well.
71859 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71861         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71862         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71864 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71866         * configure.in: Use -o not -a in test for unsupported multi-arch.
71868 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71870         * manual/texinfo.tex: Update to version 2012-01-19.16.
71872 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71874         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71876 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71878         [BZ #13738]
71879         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71880         * manual/fdl-1.3.texi: New file.
71881         * manual/fdl-1.1.texi: File removed.
71883         [BZ #13738]
71884         * manual/libc.texinfo (FDL_VERSION): New @set.
71885         Use it for mention of FDL in cover text.
71886         (Documentation License): Use it in @include file name.
71888 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71889             Roland McGrath  <roland@hack.frob.com>
71891         [BZ #5461]
71892         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71893         (not LONG_LONG_MAX and LONG_LONG_MIN.
71894         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71895         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71896         name.
71897         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71899 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71901         [BZ #2547]
71902         [BZ #11365]
71903         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71904         manipulate bits before adding and subtracting TWO23[sx].
71905         * math/libm-test.inc (nearbyint_test): Add more tests.
71907 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71909         [BZ #2548]
71910         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71911         bits before adding and subtracting TWO23[sx].
71912         * math/libm-test.inc (rint_test): Add more tests.
71913         (rint_test_tonearest): Likewise.
71914         (rint_test_towardzero): Likewise.
71915         (rint_test_downward): Likewise.
71916         (rint_test_upward: Likewise.
71918 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71920         [BZ #10110]
71921         * include/stdc-predef.h: New file.  Extracted from features.h.
71922         * include/features.h: Include stdc-predef.h.
71923         * Makefile (headers): Add stdc-predef.h.
71924         * CONFORMANCE (Compiler limitations): Update.
71926 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71928         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71930 2012-02-21  David S. Miller  <davem@davemloft.net>
71932         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71933         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71935 2012-02-20  David S. Miller  <davem@davemloft.net>
71937         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71938         using a normal save/restore sequence, rather than allocating a
71939         dummy stack frame just to store a frame pointer and restore.
71940         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71942 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71944         * manual/install.texi: Fix stray word in line-wrapped comment.
71946 2012-02-20  David S. Miller  <davem@davemloft.net>
71948         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71949         both binutils and gcc support GOTDATA.
71951         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71952         "rd %pc" in the PIC register setup sequences.
71954         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71955         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71956         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71957         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71958         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71959         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71960         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71961         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71962         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71963         (SYSCALL_ERROR_HANDLER): Likewise.
71964         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71965         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71966         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71967         (SYSCALL_ERROR_HANDLER): Likewise.
71969         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71970         (HAVE_GCC_GOTDATA): New.
71971         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71972         relocation support in both binutils and gcc.
71973         * sysdeps/sparc/elf/configure: Regenerate.
71975         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71976         * sysdeps/sparc/sparc32/elf/configure: Delete.
71977         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71978         * sysdeps/sparc/sparc64/elf/configure: Delete.
71979         * sysdeps/sparc/elf/configure.in: New file.
71980         * sysdeps/sparc/elf/configure: Generate.
71982         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71983         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71984         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71985         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71986         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71988 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71990         * manual/install.texi: Do not mention specific glibc version
71991         numbers.
71992         * manual/libc.texinfo (VERSION, UPDATED): Update.
71993         (@copying): Use @copyright{} and range of years.
71995 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71997         [BZ #13695]
71998         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71999         [crti.S not in sysdirs] (generated): Do not append.
72000         [crti.S not in sysdirs] (omit-deps): Likewise.
72001         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72002         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72003         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72004         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72005         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72006         Likewise.
72007         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72008         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72009         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72010         * csu/defs.awk: Remove file.
72011         * sysdeps/generic/initfini.c: Likewise.
72012         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72013         variable.
72014         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72015         Likewise.
72017 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72019         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72020         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72021         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72022         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72023         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72024         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72025         <bits/epoll.h>.
72026         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72027         (__EPOLL_PACKED): Define to empty if not defined by
72028         <bits/epoll.h>.
72029         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72030         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72031         bits/epoll.h.
72033 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72035         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72036         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72037         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72038         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72039         <bits/timerfd.h>.
72040         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72042         bits/timerfd.h.
72044 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72046         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72047         in C locale.
72048         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72049         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72050         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72053 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72055         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72056         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72058 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72060         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72061         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72062         defined.
72063         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72064         Likewise.
72065         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72066         entry for 2.16.
72068 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72070         * math/w_acos.c: Use non-signaling floating-point comparisons.
72071         * math/w_acosf.c: Likewise.
72072         * math/w_acosh.c: Likewise.
72073         * math/w_acoshf.c: Likewise.
72074         * math/w_acoshl.c: Likewise.
72075         * math/w_acosl.c: Likewise.
72076         * math/w_asin.c: Likewise.
72077         * math/w_asinf.c: Likewise.
72078         * math/w_asinl.c: Likewise.
72079         * math/w_atanh.c: Likewise.
72080         * math/w_atanhf.c: Likewise.
72081         * math/w_atanhl.c: Likewise.
72082         * math/w_exp2.c: Likewise.
72083         * math/w_exp2f.c: Likewise.
72084         * math/w_exp2l.c: Likewise.
72085         * math/w_j0.c: Likewise.
72086         * math/w_j0f.c: Likewise.
72087         * math/w_j0l.c: Likewise.
72088         * math/w_j1.c: Likewise.
72089         * math/w_j1f.c: Likewise.
72090         * math/w_j1l.c: Likewise.
72091         * math/w_jn.c: Likewise.
72092         * math/w_jnf.c: Likewise.
72093         * math/w_log.c: Likewise.
72094         * math/w_log10.c: Likewise.
72095         * math/w_log10f.c: Likewise.
72096         * math/w_log10l.c: Likewise.
72097         * math/w_log2.c: Likewise.
72098         * math/w_log2f.c: Likewise.
72099         * math/w_log2l.c: Likewise.
72100         * math/w_logf.c: Likewise.
72101         * math/w_logl.c: Likewise.
72102         * math/w_sqrt.c: Likewise.
72103         * math/w_sqrtf.c: Likewise.
72104         * math/w_sqrtl.c: Likewise.
72105         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72106         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72107         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72108         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72109         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72111 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72113         [BZ #9739]
72114         * manual/string.texi (strnlen): Use correct parameter name in
72115         equivalent expression.
72117 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72119         [BZ #11174]
72120         * manual/users.texi (seteuid): Consistently use neweuid for
72121         argument name.
72123 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72125         [BZ #13704]
72126         * manual/nss.texi (Services in the NSS configuration): Correct
72127         list of services in example configuration file.
72129 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72131         [BZ #11322]
72132         * manual/arith.texi: Remove statements about negative zero
72133         behaving identically to zero.
72135 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72137         [BZ #5993]
72138         * manual/install.texi: Do not document upgrading from libc5.
72140 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72142         [BZ #4596]
72143         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72145 2012-02-18  David S. Miller  <davem@davemloft.net>
72147         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72148         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72149         %o7 across the call.
72150         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72151         instead.
72152         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72153         SETUP_PIC_REG_LEAF.
72154         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72155         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72156         * sysdeps/sparc/crtn.S: Likewise.
72158 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72160         * aout/Makefile: Remove.
72162 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72164         [BZ #13058]
72165         * manual/examples/argp-ex1.c (main): Format definition in GNU
72166         style.
72167         * manual/examples/argp-ex2.c (main): Likewise.
72168         * manual/examples/argp-ex3.c (main): Likewise.
72169         * manual/examples/argp-ex4.c (main): Likewise.
72170         * manual/examples/longopt.c (main): Use new-style prototype
72171         definition.
72172         * manual/examples/strncat.c (main): Specify return type and use
72173         (void) for arguments.
72174         * manual/examples/subopt.c (main): Use char **argv argument.
72176 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72178         [BZ #5077]
72179         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72180         rounding modes.
72182 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72184         [BZ #6907]
72185         * manual/string.texi (strchr): Change when strchrnul is
72186         recommended.
72188 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72190         [BZ #174]
72191         * manual/locale.texi (setlocale): Document LOCPATH.
72193 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72195         [BZ #10210]
72196         * manual/process.texi (execle): Move @dots{} before last argument.
72198 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72200         [BZ #12047]
72201         * manual/charset.texi (Generic Charset Conversion): Fix typo
72202         (LC_TYPE -> LC_CTYPE).
72204 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72206         [BZ #5805]
72207         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72208         (scalbnf): Likewise.
72209         (scalbnl): Likewise.
72210         (scalbln): Likewise.
72211         (scalblnf): Likewise.
72212         (scalblnl): Likewise.
72213         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72214         (vwarnx): Likewise.
72215         (verr): Likewise.
72216         (verrx): Likewise.
72217         * manual/filesys.texi (telldir): Use braces around return type.
72218         * manual/llio.texi (mmap): Add space after comma.
72219         (mmap64): Likewise.
72220         * manual/math.texi (jn): Use @var{} on parameter names.
72221         (jnf): Likewise.
72222         (jnl): Likewise.
72223         (yn): Likewise.
72224         (ynf): Likewise.
72225         (ynl): Likewise.
72226         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72227         line.
72228         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72229         "...".
72230         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72231         (sched_get_priority_max): Likewise.
72232         * manual/signal.texi (sigvec): Add space after comma.
72233         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72234         names.
72235         (if_indextoname): Likewise.
72236         (if_freenameindex): Likewise.
72237         (sendto): Use ',' instead of '.' in prototype.
72238         * manual/startup.texi (syscall): Use @dots{} instead of literal
72239         "...".
72240         * manual/stdio.texi (__fpending): Separate initial words of
72241         paragraph from @deftypefun line.
72242         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72243         "...".
72244         (vsyslog): Use @var{} on parameter names.
72245         * manual/terminal.texi (stty): Use @var{} on parameter names.
72246         * manual/users.texi (getutmp): Use @var{} on parameter names.
72247         (getutmpx): Likewise.
72249 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72251         [BZ #6884]
72252         * manual/stdio.texi (fopen): Fix typos in description of
72253         ",ccs=STRING".
72255 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72257         [BZ #4026]
72258         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72259         get clock_id definition.
72261 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72263         [BZ #4822]
72264         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72265         (madvise): Cast every argument to void on its own.
72267 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72269         [BZ #9902]
72270         * manual/startup.texi (Exit Status): Fix typo.
72272 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72274         [BZ #10140]
72275         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72276         * manual/examples/argp-ex2.c: Likewise.
72277         * manual/examples/argp-ex3.c: Likewise.
72279 2012-02-16  Richard Henderson  <rth@redhat.com>
72281         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72282         * sysdeps/s390/s390-32/initfini.c: Remove.
72283         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72284         * sysdeps/s390/s390-64/initfini.c: Remove.
72286 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72288         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72289         compiler output for sysdeps/generic/initfini.c.
72290         * sysdeps/sh/elf/initfini.c: Remove file.
72292 2012-02-16  David S. Miller  <davem@davemloft.net>
72294         [BZ #11494]
72295         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72297         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72298         * sysdeps/sparc/crti.S: New file.
72299         * sysdeps/sparc/crtn.S: New file.
72300         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72301         * sysdeps/sparc/sparc64/Makefile: Likewise.
72303 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72305         [BZ #3335]
72306         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72308 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72310         [BZ #4822]
72311         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72313         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72314         (write, read, close): Likewise.
72315         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72317 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72319         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72320         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72321         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72322         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72323         <bits/signalfd.h>.
72324         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72326         bits/signalfd.h.
72328 2012-02-14  Marek Polacek  <polacek@redhat.com>
72330         * sysdeps/x86_64/crti.S: New file.
72331         * sysdeps/x86_64/crtn.S: New file.
72332         * sysdeps/x86_64/elf/initfini.c: Remove file.
72334 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72336         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72337         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72338         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72339         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72340         <bits/inotify.h>.
72341         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72343         bits/inotify.h.
72345 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72347         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72348         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72349         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72350         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72351         <bits/eventfd.h>.
72352         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72353         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72354         bits/eventfd.h.
72356 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72358         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72359         __feraiseexcept instead of feraiseexcept.
72361         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72362         nanosleep invocations.
72363         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72364         strings, and add error checking for a nanosleep invocations.
72366 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72368         Replace FSF snail mail address with URLs, as per GNU coding standards.
72369         Most of the snail mail addresses were wrong anyway, and omitting
72370         them makes the source code easier to maintain.  Almost all of the
72371         changes are to license notices and to locale LC_IDENTIFICATION
72372         addresses, except for this one:
72373         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72374         not its snail mail address.
72376 2012-02-09  Richard Henderson  <rth@twiddle.net>
72378         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72379         of kernel-features.h.
72381         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72383 2012-02-08  Marek Polacek  <polacek@redhat.com>
72385         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72386         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72387         * sysdeps/gnu/_G_config.h: Likewise.
72388         * sysdeps/generic/_G_config.h: Likewise.
72390 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72392         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72393         tests.
72394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72396         * sysdeps/powerpc/powerpc32/crti.S: New file.
72397         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72398         * sysdeps/powerpc/powerpc64/crti.S: New file.
72399         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72401         * Makeconfig (have-initfini): Don't set.
72402         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72403         * configure.in (nopic_initfini): Don't substitute.
72404         * config.h.in (HAVE_INITFINI): Don't #undef.
72405         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72406         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72408 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72410         Support crti.S and crtn.S provided directly by architectures.
72411         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72412         [crti.S in sysdirs] (omit-deps): Likewise.
72413         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72414         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72415         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72416         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72417         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72418         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72419         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72420         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72421         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72422         compiler output for sysdeps/generic/initfini.c.
72423         * sysdeps/i386/elf/Makefile: Remove file.
72424         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72426 2012-02-07  Marek Polacek  <polacek@redhat.com>
72428         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72429         * sysdeps/gnu/_G_config.h: Likewise.
72430         * sysdeps/mach/hurd/_G_config.h: Likewise.
72432 2012-02-07  Marek Polacek  <polacek@redhat.com>
72434         * math/Makefile (tests): Add tst-CMPLX2.
72435         * math/tst-CMPLX2.c: New file.
72437 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72439         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72441         * math/libm-test.inc (jn_test): Add missing L suffix.
72443 2012-02-06  Marek Polacek  <polacek@redhat.com>
72445         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72446         * sysdeps/i386/fpu/e_powf.S: Likewise.
72447         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72448         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72449         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72450         * sysdeps/i386/fpu/e_pow.S: Likewise.
72451         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72452         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72453         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72454         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72455         * sysdeps/i386/fpu/e_log2.S: Likewise.
72456         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72457         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72458         * sysdeps/i386/fpu/e_powl.S: Likewise.
72459         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72460         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72461         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72462         * sysdeps/i386/fpu/e_logl.S: Likewise.
72463         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72464         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72465         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72466         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72467         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72468         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72469         * sysdeps/i386/fpu/e_log.S: Likewise.
72470         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72471         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72472         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72473         * sysdeps/i386/fpu/e_logf.S: Likewise.
72474         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72475         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72476         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72477         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72478         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72479         * sysdeps/i386/fpu/e_log10.S: Likewise.
72480         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72481         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72482         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72483         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72484         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72485         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72486         * sysdeps/i386/asm-syntax.h: Likewise.
72487         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72488         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72489         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72490         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72491         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72492         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72493         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72494         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72495         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72496         * sysdeps/powerpc/sysdep.h: Likewise.
72497         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72498         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72500 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72502         [BZ #411]
72503         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72505 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72507         * sysdeps/i386/sysdep.h: Include <features.h>.
72508         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72509         version.
72511 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72513         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72514         Define.
72515         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72516         LOAD_PIC_REG_STR.
72518 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72520         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72521         (SETUP_PIC_REG): Use GET_PC_THUNK.
72522         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72523         macro.
72525 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72527         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72528         for non-PIC compilation.
72529         (SETUP_PIC_REG): Add .p2align directive.
72530         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72531         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72532         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72533         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72534         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72535         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72536         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72537         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72538         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72539         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72540         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72541         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72542         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72543         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72544         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72545         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72546         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72547         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72548         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72549         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72550         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72551         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72552         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72553         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72554         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72555         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72556         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72557         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72558         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72559         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72560         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72561         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72562         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72563         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72564         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72565         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72566         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72567         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72568         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72569         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72570         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72572 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72574         * math/tst-CMPLX.c: Include <stdio.h>.
72576 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72578         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72579         float.
72580         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72581         * sysdeps/sparc/bits/mathdef.h: Likewise.
72583 2012-01-31  Marek Polacek  <polacek@redhat.com>
72585         * libio/libio.h: Don't define _PARAMS.
72586         * locale/programs/config.h: Don't define PARAMS.
72587         * stdlib/strtol_l.c: Likewise.
72588         (__strtol_l): Remove PARAMS from the prototype.
72590 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72592         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72593         names.  Just use the correct names.  Remove unnecessary wrapper
72594         functions.
72595         * malloc/arena.c: Likewise.
72596         * malloc/hooks.c: Likewise.
72598         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72599         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72600         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72602 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72604         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72605         into tail calls.
72606         (update_get_addr): New function.
72607         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72608         GET_ADDR_MODULE parameter.
72610 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72612         * crypt/cert.c: Remove __STDC__ conditionals.
72613         * crypt/crypt-entry.c: Likewise.
72614         * crypt/crypt_util.c: Likewise.
72615         * libio/filedoalloc.c: Likewise.
72616         * libio/fileops.c: Likewise.
72617         * libio/genops.c: Likewise.
72618         * libio/iofclose.c: Likewise.
72619         * libio/iofdopen.c: Likewise.
72620         * libio/iofopen.c: Likewise.
72621         * libio/iofopen64.c: Likewise.
72622         * libio/iogetdelim.c: Likewise.
72623         * libio/iopopen.c: Likewise.
72624         * libio/obprintf.c: Likewise.
72625         * libio/oldfileops.c: Likewise.
72626         * libio/oldiofclose.c: Likewise.
72627         * libio/oldiofdopen.c: Likewise.
72628         * libio/oldiofopen.c: Likewise.
72629         * libio/oldiopopen.c: Likewise.
72630         * libio/wfiledoalloc.c: Likewise.
72631         * libio/wgenops.c: Likewise.
72632         * locale/programs/xmalloc.c: Likewise.
72633         * misc/syslog.c: Likewise.
72634         * stdio-common/xbug.c: Likewise.
72635         * string/memchr.c: Likewise.
72636         * string/memcmp.c: Likewise.
72637         * string/memrchr.c: Likewise.
72638         * string/rawmemchr.c: Likewise.
72639         * sysdeps/posix/getcwd.c: Likewise.
72640         * time/strftime_l.c: Likewise.
72642 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72644         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72645         * config.make.in (config-cflags-sse2avx): Define.
72646         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72647         Fix typo.
72649 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72651         * scripts/config.guess: Update from upstream config git repository.
72652         * scripts/config.sub: Likewise.
72654 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72656         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72657         (EM_NUM): Update.
72658         (R_TILEPRO_*, R_TILEGX_*): New macros.
72660         * scripts/firstversions.awk: Fix bug in version range handling.
72662         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72664         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72666         * include/sys/epoll.h: New file.
72667         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72668         libc_hidden_def.
72670 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72672         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72673         Avoid unnecessary __WORDSIZE == 64 test.
72674         (fmaxf): Use VEX format if possible.
72675         (fmax): Likewise.
72676         (fminf): Likewise.
72677         (fmin): Likewise.
72679         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72680         * math/math_private.h: Remove libc_fegetround* and
72681         libc_fesetround*.
72682         * sysdeps/i386/configure.in: Check for -msse2avx.
72683         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72684         also if SSE2AVX is defined.
72685         Remove libc_fegetround* and libc_fesetround*.
72686         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72687         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72688         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72689         of HAS_YMM_USABLE.
72690         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72691         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72692         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72693         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72694         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72696         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72698 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72700         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72701         size is not set.
72702         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72704 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72706         [BZ #13618]
72707         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72708         relocation.
72709         * Makeconfig (libm): Define.
72710         * elf/Makefile: Add rules to build and run tst-relsort1.
72711         * elf/tst-relsort1.c: New file.
72712         * elf/tst-relsort1mod1.c: New file.
72713         * elf/tst-relsort1mod2.c: New file.
72715 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72717         * math/s_ldexp.c: Remove __STDC__ conditionals.
72718         * math/s_ldexpf.c: Likewise.
72719         * math/s_ldexpl.c: Likewise.
72720         * math/s_nextafter.c: Likewise.
72721         * math/s_nexttowardf.c: Likewise.
72722         * math/s_significand.c: Likewise.
72723         * math/s_significandf.c: Likewise.
72724         * math/s_significandl.c: Likewise.
72725         * math/w_jnl.c: Likewise.
72726         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72727         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72728         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72729         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72730         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72731         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72732         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72733         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72734         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72735         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72736         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72737         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72738         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72739         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72740         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72741         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72742         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72743         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72744         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72745         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72746         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72747         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72748         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72749         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72750         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72751         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72752         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72753         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72754         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72755         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72756         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72757         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72758         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72759         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72760         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72761         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72762         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72763         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72764         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72765         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72766         * sysdeps/ieee754/k_standard.c: Likewise.
72767         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72768         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72769         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72770         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72771         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72772         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72773         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72774         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72775         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72776         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72777         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72778         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72779         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72780         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72781         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72782         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72783         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72784         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72785         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72786         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72787         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72788         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72789         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72790         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72791         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72792         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72793         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72794         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72795         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72796         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72797         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72798         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72799         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72800         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72801         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72802         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72803         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72804         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72805         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72806         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72807         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72808         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72809         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72810         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72811         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72812         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72813         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72814         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72815         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72816         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72817         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72818         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72819         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72820         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72821         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72822         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72823         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72824         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72825         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72826         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72827         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72828         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72829         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72830         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72831         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72832         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72833         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72834         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72835         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72836         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72837         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72838         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72839         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72840         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72841         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72842         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72843         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72844         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72845         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72846         * sysdeps/ieee754/s_matherr.c: Likewise.
72847         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72848         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72849         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72850         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72852 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72854         * crypt/md5.h: Remove __STDC__ conditionals.
72855         * libio/libioP.h: Likewise.
72856         * locale/programs/config.h: Likewise.
72857         * sysdeps/generic/sysdep.h: Likewise.
72858         * sysdeps/i386/asm-syntax.h: Likewise.
72859         * sysdeps/s390/asm-syntax.h: Likewise.
72860         * sysdeps/unix/sysdep.h: Likewise.
72861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72864 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72866         * libio/libio.h: Remove __STDC__ conditionals.
72867         * malloc/obstack.h: Likewise.
72868         * math/complex.h: Likewise.
72869         * math/math.h: Likewise.
72870         * sysdeps/generic/_G_config.h: Likewise.
72871         * sysdeps/gnu/_G_config.h: Likewise.
72872         * sysdeps/mach/hurd/_G_config.h: Likewise.
72873         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72874         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72875         * sysdeps/sparc/bits/mathdef.h: Likewise.
72877 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72879         [BZ #13583]
72880         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72881         Clean up HAS_* macros.
72882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72883         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72884         possible.
72885         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72886         HAS_AVX.
72887         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72888         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72889         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72890         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72891         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72893 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72895         * elf/tst-unique3.cc (gets): Remove declaration.
72896         * elf/tst-unique3lib.cc (gets): Likewise.
72897         * elf/tst-unique3lib2.cc (gets): Likewise.
72898         * elf/tst-unique4.cc (gets): Likewise.
72900 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72902         * include/stdio.h: Add C++ protection.  Add gets declarations and
72903         definitions.
72904         * debug/tst-chk1.c: Don't declare gets here.
72905         * stdio-common/tst-gets.c: Likewise.
72907 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72909         * posix/glob: Remove directory.
72911 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72913         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72915 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72917         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72918         of the non-standard EPFNOSUPPORT.
72920 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72922         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72923         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72924         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72926 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72928         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72930 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72932         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72933         transient errors.
72934         * nscd/grpcache.c (cache_addgr): Likewise.
72935         * nscd/hstcache.c (cache_addhst): Likewise.
72936         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72937         * nscd/pwdcache.c (cache_addpw): Likewise.
72938         * nscd/servicescache.c (cache_addserv): Likewise.
72940 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72942         * malloc/malloc.c: Various cleanups.
72943         * malloc/hooks.c: Likewise.
72945         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72946         * stdlib/bug-fmtmsg1.c: New file.
72948         * stdlib/fmtmsg.c (init): Add missing unlock.
72949         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72951 2012-01-12  Marek Polacek  <polacek@redhat.com>
72953         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72954         and _GNU_SOURCE.
72956 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72958         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72959         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72960         macro to ensure uniqueness of label name.
72961         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72962         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72964 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72966         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72968         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72969         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72970         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72971         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72973 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72975         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72977         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72978         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72979         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72981         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72983         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72984         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72985         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72986         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72988         * math/bits/math-finite.h: Add ldexp support.
72990 2012-01-10  Marek Polacek  <polacek@redhat.com>
72992         * locale/programs/localedef.h (show_archive_content): Add noreturn
72993         attribute.
72995 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72997         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72999 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73001         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73003         * io/Makefile (headers): Add bits/poll2.h.
73005 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73008         typo #include statement.
73010 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73012         * include/sys/cdefs.h: Define __attribute_alloc_size.
73013         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73014         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73015         * elf/pldd.c: Likewise.
73016         * iconv/iconv_charmap.c: Likewise.
73017         * iconv/iconvconfig.c: Likewise.
73018         * iconv/strtab.c: Likewise.
73019         * locale/programs/locale.c: Likewise.
73020         * locale/programs/localedef.h: Likewise.
73021         * locale/programs/simple-hash.c: Likewise.
73022         * nscd/nscd.h: Likewise.
73023         * nss/makedb.c: Likewise.
73024         * sysdeps/generic/ldconfig.h: Likewise.
73025         * locale/programs/localedef.c: Remove xmalloc prototype.
73026         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73028 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73030         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73031         appropriate.
73033 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73035         * math/Makefile (tests): Add tst-CMPLX.
73036         * math/tst-CMPLX.c: New file.
73038         * math/complex.h (CMPLXL): Fix typo.
73040         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73041         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73042         GLIBC_2.16.
73043         * debug/tst-chk1.c: Add poll and ppoll tests.
73044         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73045         * include/sys/poll.h: Add hidden proto for ppoll.
73046         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73047         * sysdeps/mach/hurd/ppoll.c: Likewise.
73048         * io/ppoll.c: Likewise.
73049         * debug/poll_chk.c: New file.
73050         * debug/ppoll_chk.c: New file.
73051         * include/bits/poll2.h: New file.
73052         * io/bits/poll2.h: New file.
73054         [BZ #1350]
73055         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73057         * configure.in: static is always set to yes.  Remove.
73058         * config.make.in: Don't set build-static.
73059         * Makeconfig: Remove use of build-static.
73060         * dlfcn/Makefile: Likewise.
73061         * elf/Makefile: Likewise.
73062         * math/Makefile: Likewise.
73063         * misc/Makefile: Likewise.
73064         * nptl/Makefile: Likewise.
73065         * sysdeps/mach/hurd/Makefile: Likewise.
73067         * configure.in: PWD_P is not used anymore.
73068         * config.make.in: Remove PWD_P entry.
73070         * configure.in: Remove last remnants of RANLIB.
73071         No need to check for signed size_t anymore.
73072         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73073         and IA-64.
73074         Remove __builtin_expect test because we require at least gcc 3.4.
73075         * aclocal.m4: Likewise.
73077         * wcsmbs/mbrtoc16.c: Implement using towc function.
73078         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73079         * wcsmbs/wcsmbsload.c: Likewise.
73080         * iconv/gconv_simple.c: Likewise.
73081         * iconv/gconv_int.h: Likewise.
73082         * iconv/gconv_builtin.h: Likewise.
73083         * iconv/iconv_prog.c: Remove CHAR16 handling.
73085         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73087         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73089         * configure.in: Remove --with-elf and --enable-bounded options.
73090         Dont set base_machine for ia64.  More non-ELF conditions removed.
73091         Remove testing and setting of leading underscore information.
73092         * config.make.in (build-bounded): Set to no.
73093         * config.h.in: Remove NO_UNDERSCORES entry.
73094         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73095         them.
73096         * csu/start.c: Remove !NO_UNDERSCORE code.
73097         * locale/localeinfo.h: Likewise.
73098         * sysdeps/generic/machine-gmon.h: Likewise.
73099         * sysdeps/generic/sysdep.h: Likewise.
73100         * sysdeps/i386/sysdep.h: Likewise.
73101         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73102         * sysdeps/mach/sysdep.h: Likewise.
73103         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73104         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73105         * sysdeps/sh/sysdep.h: Likewise.
73106         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73107         * sysdeps/unix/i386/sysdep.S: Likewise.
73108         * sysdeps/unix/sparc/start.c: Likewise.
73109         * sysdeps/unix/sparc/sysdep.S: Likewise.
73110         * sysdeps/unix/sparc/sysdep.h: Likewise.
73111         * sysdeps/unix/start.c: Likewise.
73112         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73113         * sysdeps/x86_64/sysdep.h: Likewise.
73115 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73117         [BZ #13553]
73118         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73119         for non-gcc.
73120         * argp/argp-fmtstream.h: Use const instead __const.
73121         * argp/argp.h: Likewise.
73122         * assert/assert.h: Likewise.
73123         * bits/fenv.h: Likewise.
73124         * bits/sched.h: Likewise.
73125         * bits/sigset.h: Likewise.
73126         * bits/sigthread.h: Likewise.
73127         * catgets/nl_types.h: Likewise.
73128         * conform/data/pthread.h-data: Likewise.
73129         * crypt/crypt-private.h: Likewise.
73130         * crypt/crypt.h: Likewise.
73131         * crypt/crypt_util.c: Likewise.
73132         * ctype/ctype.h: Likewise.
73133         * debug/execinfo.h: Likewise.
73134         * debug/mbsnrtowcs_chk.c: Likewise.
73135         * debug/mbsrtowcs_chk.c: Likewise.
73136         * debug/wcsnrtombs_chk.c: Likewise.
73137         * debug/wcsrtombs_chk.c: Likewise.
73138         * debug/wcstombs_chk.c: Likewise.
73139         * dirent/dirent.h: Likewise.
73140         * dlfcn/dlfcn.h: Likewise.
73141         * elf/neededtest4.c: Likewise.
73142         * grp/grp.h: Likewise.
73143         * gshadow/gshadow.h: Likewise.
73144         * iconv/gconv.h: Likewise.
73145         * iconv/gconv_int.h: Likewise.
73146         * iconv/gconv_simple.c: Likewise.
73147         * iconv/iconv.h: Likewise.
73148         * iconv/loop.c: Likewise.
73149         * iconv/skeleton.c: Likewise.
73150         * include/aio.h: Likewise.
73151         * include/aliases.h: Likewise.
73152         * include/argz.h: Likewise.
73153         * include/arpa/inet.h: Likewise.
73154         * include/assert.h: Likewise.
73155         * include/dirent.h: Likewise.
73156         * include/dlfcn.h: Likewise.
73157         * include/execinfo.h: Likewise.
73158         * include/fcntl.h: Likewise.
73159         * include/fenv.h: Likewise.
73160         * include/glob.h: Likewise.
73161         * include/grp.h: Likewise.
73162         * include/libintl.h: Likewise.
73163         * include/mntent.h: Likewise.
73164         * include/netdb.h: Likewise.
73165         * include/pwd.h: Likewise.
73166         * include/rpc/netdb.h: Likewise.
73167         * include/sched.h: Likewise.
73168         * include/search.h: Likewise.
73169         * include/shadow.h: Likewise.
73170         * include/signal.h: Likewise.
73171         * include/stdio.h: Likewise.
73172         * include/stdlib.h: Likewise.
73173         * include/string.h: Likewise.
73174         * include/sys/socket.h: Likewise.
73175         * include/sys/stat.h: Likewise.
73176         * include/sys/statfs.h: Likewise.
73177         * include/sys/statvfs.h: Likewise.
73178         * include/sys/syslog.h: Likewise.
73179         * include/sys/time.h: Likewise.
73180         * include/sys/uio.h: Likewise.
73181         * include/time.h: Likewise.
73182         * include/unistd.h: Likewise.
73183         * include/utmp.h: Likewise.
73184         * include/wchar.h: Likewise.
73185         * include/wctype.h: Likewise.
73186         * inet/aliases.h: Likewise.
73187         * inet/arpa/inet.h: Likewise.
73188         * inet/netinet/ether.h: Likewise.
73189         * inet/netinet/in.h: Likewise.
73190         * intl/libintl.h: Likewise.
73191         * io/bits/fcntl2.h: Likewise.
73192         * io/fcntl.h: Likewise.
73193         * io/ftw.h: Likewise.
73194         * io/sys/poll.h: Likewise.
73195         * io/sys/stat.h: Likewise.
73196         * io/sys/statfs.h: Likewise.
73197         * io/sys/statvfs.h: Likewise.
73198         * io/utime.h: Likewise.
73199         * libio/bits/stdio.h: Likewise.
73200         * libio/bits/stdio2.h: Likewise.
73201         * libio/libio.h: Likewise.
73202         * libio/libioP.h: Likewise.
73203         * libio/stdio.h: Likewise.
73204         * locale/lc-ctype.c: Likewise.
73205         * locale/locale.h: Likewise.
73206         * login/utmp.h: Likewise.
73207         * malloc/arena.c: Likewise.
73208         * malloc/malloc.c: Likewise.
73209         * malloc/malloc.h: Likewise.
73210         * malloc/mcheck.c: Likewise.
73211         * malloc/mtrace.c: Likewise.
73212         * math/bits/mathcalls.h: Likewise.
73213         * math/fenv.h: Likewise.
73214         * math/math_private.h: Likewise.
73215         * misc/bits/error.h: Likewise.
73216         * misc/bits/syslog.h: Likewise.
73217         * misc/err.h: Likewise.
73218         * misc/error.h: Likewise.
73219         * misc/fstab.h: Likewise.
73220         * misc/mntent.h: Likewise.
73221         * misc/regexp.h: Likewise.
73222         * misc/search.h: Likewise.
73223         * misc/sgtty.h: Likewise.
73224         * misc/sys/mman.h: Likewise.
73225         * misc/sys/syslog.h: Likewise.
73226         * misc/sys/uio.h: Likewise.
73227         * misc/sys/xattr.h: Likewise.
73228         * misc/ttyent.h: Likewise.
73229         * nis/rpcsvc/ypclnt.h: Likewise.
73230         * nss/nss.h: Likewise.
73231         * posix/bits/unistd.h: Likewise.
73232         * posix/fnmatch.h: Likewise.
73233         * posix/glob.h: Likewise.
73234         * posix/sched.h: Likewise.
73235         * posix/spawn.h: Likewise.
73236         * posix/sys/wait.h: Likewise.
73237         * posix/unistd.h: Likewise.
73238         * posix/wordexp.h: Likewise.
73239         * pwd/pwd.h: Likewise.
73240         * resolv/netdb.h: Likewise.
73241         * resource/sys/resource.h: Likewise.
73242         * rt/aio.h: Likewise.
73243         * rt/bits/mqueue2.h: Likewise.
73244         * rt/mqueue.h: Likewise.
73245         * shadow/shadow.h: Likewise.
73246         * signal/signal.h: Likewise.
73247         * socket/send.c: Likewise.
73248         * socket/sendto.c: Likewise.
73249         * socket/sys/socket.h: Likewise.
73250         * stdio-common/printf.h: Likewise.
73251         * stdlib/bits/stdlib.h: Likewise.
73252         * stdlib/fmtmsg.h: Likewise.
73253         * stdlib/monetary.h: Likewise.
73254         * stdlib/stdlib.h: Likewise.
73255         * stdlib/ucontext.h: Likewise.
73256         * streams/stropts.h: Likewise.
73257         * string/argz.h: Likewise.
73258         * string/bits/string2.h: Likewise.
73259         * string/string.h: Likewise.
73260         * string/strings.h: Likewise.
73261         * sunrpc/rpc/auth.h: Likewise.
73262         * sunrpc/rpc/auth_des.h: Likewise.
73263         * sunrpc/rpc/clnt.h: Likewise.
73264         * sunrpc/rpc/netdb.h: Likewise.
73265         * sunrpc/rpc/pmap_clnt.h: Likewise.
73266         * sunrpc/rpc/xdr.h: Likewise.
73267         * sysdeps/generic/inttypes.h: Likewise.
73268         * sysdeps/generic/net/if.h: Likewise.
73269         * sysdeps/generic/sys/swap.h: Likewise.
73270         * sysdeps/gnu/net/if.h: Likewise.
73271         * sysdeps/gnu/utmpx.h: Likewise.
73272         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73273         * sysdeps/i386/i486/bits/string.h: Likewise.
73274         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73275         * sysdeps/s390/bits/string.h: Likewise.
73276         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73277         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73278         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73279         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73280         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73281         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73282         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73283         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73284         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73285         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73286         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73287         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73288         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73289         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73290         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73291         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73292         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73293         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73294         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73295         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73296         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73297         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73298         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73299         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73300         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73301         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73302         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73303         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73304         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73305         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73306         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73307         * sysvipc/sys/ipc.h: Likewise.
73308         * sysvipc/sys/msg.h: Likewise.
73309         * sysvipc/sys/sem.h: Likewise.
73310         * sysvipc/sys/shm.h: Likewise.
73311         * termios/termios.h: Likewise.
73312         * time/sys/time.h: Likewise.
73313         * time/time.h: Likewise.
73314         * wcsmbs/bits/wchar2.h: Likewise.
73315         * wcsmbs/uchar.h: Likewise.
73316         * wcsmbs/wchar.h: Likewise.
73317         * wctype/wctype.h: Likewise.
73319         [BZ #13551]
73320         * Makeconfig: Remove all but ELF support including AIX support.
73321         * Makerules: Likewise.
73322         * config.h.in: Likewise.
73323         * config.make.in: Likewise.
73324         * configure: Likewise.
73325         * configure.in: Likewise.
73326         * csu/Makefile: Likewise.
73327         * csu/version.c: Likewise.
73328         * debug/Makefile: Likewise.
73329         * dlfcn/Makefile: Likewise.
73330         * elf/Makefile: Likewise.
73331         * extra-lib.mk: Likewise.
73332         * iconv/Makefile: Likewise.
73333         * include/libc-symbols.h: Likewise.
73334         * include/shlib-compat.h: Likewise.
73335         * resolv/Makefile: Likewise.
73336         * resolv/res_libc.c: Likewise.
73337         * rt/Makefile: Likewise.
73338         * sysdeps/i386/asm-syntax.h: Likewise.
73339         * sysdeps/i386/sysdep.h: Likewise.
73340         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73341         * sysdeps/mach/sysdep.h: Likewise.
73342         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73343         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73344         * sysdeps/s390/asm-syntax.h: Likewise.
73345         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73346         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73347         * sysdeps/sh/sysdep.h: Likewise.
73348         * sysdeps/unix/sparc/sysdep.h: Likewise.
73349         * sysdeps/wordsize-32/divdi3.c: Likewise.
73350         * sysdeps/x86_64/sysdep.h: Likewise.
73352         * argp/Versions: Remove _argp_unlock_xxx.
73354         [BZ #13559]
73355         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73356         * abilist/libBrokenLocale.abilist: Likewise.
73357         * abilist/libanl.abilist: Likewise.
73358         * abilist/libc.abilist: Likewise.
73359         * abilist/libcrypt.abilist: Likewise.
73360         * abilist/libdl.abilist: Likewise.
73361         * abilist/libm.abilist: Likewise.
73362         * abilist/libnsl.abilist: Likewise.
73363         * abilist/libpthread.abilist: Likewise.
73364         * abilist/libresolv.abilist: Likewise.
73365         * abilist/librt.abilist: Likewise.
73366         * abilist/libthread_db.abilist: Likewise.
73367         * abilist/libutil.abilist: Likewise.
73368         * abilist/libnss_db.abilist: New file.
73370         * scripts/abilist.awk: Add support for indirect functions.
73372         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73374         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73376         * shlib-versions: Remove entries for ports architectures.
73378         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73379         files in ports.
73380         * elf/stackguard-macros.h: Remove support for IA-64.
73381         * elf/tst-auditmod1.c: Likewise.
73382         * sysdeps/generic/ldsodefs.h: Likewise.
73384         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73385         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73386         configure files.
73388         [BZ #13552]
73389         * configure.in: Remove --enable-omitfp support.
73390         * FAQ.in: Adjust.
73391         * config.make.in: Likewise.
73392         * Makeconfig: Likewise.
73393         * manual/install.texi: Likewise.
73395         In case anyone cares, the IA-64 architecture could move to ports.
73396         * sysdeps/ia64/*: Removed.
73397         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73398         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73400         [BZ #13555]
73401         * configure.in: Remove entries for unsupported architectures.
73403         [BZ #13533]
73404         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73405         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73406         routines.
73407         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73408         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73409         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73410         fall back to using wcrtomb.
73411         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73412         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73413         renaming.
73414         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73415         * wcsmbs/tst-c16c32-1.c: New file.
73417         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73418         local variable.
73420         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73422         * elf/tst-unique3.cc: Add explicit declaration of gets.
73423         * elf/tst-unique3lib.cc: Likewise.
73424         * elf/tst-unique3lib2.cc: Likewise.
73425         * elf/tst-unique4.cc: Likewise.
73427         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73429 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73431         [BZ #13566]
73432         * assert/assert.h (static_assert): Don't define for C++.
73433         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73434         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73436 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73438         * iconv/loop.c (single loop): Fix assertion in storing of
73439         remaining bytes.
73441         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73443 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73445         * posix/getconf.c: Update copyright year.
73446         * nss/getent.c: Likewise.
73447         * nss/makedb.c: Likewise.
73448         * iconv/iconvconfig.c: Likewise.
73449         * iconv/iconv_prog.c: Likewise.
73450         * elf/ldconfig.c: Likewise.
73451         * elf/pldd.c: Likewise.
73452         * elf/sotruss.ksh: Likewise.
73453         * catgets/gencat.c: Likewise.
73454         * csu/version.c: Likewise.
73455         * elf/ldd.bash.in: Likewise.
73456         * elf/sprof.c (print_version): Likewise.
73457         * locale/programs/locale.c: Likewise.
73458         * locale/programs/localedef.c: Likewise.
73459         * login/programs/pt_chown.c: Likewise.
73460         * nscd/nscd.c (print_version): Likewise.
73461         * debug/xtrace.sh: Likewise.
73462         * malloc/memusage.sh: Likewise.
73463         * malloc/mtrace.pl: Likewise.
73464         * debug/catchsegv.sh: Likewise.
73466 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73468         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73469         pure attribute.
73471 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73473         [BZ #13533]
73474         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73475         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73476         transformations.
73477         * iconv/gconv_int.h: Likewise.
73478         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73479         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73480         from libc for GLIBC_2.16.
73481         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73482         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73483         * wcsmbs/uchar.h: Really define mbstate_t.
73484         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73485         * wcsmbs/c16rtomb.c: New file.
73486         * wcsmbs/mbrtoc16.c: New file.
73487         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73488         for C/POSIX locale.
73489         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73490         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73492         * wcsmbs/wchar.h: Add missing __restrict.
73494 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73496         [BZ #13532]
73497         * time/Makefile (routines): Add timespec_get.
73498         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73499         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73500         timespec for ISO C11.
73501         * time/timespec_get.c: New file.
73502         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73503         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73505         [BZ #13531]
73506         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73507         * stdlib/stdlib.h: Declare aligned_alloc.
73508         * Versions.def: Add GLIBC_2.16 for libc.
73509         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73511         [BZ 13527]
73512         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73513         ISO C11.
73515         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73516         code.
73518         [BZ #13528]
73519         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73521         [BZ #13529]
73522         * assert/assert.h (static_assert): Define.
73524         * version.h: Update for 2.16 development version.
73526         [BZ #13526]
73527         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73528         _ISOC11_SOURCE.
73530         * version.h (RELEASE): Bump for 2.15 release.
73531         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73533         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73534         Patch by Marek Polacek <mpolacek@redhat.com>.
73536         * bits/byteswap.h: Protect long long constants with __extension__.
73537         * sysdeps/i386/bits/byteswap.h: Likewise.
73538         * sysdeps/ia64/bits/byteswap.h: Likewise.
73539         * sysdeps/s390/bits/byteswap.h: Likewise.
73540         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73542 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73544         [BZ #13540]
73545         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73546         destination buffer.
73547         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73549 2011-12-23  Marek Polacek  <polacek@redhat.com>
73551         * elf/dl-addr.c (determine_info): Add inline keyword.
73552         * elf/tst-auditmod4b.c (check_avx): Likewise.
73553         * elf/tst-auditmod6b.c (check_avx): Likewise.
73554         * elf/tst-auditmod6c.c (check_avx): Likewise.
73555         * elf/tst-auditmod7b.c (check_avx): Likewise.
73557 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73559         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73560         !__SSE_MATH__.
73562 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73564         [BZ #13540]
73565         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73566         processing for last bytes.
73568 2011-08-06  Bruno Haible  <bruno@clisp.org>
73570         [BZ #13061]
73571         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73572         U+0385, not to U+1FEE.
73574         [BZ #13062]
73575         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73576         entry for U+00A5 U+0301.
73578 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73580         [BZ #13166]
73581         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73582         buffer for the output is too small.
73584         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73585         optimization.
73587         [BZ #13185]
73588         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73589         SSE flags if possible.
73591 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73593         [BZ #13540]
73594         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73595         processing for last bytes.
73597 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73599         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73600         (syscall-list-default-options, syscall-list-default-condition)
73601         (syscall-list-includes): Define.
73602         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73603         list of ABIs and options and #if conditions for each ABI.  Do not
73604         handle common syscalls between ABIs specially.
73605         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73606         Remove.
73607         (syscall-list-variants, syscall-list-32bit-options)
73608         (syscall-list-32bit-condition, syscall-list-64bit-options)
73609         (syscall-list-64bit-condition): Define.
73610         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73611         (syscall-list-variants, syscall-list-32bit-options)
73612         (syscall-list-32bit-condition, syscall-list-64bit-options)
73613         (syscall-list-64bit-condition): Define.
73614         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73615         Remove.
73616         (syscall-list-variants, syscall-list-32bit-options)
73617         (syscall-list-32bit-condition, syscall-list-64bit-options)
73618         (syscall-list-64bit-condition): Define.
73619         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73620         Remove.
73621         (syscall-list-variants, syscall-list-32bit-options)
73622         (syscall-list-32bit-condition, syscall-list-64bit-options)
73623         (syscall-list-64bit-condition): Define.
73625 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73627         * locale/iso-639.def: Add brx entry.
73629         [BZ #13328]
73630         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73631         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73633         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73634         __feraiseexcept_renamed.
73636 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73638         [BZ #13538]
73639         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73640         EPOLLET with unsigned values.
73641         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73642         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73644         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73645         to large cancellation.
73646         * math/s_cacoshf.c: Likewise.
73647         * math/s_cacoshl.c: Likewise.
73649 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73651         [BZ #13305]
73652         [BZ #12786]
73653         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73654         * math/s_cacoshf.c: Likewise.
73655         * math/s_cacoshl.c: Likewise.
73657 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73659         [BZ #13439]
73660         * iconv/gconv.h: Define __GCONV_SWAP.
73661         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73662         * iconvdata/utf-16.c: Likewise.
73663         * iconvdata/utf-32.c: Likewise.
73665 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73667         [BZ #13524]
73668         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73669         numerator after shifting it by one limb.
73671 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73673         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73674         under [__USE_EXTERN_INLINES].
73676 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73678         [BZ #13446]
73679         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73681 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73683         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73684         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73685         optimized code.
73686         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73687         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73688         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73689         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73690         for strncasecmp/strncasecmp_l compilation.
73691         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73692         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73694 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73696         [BZ #13484]
73697         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73698         of __asm__.
73700 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73702         [BZ #13506]
73703         * time/tzfile.c (__tzfile_read): Check values from file header.
73705 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73707         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73708         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73709         * powerpc/powerpc32/dl-start.S: Likewise.
73710         * powerpc/powerpc32/elf/start.S: Likewise.
73711         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73712         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73713         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73714         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73715         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73716         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73717         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73718         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73719         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73720         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73721         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73722         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73723         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73724         * powerpc/powerpc32/memset.S: Likewise.
73725         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73726         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73727         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73728         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73729         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73730         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73731         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73732         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73733         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73734         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73735         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73736         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73737         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73739 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73741         * math/libm-test.inc: Added more nearbyint tests.
73742         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73743         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73744         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73745         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73747 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73749         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73750         FD_CLOEXEC.
73752 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73754         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73755         Add wcscpy-ssse3 wcscpy-c.
73756         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73757         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73758         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73759         * sysdeps/x86_64/wcschr.S: New file.
73760         * sysdeps/x86_64/wcsrchr.S: New file.
73761         * string/test-strcmp.c: Remove checking of wcscmp function for
73762         wrong alignments.
73763         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73764         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73765         wcsrchr-sse2 wcsrchr-c.
73766         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73767         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73768         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73769         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73770         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73771         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73772         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73773         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73774         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73775         * wcsmbc/wcschr.c (WCSCHR): New macro.
73777 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73779         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73780         * wcsmbs/test-wcsrchr.c: New file.
73781         * string/test-strrchr.c: Add wcsrchr support.
73782         (WIDE): New macro.
73783         * wcsmbs/test-wcscpy.c: New file.
73784         * string/test-strcpy.c: Add wcscpy support.
73785         (WIDE): New macro.
73787 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73789         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73790         the inner loop.
73792 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73794         [BZ #13472]
73795         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73797 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73799         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73800         Minor optimizations.
73802         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73803         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73804         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73806 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73808         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73809         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73810         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73811         for gcc to avoid warnings.
73812         * inet/Makefile (tests): Add tst-checks.
73813         * inet/tst-checks.c: New file.
73815         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73816         warning.
73818         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73819         __wmemcmp_sse2.
73821         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73822         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73824         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73826 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73828         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73829         problem.
73831         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73833 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73835         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73836         conditional on GCC version.
73837         (__arch_compare_and_exchange_val_8_acq)
73838         (__arch_compare_and_exchange_val_16_acq)
73839         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73840         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73841         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73843 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73845         * sysdeps/sh/backtrace.c: New file.
73847 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73849         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73850         parenthesis.
73852 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73854         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73855         falling back to utime.
73857 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73859         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73860         expectations for float.
73862 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73864         * locale/weight.h (findidx): Add parameter len.
73865         * locale/weightwc.h (findidx): Likewise.
73866         * posix/fnmatch_loop.c (FCT): Adjust caller.
73867         * posix/regcomp.c (build_equiv_class): Likewise.
73868         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73869         * posix/regexec.c (check_node_accept_bytes): Likewise.
73870         * string/strcoll_l.c (STRCOLL): Likewise.
73871         * string/strxfrm_l.c (STRXFRM): Likewise.
73873 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73875         * Makefile.in: Remove CVSOPT handling.
73876         * configure.in: Remove use of AC_REVISION.
73877         * iconvdata/Makefile (distribute): No need to filter out CVS.
73878         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73879         handling.
73881 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73883         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73884         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73885         [USE_AS_STRNCASECMP_L]: Likewise.
73886         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73887         NO_TLS_DIRECT_SEG_REFS.
73888         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73889         Fix argument offsets for non-PIC.
73890         [USE_AS_STRNCASECMP_L]: Likewise.
73891         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73892         NO_TLS_DIRECT_SEG_REFS.
73894 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73896         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73897         O_CLOEXEC.
73898         * locale/loadlocale.c (_nl_load_locale): Likewise.
73900 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73902         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73903         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73904         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73905         (SYSCALL_GETTIME): Set errno on error.
73907         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73908         count references to noai6ai_cached.
73910 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73912         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73914         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73915         FD_CLOEXEC for /proc/self/maps.
73917         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73918         FD_CLOEXEC for /proc/meminfo.
73920         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73921         gai.conf.
73923         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73924         FD_CLOEXEC for given file.
73926         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73928         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73929         FD_CLOEXEC for /etc/hosts.
73930         (_gethtent): Likewise.
73932         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73934         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73935         cancellation and set FD_CLOEXEC for /etc/netgroup.
73937         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73938         reading /etc/publickey.
73940         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73941         allow cancellation when reading /etc/group.
73943         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73944         cancellation.
73945         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73947         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73948         when using data file.
73950         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73952         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73953         (write_nis_obj): Use "c" and "e" in fopen.
73955         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73957         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73959         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73961         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73963         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73964         locale.alias.
73966         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73968         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73970         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73972         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73973         file parsing and set FD_CLOEXEC.
73975 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73977         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73979 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73981         * malloc/arena.c (arena_get2): Don't call reused_arena when
73982         _int_new_arena failed.
73984 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73986         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73987         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73988         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73989         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73990         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73991         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73992         to compile strcasecmp and strncasecmp.
73993         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73994         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73996         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73998 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74000         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74001         locale-defines.sym to gen-as-const-headers.
74002         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74003         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74004         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74005         to compile strcasecmp and strncasecmp.
74006         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74007         strcasecmp_l and strncasecmp_l.
74008         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74009         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74010         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74011         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74012         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74013         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74014         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74015         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74016         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74017         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74018         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74020 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74022         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74023         result of SYSDEP_GETTIME_CPU to retval.
74024         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74025         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74027         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74028         variable.
74030         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74031         mantissa words.
74032         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74034         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74035         from unused variable.
74037         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74038         DWARF definitions.
74039         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74040         for assembling.
74042         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74043         over namespaces.
74045         * sunrpc/rpc_prot.c (rejected): Fix case value.
74047         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74048         unsigned long long int to avoid warnings in shift.
74050         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74051         of use of trans.
74052         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74053         variable tmp.
74055         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74056         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74057         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74059         * nis/nis_table.c (nis_list): Use variable of correct type for
74060         result of __follow_path call.
74062 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74064         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74065         of math functions ceil, trunc, floor, round, and sqrt, when
74066         avaliable on the platform.
74067         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74068         name clash.
74069         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74070         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74071         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74073 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74075         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74076         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74078 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74080         * include/unistd.h: Fix __readlink return type.
74081         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74083 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74085         * stdlib/ucontext.h: Undo last change for makecontext.
74087 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74089         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74091         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74092         * setjmp/setjmp.h: Mark functions as non-leaf.
74093         * setjmp/bits/setjmp2.h: Likewise.
74094         * stdlib/ucontext.h: Likewise.
74096 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74098         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74099         (reused_arena): Don't check arena limit.
74100         (arena_get2): Atomically check arena limit.
74102 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74104         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74105         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74107         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74108         instructions.
74110 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74112         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74113         handler when locking.
74115         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74116         Fix size of allocated buffer.
74118 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74120         [BZ #10103]
74121         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74122         declarations for long double functions.
74123         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74125         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74127 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74129         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74130         installed.
74132         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74133         is disabled.
74135 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74137         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74139 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74141         * include/alloca.h (stackinfo_alloca_round): Define.
74142         (extend_alloca): Use it.
74143         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74144         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74145         here.
74147         * scripts/check-local-headers.sh: Ignore libaudit.h.
74149         * nscd/Makefile (extra-objs): Make recursively expanded.
74151 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74153         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74154         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74156         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74157         * posix/tst-rfc3484-2.c: Likewise.
74158         * posix/tst-rfc3484-3.c: Likewise.
74160         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74161         process_vm_writev.
74162         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74163         process_vm_writev.
74164         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74165         process_vm_writev from libc using GLIBC_2.15 version.
74167         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74169 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74171         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74172         stack usage.
74174 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74176         [BZ #13367]
74177         * nss/getent.c (initgroups_keys): Show error message in case no group
74178         names are given.
74180         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74181         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74182         __bump_nl_timestamp.
74183         * nscd/connections (nscd_init): When host database is served open
74184         netlink socket and request notification about configuration changes.
74185         (main_loop_poll): Track netlink file descriptor and bump timestamp
74186         in case data becomes available.
74187         (main_loop_epoll): Likewise.
74188         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74189         (database_pers_head): Add extra_data fileds.
74190         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74191         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74192         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74193         Adjust caller.
74194         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74195         in6ai data, call __free_in6ai.
74196         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74197         Add -DHAVE_NETLINK.
74198         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74199         interface information.  Reuse previous data if netlink timestamp
74200         is not changed.
74201         (__bump_nl_timestamp): New function.
74202         (__free_in6ai): New function.
74204 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74206         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74207         close_not_cancel_no_status here.
74208         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74210 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74212         [BZ #13276]
74213         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74214         return value.
74216         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74217         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74218         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74220 2011-07-03  Andreas Jaeger  <aj@suse.de>
74222         [BZ #10709]
74223         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74224         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74225         * math/libm-test.inc (sin_test): Add test case.
74227 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74229         [BZ #13337]
74230         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74231         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74233         * elf/chroot_canon.c (chroot_canon): Cleanups.
74235         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74237         [BZ #13335]
74238         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74239         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74241         * string/test-strchr.c: Make usable for strchrnul testing.
74242         * string/test-strchrnul.c: New file.
74243         * string/Makefile (strop-tests): Add strchrnul.
74245         * po/it.po: Update from translation team.
74246         * po/es.po: Likewise.
74248 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74250         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74251         the three constants needed as parameters.  Drop the others.
74252         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74253         __m128i_strloadu_tolower.
74254         Create and initialize variable zero and use it in all the places
74255         where _mm_setzero_si128 was used.
74257         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74258         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74259         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74260         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74261         anymore.
74262         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74263         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74264         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74265         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74266         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74267         __mpranred, __mptan.
74268         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74269         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74270         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74271         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74272         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74273         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74274         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74275         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74276         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74278 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74280         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74281         redefine if SHARED.
74282         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74284         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74285         wide char related routines to wcsmbs subdir.
74287 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74289         [BZ #13344]
74290         * misc/sys/cdefs.h (__THROWNL): Define.
74291         * posix/unistd.h: Use __THREADNL instead of __THREAD
74292         for memory synchronization functions.
74294 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74296         [BZ #13349]
74297         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74298         doesn't exist.
74299         * manual/stdio.texi (Obstack Streams): Node removed.
74301 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74303         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74304         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74305         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74307         * math/math_private.h (math_force_eval): Allow non-addressable
74308         arguments.
74309         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74311 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74313         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74314         file is not needed.
74316         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74317         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74318         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74319         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74320         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74321         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74322         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74323         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74324         Add AVX variants.
74325         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74326         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74327         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74328         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74329         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74330         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74331         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74332         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74333         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74334         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74335         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74336         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74337         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74338         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74339         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74340         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74341         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74342         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74343         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74345         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74346         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74348         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74349         place.  Use VEX encoding when compiling for AVX.
74351 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74353         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74354         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74356         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74358 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74360         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74361         useless if() expression.
74362         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74363         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74364         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74365         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74366         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74367         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74368         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74369         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74370         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74371         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74372         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74373         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74374         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74375         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74376         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74377         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74378         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74379         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74380         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74382         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74384 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74386         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74387         condition.
74388         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74390 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74392         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74393         .text section.  Avoid duplicate constants.
74394         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74395         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74396         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74397         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74398         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74399         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74400         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74401         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74402         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74403         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74404         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74405         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74406         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74407         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74408         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74409         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74410         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74411         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74412         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74413         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74414         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74415         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74416         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74417         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74418         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74419         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74420         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74421         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74422         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74423         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74424         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74425         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74426         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74427         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74428         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74429         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74430         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74431         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74432         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74433         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74434         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74435         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74436         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74437         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74438         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74440 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74442         * sysdeps/x86_64/dla.h: Move to ...
74443         * sysdeps/x86_64/fpu/dla.h: ...here.
74444         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74445         situations.  Use __builtin_fma only for gcc 4.6 and up.
74447         * config.make.in: Add have-mfma4 entry.
74448         * configure.in: Substitute libc_cv_cc_fma4.
74449         * math/Makefile (dbl-only-routines): Add sincostab.
74450         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74451         Use __sincostab not sincos.
74452         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74453         name is a macro.
74454         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74455         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74456         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74457         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74458         using __copysign.
74459         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74460         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74461         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74462         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74463         and __inv.
74464         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74465         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74466         __copysign.
74467         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74468         define aliases when function name is a macro.
74469         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74470         sysdeps/ieee754/dbl-64/sincos.tbl.
74471         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74472         fma4-enabled routines.
74473         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74474         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74475         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74476         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74477         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74478         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74479         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74480         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74481         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74482         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74483         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74484         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74485         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74486         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74487         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74488         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74489         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74490         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74491         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74492         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74493         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74494         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74495         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74496         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74497         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74498         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74499         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74500         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74501         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74502         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74504         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74505         rename.
74506         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74507         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74508         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74509         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74510         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74511         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74512         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74513         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74515 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74517         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74519 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74521         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74523         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74524         prediction.
74525         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74527         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74528         Remove unused variable magic_bits.
74529         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74531         * string/strnlen.c: Define and use STRNLEN macro.
74532         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74533         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74534         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74535         * wcsmbs/wcslen.c: Define and use WCSLEN.
74536         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74537         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74538         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74539         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74540         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74541         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74542         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74544 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74547         strnlen-sse2-no-bsf.
74548         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74549         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74550         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74551         Add strnlen support.
74552         (USE_AS_STRNLEN): New macro.
74553         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74554         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74555         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74556         * sysdeps/x86_64/wcslen.S: New file.
74558 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74560         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74561         XMM-moves are used for copying on small sizes.
74563 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74565         * wcsmbs/Makefile (strop-tests): Add wcschr.
74566         * wcsmbs/test-wcschr.c: New file.
74567         * string/test-strchr.c: Update.
74568         Add wcschr support.
74569         (WIDE): New macro.
74571 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74573         * wcsmbs/Makefile (strop-tests): Add wcslen.
74574         * wcsmbs/test-wcslen.c: New file.
74575         * string/test-strlen.c: Update.
74576         Add wcslen support.
74577         (WIDE): New macro.
74579 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74581         * po/it.po: Update from translation team.
74583 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74585         * sysdeps/x86_64/wcscmp.S: Update.
74586         Fix wrong comparison semantics.
74587         wcscmp shall use signed comparison not unsigned.
74588         Don't use substraction to avoid overflow bug.
74589         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74590         * wcsmbc/wcscmp.c: Likewise.
74591         * string/test-strcmp.c: Likewise.
74592         Add new tests to check cases with negative values.
74594 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74596         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74597         * sysdeps/x86_64/dla.h: ...here.  New file.
74598         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74599         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74601         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74602         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74603         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74604         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74605         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74606         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74608 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74610         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74611         __ynl_finite aliases.
74613 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74615         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74617         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74618         define DLA_FMA.
74619         [DLA_FMA] (EMULV): Use DLA_FMA.
74620         [DLA_FMA] (MUL12): Use EMULV.
74621         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74622         that are not needed.
74623         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74624         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74625         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74626         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74627         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74628         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74629         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74631 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74633         * math/s_nan.c: Undef __nan.
74634         * math/s_nanf.c: Undef __nanf.
74635         * math/s_nanl.c: Undef __nanl.
74636         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74637         "math_private.h".
74639 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74641         * math/s_catan.c: Add branch predictions.
74642         * math/s_catanf.c: Likewise.
74643         * math/s_catanh.c: Likewise.
74644         * math/s_catanhf.c: Likewise.
74645         * math/s_catanhl.c: Likewise.
74646         * math/s_catanl.c: Likewise.
74647         * math/s_cexp.c: Likewise.
74648         * math/s_cexpf.c: Likewise.
74649         * math/s_cexpl.c: Likewise.
74650         * math/s_clog.c: Likewise.
74651         * math/s_clog10.c: Likewise.
74652         * math/s_clog10f.c: Likewise.
74653         * math/s_clog10l.c: Likewise.
74654         * math/s_clogf.c: Likewise.
74655         * math/s_clogl.c: Likewise.
74656         * math/s_csqrt.c: Likewise.
74657         * math/s_csqrtf.c: Likewise.
74658         * math/s_csqrtl.c: Likewise.
74659         * math/s_ctanf.c: Likewise.
74660         * math/s_ctanh.c: Likewise.
74661         * math/s_ctanhf.c: Likewise.
74662         * math/s_ctanhl.c: Likewise.
74663         * math/s_ctanl.c: Likewise.
74665         * math/math_private.h: Define __nan, __nanf, __nanl.
74666         * math/s_cacosh.c: Include <math_private.h>.
74667         * math/s_cacoshl.c: Likewise.
74668         * math/s_casinh.c: Likewise.
74669         * math/s_casinhf.c: Likewise.
74670         * math/s_casinhl.c: Likewise.
74671         * math/s_ccos.c: Rely entire on ccosh.
74672         * math/s_ccosf.c: Rely entire on ccoshf.
74673         * math/s_ccosl.c: Rely entirely on ccoshl.
74674         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74675         Remove tests for FE_INVALID.
74676         * math/s_ccoshf.c: Likewise.
74677         * math/s_ccoshl.c: Likewise.
74678         * math/s_csin.c: Likewise.
74679         * math/s_csinf.c: Likewise.
74680         * math/s_csinh.c Likewise.
74681         * math/s_csinhf.c: Likewise.
74682         * math/s_csinhl.c: Likewise.
74683         * math/s_csinl.c: Likewise.
74684         * math/s_ctan.c: Likewise.
74685         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74686         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74687         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74689 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74691         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74692         compilation problems.
74694         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74695         __builtin_expect.
74697 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74699         * sysdeps/i386/configure.in: Test for -mfma4 option.
74700         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74701         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74702         COMMON_CPUID_INDEX_80000001.
74703         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74704         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74705         use it if FMA3 is not supported.
74706         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74708         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74709         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74711 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74713         [BZ #12892]
74714         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74715         it would create a cycle with a link time dependency.
74717 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74719         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74720         instruction.
74721         * string/Makefile (strop-tests): Add rawmemchr.
74722         * string/test-rawmemchr.c: New file.
74724         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74725         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74726         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74727         when compiling str{,n}casecmp and when AVX is available.  Hook up
74728         new optimized code in initializers.
74730 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74732         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74733         __feraiseexcept instead of feraiseexcept.
74735 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74737         * math/math_private.h: Define defaults for libc_fetestexcept and
74738         libc_feupdateenv.
74739         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74740         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74741         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74742         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74743         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74744         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74745         libc_fetestexcept and libc_feupdateenv.
74747         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74748         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74749         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74750         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74751         libc_feholdexcept_setround.
74753         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74754         Add s_nearbyint-c and s_nearbyintf-c.
74755         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74756         nearbyintf inlines.
74757         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74758         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74759         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74760         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74762         * math/math_private.h: Define defaults for libc_fegetround,
74763         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74764         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74765         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74766         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74767         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74768         standard functions.
74769         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74770         Remove comments and hacks for old compiler versions.
74771         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74772         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74773         libc_feholdexceptl.
74775 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74777         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74778         (__feraiseexcept_renamed): Add __NTH.
74779         (feraiseexcept): Add __NTH.  Rename local variables to fix
74780         namespace violations.
74782 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74784         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74786         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74788         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74789         recently added interfaces.
74790         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74792         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74793         about macro parameter expansion.
74795         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74796         __NO_MATH_INLINES is defined.  Cleanups.
74798         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74799         and __floorf is target has SSE4.1.
74800         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74801         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74802         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74803         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74805         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74806         name.
74807         (floorf): Likewise.
74809         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74811 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74813         * misc/sys/cdefs.h: Fix last change.
74815         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74816         database lookup.
74818 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74820         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74822         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74823         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74824         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74825         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74826         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74827         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74828         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74829         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74830         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74831         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74832         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74833         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74834         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74835         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74836         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74837         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74838         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74839         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74840         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74841         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74842         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74843         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74845         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74846         ceil, ceilf, floor, floorf.
74848         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74849         Perform IRELATIVE relocations last.
74851         * elf/do-rel.h: Add another parameter nrelative, replacing the
74852         local variable with the same name.  Change name of the function
74853         to end in Rel or Rela (uppercase).
74854         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74855         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74856         elf_dynamic_do_##reloc function.
74858 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74860         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74861         is sufficient, at least on modern CPUs.
74863         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74865         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74866         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74868         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74869         __expl_finite.
74870         * math/bits/math-finite.h: Add entries for exp.
74871         * math/e_expl.c: Add __*_finite alias.
74872         * sysdeps/i386/fpu/e_exp.S: Likewise.
74873         * sysdeps/i386/fpu/e_expf.S: Likewise.
74874         * sysdeps/i386/fpu/e_expl.c: Likewise.
74875         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74876         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74877         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74878         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74879         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74880         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74881         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74883         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74884         is sufficient, at least on modern CPUs.
74886         * ctype/ctype-info.c (__ctype_init): Define.
74887         * include/ctype.h (__ctype_init): Declare.
74888         (__ctype_b_loc): The variable is always initialized.
74889         (__ctype_toupper_loc): Likewise.
74890         (__ctype_tolower_loc): Likewise.
74891         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74892         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74894 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74896         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74898         * configure.in: Also look in $cxxmachine/include for C++ system
74899         headers.
74901 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74903         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74904         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74905         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74906         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74907         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74908         (USE_AS_WMEMCMP): New macro.
74909         Fixing indents.
74910         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74911         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74912         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74913         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74914         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74915         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74916         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74917         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74918         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74919         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74920         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74921         (USE_AS_WMEMCMP): New macro.
74922         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74923         * sysdeps/string/test-memcmp.c: Update.
74924         Fix simple_wmemcmp.
74925         Add new tests.
74926         * wcsmbs/wmemcmp.c: Update.
74927         (WMEMCMP): New macro.
74928         Fix overflow bug.
74930 2011-10-12  Andreas Jaeger  <aj@suse.de>
74932         [BZ #13268]
74933         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74935 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74937         * libio/iofwide.c (do_length): Avoid warning.
74939         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74941 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74943         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74945         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74946         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74947         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74948         * sysdeps/i386/i686/fpu/e_log.S: New file.
74949         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74950         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74952         * ctype/ctype.h: Add support for inlined isXXX functions when
74953         compiling C++ code.
74955 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74957         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74959         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74961 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74963         [BZ #13291]
74964         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74966 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74968         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74969         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74970         feraiseexcept.
74972         * sysdeps/x86_64/memrchr.S: Check for zero size.
74974         * string/stratcliff.c: Add memrchr tests.
74976 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74978         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74979         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74980         rawmemchr-sse2 rawmemchr-sse2-bsf.
74981         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74982         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74983         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74984         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74985         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74986         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74987         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74988         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74989         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74990         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74991         * string/memrchr.c (MEMRCHR): New macro.
74993 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74995         Add integration with gcc's -ffinite-math-only and optimize wrapper
74996         functions in libm.
74997         * Versions.def: Define GLIBC_2.15 version for libm.
74998         * math/Makefile (headers): Add bits/math-finite.h.
74999         * math/bits/math-finite.h: New file.
75000         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75001         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75002         * math/e_acoshl.c: Add __*_finite alias.
75003         * math/e_acosl.c: Likewise.
75004         * math/e_asinl.c: Likewise.
75005         * math/e_atan2l.c: Likewise.
75006         * math/e_atanhl.c: Likewise.
75007         * math/e_coshl.c: Likewise.
75008         * math/e_exp10.c: Likewise.
75009         * math/e_exp10f.c: Likewise.
75010         * math/e_exp10l.c: Likewise.
75011         * math/e_exp2l.c: Likewise.
75012         * math/e_fmodl.c: Likewise.
75013         * math/e_gammal_r.c: Likewise.
75014         * math/e_hypotl.c: Likewise.
75015         * math/e_j0l.c: Likewise.
75016         * math/e_j1l.c: Likewise.
75017         * math/e_jnl.c: Likewise.
75018         * math/e_lgammal_r.c: Likewise.
75019         * math/e_log10l.c: Likewise.
75020         * math/e_log2l.c: Likewise.
75021         * math/e_logl.c: Likewise.
75022         * math/e_powl.c: Likewise.
75023         * math/e_sinhl.c: Likewise.
75024         * math/e_sqrtl.c: Likewise.
75025         * math/e_scalb.c: Completely rewritten and optimized.
75026         * math/e_scalbf.c: Likewise.
75027         * math/e_scalbl.c: Likewise.
75028         * math/w_acos.c: Likewise.
75029         * math/w_acosf.c: Likewise.
75030         * math/w_acosl.c: Likewise.
75031         * math/w_acosh.c: Likewise.
75032         * math/w_acoshf.c: Likewise.
75033         * math/w_acoshl.c: Likewise.
75034         * math/w_asin.c: Likewise.
75035         * math/w_asinf.c: Likewise.
75036         * math/w_asinl.c: Likewise.
75037         * math/w_atan2.c: Likewise.
75038         * math/w_atan2f.c: Likewise.
75039         * math/w_atan2l.c: Likewise.
75040         * math/w_atanh.c: Likewise.
75041         * math/w_atanhf.c: Likewise.
75042         * math/w_atanhl.c: Likewise.
75043         * math/w_exp10.c: Likewise.
75044         * math/w_exp10f.c: Likewise.
75045         * math/w_exp10l.c: Likewise.
75046         * math/w_fmod.c: Likewise.
75047         * math/w_fmodf.c: Likewise.
75048         * math/w_fmodl.c: Likewise.
75049         * math/w_j0.c: Likewise.
75050         * math/w_j0f.c: Likewise.
75051         * math/w_j0l.c: Likewise.
75052         * math/w_j1.c: Likewise.
75053         * math/w_j1f.c: Likewise.
75054         * math/w_j1l.c: Likewise.
75055         * math/w_jn.c: Likewise.
75056         * math/w_jnf.c: Likewise.
75057         * math/w_log.c: Likewise.
75058         * math/w_logf.c: Likewise.
75059         * math/w_logl.c: Likewise.
75060         * math/w_log10.c: Likewise.
75061         * math/w_log10f.c: Likewise.
75062         * math/w_log10l.c: Likewise.
75063         * math/w_log2.c: Likewise.
75064         * math/w_log2f.c: Likewise.
75065         * math/w_log2l.c: Likewise.
75066         * math/w_pow.c: Likewise.
75067         * math/w_powf.c: Likewise.
75068         * math/w_powl.c: Likewise.
75069         * math/w_remainder.c: Likewise.
75070         * math/w_remainderf.c: Likewise.
75071         * math/w_remainderl.c: Likewise.
75072         * math/w_scalb.c: Likewise.
75073         * math/w_scalbf.c: Likewise.
75074         * math/w_scalbl.c: Likewise.
75075         * math/w_sqrt.c: Likewise.
75076         * math/w_sqrtf.c: Likewise.
75077         * math/w_sqrtl.c: Likewise.
75078         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75079         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75080         used.
75081         * math/math_private.h: Declare __kernel_standard_f.
75082         * math/w_cosh.c: Remove cruft and optimize a bit.
75083         * math/w_coshf.c: Likewise.
75084         * math/w_coshl.c: Likewise.
75085         * math/w_exp2.c: Likewise.
75086         * math/w_exp2f.c: Likewise.
75087         * math/w_exp2l.c: Likewise.
75088         * math/w_hypot.c: Likewise.
75089         * math/w_hypotf.c: Likewise.
75090         * math/w_hypotl.c: Likewise.
75091         * math/w_lgamma.c: Likewise.
75092         * math/w_lgamma_r.c: Likewise.
75093         * math/w_lgammaf.c: Likewise.
75094         * math/w_lgammaf_r.c: Likewise.
75095         * math/w_lgammal.c: Likewise.
75096         * math/w_lgammal_r.c: Likewise.
75097         * math/w_sinh.c: Likewise.
75098         * math/w_sinhf.c: Likewise.
75099         * math/w_sinhl.c: Likewise.
75100         * math/w_tgamma.c: Likewise.
75101         * math/w_tgammaf.c: Likewise.
75102         * math/w_tgammal.c: Likewise.
75103         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75104         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75105         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75106         Minor optimizations.  Pretty printing.  Remove cruft.
75107         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75108         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75109         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75110         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75111         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75112         * sysdeps/i386/fpu/e_asin.S: Likewise.
75113         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75114         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75115         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75116         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75117         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75118         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75119         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75120         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75121         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75122         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75123         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75124         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75125         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75126         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75127         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75128         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75129         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75130         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75131         * sysdeps/i386/fpu/e_log.S: Likewise.
75132         * sysdeps/i386/fpu/e_log10.S: Likewise.
75133         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75134         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75135         * sysdeps/i386/fpu/e_log2.S: Likewise.
75136         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75137         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75138         * sysdeps/i386/fpu/e_logf.S: Likewise.
75139         * sysdeps/i386/fpu/e_logl.S: Likewise.
75140         * sysdeps/i386/fpu/e_pow.S: Likewise.
75141         * sysdeps/i386/fpu/e_powf.S: Likewise.
75142         * sysdeps/i386/fpu/e_powl.S: Likewise.
75143         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75144         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75145         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75146         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75147         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75148         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75149         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75150         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75151         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75152         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75153         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75154         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75155         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75156         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75157         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75158         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75159         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75160         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75161         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75162         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75163         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75164         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75165         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75166         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75167         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75168         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75169         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75170         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75171         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75172         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75173         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75174         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75175         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75176         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75177         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75178         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75179         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75180         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75181         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75182         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75183         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75184         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75185         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75186         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75187         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75188         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75189         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75190         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75191         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75192         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75193         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75194         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75195         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75196         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75197         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75198         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75199         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75200         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75201         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75202         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75203         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75204         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75205         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75206         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75207         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75208         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75209         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75210         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75211         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75212         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75213         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75214         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75215         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75216         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75217         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75218         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75219         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75220         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75221         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75222         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75223         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75224         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75225         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75226         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75227         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75228         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75229         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75230         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75231         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75232         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75233         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75234         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75235         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75236         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75237         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75238         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75239         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75240         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75241         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75242         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75243         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75244         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75245         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75246         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75247         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75248         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75249         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75250         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75251         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75252         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75253         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75254         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75255         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75256         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75257         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75258         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75259         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75260         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75261         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75262         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75263         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75264         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75265         (__isnanf): Likewise.
75266         (__isinf_ns): Likewise.
75267         (__isinf_nsf): Likewise.
75268         (__finite): Likewise.
75269         (__finitef): Likewise.
75270         (__ieee754_sqrt): Define as macro.
75271         (__ieee754_sqrtf): Define as macro.
75272         (__ieee754_sqrtl): Define as macro.
75273         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75274         inlined copy.
75275         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75276         __FINITE_MATH_ONLY__ consistent.
75277         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75279 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75281         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75282         of rawmemchr.
75284         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75286 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75288         * po/ja.po: Update from translation team.
75290 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75292         * locale/programs/locarchive.c (prepare_address_space): New function.
75293         (create_archive, enlarge_archive, open_archive): Use it.
75295         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75296         inside [SHARED], where it is used.
75298         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75300         * nss/getent.c (netgroup_keys): Remove unused variable.
75301         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75303 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75305         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75306         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75307         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75308         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75309         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75310         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75311         * math/Makefile (libm-calls): Add s_isinf_ns.
75312         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75313         * math/multc3.c: Likewise.
75314         * math/s_casin.c: Likewise.
75315         * math/s_casinf.c: Likewise.
75316         * math/s_casinl.c: Likewise.
75317         * math/s_ccos.c: Likewise.
75318         * math/s_ccosf.c: Likewise.
75319         * math/s_ccosl.c: Likewise.
75320         * math/s_ctan.c: Likewise.
75321         * math/s_ctanf.c: Likewise.
75322         * math/s_ctanh.c: Likewise.
75323         * math/s_ctanhf.c: Likewise.
75324         * math/s_ctanhl.c: Likewise.
75325         * math/s_ctanl.c: Likewise.
75326         * math/w_fmod.c: Likewise.
75327         * math/w_fmodf.c: Likewise.
75328         * math/w_fmodl.c: Likewise.
75329         * math/w_remainder.c: Likewise.
75330         * math/w_remainderf.c: Likewise.
75331         * math/w_remainderl.c: Likewise.
75332         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75333         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75334         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75335         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75336         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75337         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75338         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75339         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75341         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75342         of the number.
75343         * stdio-common/printf_fphex.c: Likewise.
75344         * stdio-common/printf_size.c: Likewise.
75346         * math/e_exp10.c: Include math_private.h using <...> not "...".
75347         * math/e_exp10f.c: Likewise.
75348         * math/e_exp10l.c: Likewise.
75349         * math/e_exp2l.c: Likewise.
75350         * math/e_j0l.c: Likewise.
75351         * math/e_j1l.c: Likewise.
75352         * math/e_jnl.c: Likewise.
75353         * math/e_lgammal_r.c: Likewise.
75354         * math/e_rem_pio2l.c: Likewise.
75355         * math/e_scalb.c: Likewise.
75356         * math/e_scalbf.c: Likewise.
75357         * math/e_scalbl.c: Likewise.
75358         * math/k_cosl.c: Likewise.
75359         * math/k_sinl.c: Likewise.
75360         * math/k_tanl.c: Likewise.
75361         * math/s_cacoshf.c: Likewise.
75362         * math/s_catan.c: Likewise.
75363         * math/s_catanf.c: Likewise.
75364         * math/s_catanh.c: Likewise.
75365         * math/s_catanhf.c: Likewise.
75366         * math/s_catanhl.c: Likewise.
75367         * math/s_catanl.c: Likewise.
75368         * math/s_ccosh.c: Likewise.
75369         * math/s_ccoshf.c: Likewise.
75370         * math/s_ccoshl.c: Likewise.
75371         * math/s_cexp.c: Likewise.
75372         * math/s_cexpf.c: Likewise.
75373         * math/s_cexpl.c: Likewise.
75374         * math/s_clog.c: Likewise.
75375         * math/s_clog10.c: Likewise.
75376         * math/s_clog10f.c: Likewise.
75377         * math/s_clog10l.c: Likewise.
75378         * math/s_clogf.c: Likewise.
75379         * math/s_clogl.c: Likewise.
75380         * math/s_csin.c: Likewise.
75381         * math/s_csinf.c: Likewise.
75382         * math/s_csinh.c: Likewise.
75383         * math/s_csinhf.c: Likewise.
75384         * math/s_csinhl.c: Likewise.
75385         * math/s_csinl.c: Likewise.
75386         * math/s_csqrt.c: Likewise.
75387         * math/s_csqrtf.c: Likewise.
75388         * math/s_csqrtl.c: Likewise.
75389         * math/s_ctan.c: Likewise.
75390         * math/s_ctanf.c: Likewise.
75391         * math/s_ctanh.c: Likewise.
75392         * math/s_ctanhf.c: Likewise.
75393         * math/s_ctanhl.c: Likewise.
75394         * math/s_ctanl.c: Likewise.
75395         * math/s_ldexp.c: Likewise.
75396         * math/s_ldexpf.c: Likewise.
75397         * math/s_ldexpl.c: Likewise.
75398         * math/s_significand.c: Likewise.
75399         * math/s_significandf.c: Likewise.
75400         * math/s_significandl.c: Likewise.
75401         * math/w_acos.c: Likewise.
75402         * math/w_acosf.c: Likewise.
75403         * math/w_acosh.c: Likewise.
75404         * math/w_acoshf.c: Likewise.
75405         * math/w_acoshl.c: Likewise.
75406         * math/w_acosl.c: Likewise.
75407         * math/w_asin.c: Likewise.
75408         * math/w_asinf.c: Likewise.
75409         * math/w_asinl.c: Likewise.
75410         * math/w_atan2.c: Likewise.
75411         * math/w_atan2f.c: Likewise.
75412         * math/w_atan2l.c: Likewise.
75413         * math/w_atanh.c: Likewise.
75414         * math/w_atanhf.c: Likewise.
75415         * math/w_atanhl.c: Likewise.
75416         * math/w_cosh.c: Likewise.
75417         * math/w_coshf.c: Likewise.
75418         * math/w_coshl.c: Likewise.
75419         * math/w_dremf.c: Likewise.
75420         * math/w_exp10.c: Likewise.
75421         * math/w_exp10f.c: Likewise.
75422         * math/w_exp10l.c: Likewise.
75423         * math/w_exp2.c: Likewise.
75424         * math/w_exp2f.c: Likewise.
75425         * math/w_fmod.c: Likewise.
75426         * math/w_fmodf.c: Likewise.
75427         * math/w_fmodl.c: Likewise.
75428         * math/w_hypot.c: Likewise.
75429         * math/w_hypotf.c: Likewise.
75430         * math/w_hypotl.c: Likewise.
75431         * math/w_j0.c: Likewise.
75432         * math/w_j0f.c: Likewise.
75433         * math/w_j0l.c: Likewise.
75434         * math/w_j1.c: Likewise.
75435         * math/w_j1f.c: Likewise.
75436         * math/w_j1l.c: Likewise.
75437         * math/w_jn.c: Likewise.
75438         * math/w_jnf.c: Likewise.
75439         * math/w_jnl.c: Likewise.
75440         * math/w_lgamma.c: Likewise.
75441         * math/w_lgamma_r.c: Likewise.
75442         * math/w_lgammaf.c: Likewise.
75443         * math/w_lgammaf_r.c: Likewise.
75444         * math/w_lgammal.c: Likewise.
75445         * math/w_lgammal_r.c: Likewise.
75446         * math/w_log.c: Likewise.
75447         * math/w_log10.c: Likewise.
75448         * math/w_log10f.c: Likewise.
75449         * math/w_log10l.c: Likewise.
75450         * math/w_log2.c: Likewise.
75451         * math/w_log2f.c: Likewise.
75452         * math/w_log2l.c: Likewise.
75453         * math/w_logf.c: Likewise.
75454         * math/w_logl.c: Likewise.
75455         * math/w_pow.c: Likewise.
75456         * math/w_powf.c: Likewise.
75457         * math/w_powl.c: Likewise.
75458         * math/w_remainder.c: Likewise.
75459         * math/w_remainderf.c: Likewise.
75460         * math/w_remainderl.c: Likewise.
75461         * math/w_scalb.c: Likewise.
75462         * math/w_scalbf.c: Likewise.
75463         * math/w_scalbl.c: Likewise.
75464         * math/w_sinh.c: Likewise.
75465         * math/w_sinhf.c: Likewise.
75466         * math/w_sinhl.c: Likewise.
75467         * math/w_sqrt.c: Likewise.
75468         * math/w_sqrtf.c: Likewise.
75469         * math/w_sqrtl.c: Likewise.
75470         * math/w_tgamma.c: Likewise.
75471         * math/w_tgammaf.c: Likewise.
75472         * math/w_tgammal.c: Likewise.
75474         * po/ja.po: Update from translation team.
75476 2011-09-29  Andreas Jaeger  <aj@suse.de>
75478         [BZ #13179]
75479         * sunrpc/netname.c (netname2host): Fix logic.
75481         [BZ #6779]
75482         [BZ #6783]
75483         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75484         correctly.
75485         * math/w_remainder.c (__remainder): Likewise.
75486         * math/w_remainderf.c (__remainderf): Likewise.
75487         * math/libm-test.inc (remainder_test): Add test cases.
75489 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75491         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75492         sdiv_qrnnd.
75494 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75496         * string/test-memcmp.c: Avoid unncessary #defines.
75497         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75499 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75501         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75502         Use new sse2 version for core i3 - i7 as it's faster
75503         than sse42 version.
75504         (bit_Prefer_PMINUB_for_stringop): New.
75505         * sysdeps/x86_64/rawmemchr.S: Update.
75506         Replace with faster SSE2 version.
75507         * sysdeps/x86_64/memrchr.S: New file.
75508         * sysdeps/x86_64/memchr.S: Update.
75509         Replace with faster SSE2 version.
75511 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75513         * elf/dl-load.c (lose): Add cast to avoid warning.
75515 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75517         * po/ca.po: Update from translation team.
75519         * inet/getnetgrent_r.c: Hook up nscd.
75520         * nscd/Makefile (routines): Add nscd_netgroup.
75521         (nscd-modules): Add netgroupcache.
75522         (CFLAGS-netgroupcache.c): Define.
75523         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75524         (cache_search): Add const to second parameter.
75525         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75526         INNETGR.
75527         (dbs): Add netgrdb entry.
75528         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75529         (verify_persistent_db): Handle netgrdb.
75530         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75531         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75532         GETFDNETGR.
75533         (netgroup_response_header): Define.
75534         (innetgroup_response_header): Define.
75535         (datahead): Add netgroup_response_header and innetgroup_response_header
75536         elements.
75537         * nscd/nscd.conf: Add entries for netgroup cache.
75538         * nscd/nscd.h (dbtype): Add netgrdb.
75539         (_PATH_NSCD_NETGROUP_DB): Define.
75540         (netgroup_iov_disabled): Declare.
75541         (xmalloc, xcalloc, xrealloc): Move declarations here.
75542         (cache_search): Adjust prototype.
75543         Add netgroup-related prototypes.
75544         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75545         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75546         (__nscd_innetgr): Declare.
75547         * nscd/selinux.c (perms): Use access_vector_t as element type and
75548         add netgroup-related initializers.
75549         * nscd/netgroupcache.c: New file.
75550         * nscd/nscd_netgroup.c: New file.
75551         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75552         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75553         For four parameters use innetgr.
75554         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75555         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75556         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75557         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75559         * nscd/connections.c (register_traced_file): Don't register file
75560         for disabled databases.
75562 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75564         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75566         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75567         from tree and freeing node.
75569 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75571         * nss/nsswitch.c (__nss_database_lookup): Handle
75572         nss_parse_service_list out of memory case.
75574 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75576         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75577         out of memory case.
75579 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75581         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75582         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75583         pass it down.
75584         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75585         elf_machine_rela, elf_machine_lazy_rel.
75586         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75587         (ELF_DYNAMIC_DO_REL): Likewise.
75588         (ELF_DYNAMIC_DO_RELA): Likewise.
75589         (ELF_DYNAMIC_RELOCATE): Likewise.
75590         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75591         to ELF_DYNAMIC_DO_REL.
75592         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75593         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75594         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75595         elf_machine_rela.
75596         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75597         skip_ifunc, don't call ifunc function if non-zero.
75598         (elf_machine_rela): Likewise.
75599         (elf_machine_lazy_rel): Likewise.
75600         (elf_machine_lazy_rela): Likewise.
75601         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75602         (elf_machine_lazy_rel): Likewise.
75603         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75604         Likewise.
75605         (elf_machine_lazy_rel): Likewise.
75606         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75607         Likewise.
75608         (elf_machine_lazy_rel): Likewise.
75609         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75610         (elf_machine_lazy_rel): Likewise.
75611         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75612         (elf_machine_lazy_rel): Likewise.
75613         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75614         (elf_machine_lazy_rel): Likewise.
75615         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75616         (elf_machine_lazy_rel): Likewise.
75617         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75618         (elf_machine_lazy_rel): Likewise.
75619         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75620         (elf_machine_lazy_rel): Likewise.
75622 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75624         * nss/nss_files/files-init.c (_nss_files_init): Use static
75625         initialization for all the *_traced_file variables.
75627 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75629         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75631 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75633         [BZ #13226]
75634         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75636 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75638         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75639         Reread the line before reparsing it.
75641 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75643         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75645 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75646             Maxim Kuvyrkov  <maxim@codesourcery.com>
75647             Joseph Myers  <joseph@codesourcery.com>
75649         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75650         if needed for __stack_chk_guard.
75652 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75654         * sysdeps/posix/spawni.c (script_execute): Always define it.
75655         It will be optimized away if unused.
75656         (maybe_script_execute): New function.
75657         (__spawni): Call it.
75659         * Makerules: Don't include tls.make.
75660         (config-tls): Always set to thread.
75661         * tls.make.c: File removed.
75663 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75665         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75666         * config.make.in (CPPFLAGS-config): New substituted variable.
75668 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75670         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75672         [BZ #13192]
75673         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75674         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75676 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75678         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75679         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75680         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75681         (CALL_FAIL): Likewise.
75682         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75683         (CALL_FAIL): Macro removed.
75684         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75686 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75688         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75689         for __FINITE_MATH_ONLY__ == 1.
75691 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75693         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75694         __ieee754_sqrt instead of sqrt.
75695         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75696         __ieee754_sqrtf instead of sqrtf.
75697         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75698         __floorf instead of floorf.
75699         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75700         __floorf, __truncf instead of floorf, truncf.
75702 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75704         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75706         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75707         __extern_always_inline.
75708         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75709         32-bit.
75711 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75713         * elf/rtld.c (dl_main): Also relocate in dependency order when
75714         doing symbol dependency testing.
75716 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75718         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75719         Always define `refsym'.
75721 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75723         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75724         (__FD_ELT): Renamed from __FDELT.
75725         * misc/bits/select2.h (__FD_ELT): Likewise.
75726         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75727         __FD_MASK instead of __FDELT, __FDMASK.
75728         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75729         Likewise.
75730         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75731         Likewise.
75733         * elf/Makefile (gen-ldd): Fix pattern.
75735         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75736         (init_tls): Likewise.
75738 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75740         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75742 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75744         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75745         `struct cmsghdr *' instead of `void *'.
75746         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75747         Likewise.
75749 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75751         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75752         if non-absolute.
75753         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75754         ldd_rewrite_script.
75756 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75758         * configure.in: Remove --with-tls option.
75759         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75760         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75761         out in case it is missing.
75762         * sysdeps/ia64/elf/configure.in: Likewise.
75763         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75764         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75765         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75766         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75767         * sysdeps/sh/elf/configure.in: Likewise.
75768         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75769         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75770         * sysdeps/x86_64/elf/configure.in: Likewise.
75771         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75772         * sysdeps/mach/hurd/tls.h: Likewise.
75774         [BZ #13067]
75775         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75777         [BZ #13090]
75778         * configure.in: Fix use of AC_INIT.
75780         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75782 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75784         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75785         __set_errno.
75786         * malloc/hooks.c: Likewise.
75788         [BZ #11929]
75789         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75790         variables statically.
75791         (narenas): Initialize.
75792         (list_lock): Initialize.
75793         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75794         initializtion of main_arena and list_lock.  Small cleanups.
75795         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75796         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75797         Add initializers to main_arena and mp_.
75798         (malloc_state): Remove pagesize member.  Change all users to use
75799         GLRO(dl_pagesize).
75801         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75802         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75803         is always initialized.
75805         * malloc/malloc.c: Removed unused configurations and dead code.
75806         * malloc/arena.c: Likewise.
75807         * malloc/hooks.c: Likewise.
75808         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75810         * include/tls.h: Removed.  USE___THREAD must always be defined.
75811         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75812         * elf/dl-libc.c: Likewise.
75813         * elf/dl-tsd.c: Likewise.
75814         * include/errno.h: Likewise.
75815         * include/netdb.h: Likewise.
75816         * include/resolv.h: Likewise.
75817         * inet/herrno-loc.c: Likewise.
75818         * inet/herrno.c: Likewise.
75819         * malloc/arena.c: Likewise.
75820         * malloc/hooks.c: Likewise.
75821         * malloc/malloc.c: Likewise.
75822         * resolv/res-state.c: Likewise.
75823         * resolv/res_libc.c: Likewise.
75824         * sysdeps/i386/dl-machine.h: Likewise.
75825         * sysdeps/ia64/dl-machine.h: Likewise.
75826         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75827         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75828         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75829         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75830         * sysdeps/sh/dl-machine.h: Likewise.
75831         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75832         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75833         * sysdeps/unix/i386/sysdep.S: Likewise.
75834         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75835         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75836         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75837         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75838         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75839         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75840         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75842         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75843         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75844         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75845         * sysdeps/x86_64/dl-machine.h: Likewise.
75846         * tls.make.c: Likewise.
75848         * configure.in: Remove --with-__thread option.  Make tests for
75849         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75850         tls_model attribute fail if no support is available.  Remove
75851         USE_IN_LIBIO.
75852         * Makeconfig: Adjust for dropped configure option.  All features are
75853         now mandatory.
75854         * Makerules: Likewise.
75855         * Versions.def: Likewise.
75856         * argp/argp-fmtstream.c: Likewise.
75857         * argp/argp-fmtstream.h: Likewise.
75858         * argp/argp-help.c: Likewise.
75859         * assert/assert.c: Likewise.
75860         * config.h.in: Likewise.
75861         * config.make.in: Likewise.
75862         * configure: Likewise.
75863         * configure.in: Likewise.
75864         * csu/Versions: Likewise.
75865         * csu/init.c: Likewise.
75866         * elf/tst-audit2.c: Likewise.
75867         * elf/tst-tls10.c: Likewise.
75868         * elf/tst-tls10.h: Likewise.
75869         * elf/tst-tls11.c: Likewise.
75870         * elf/tst-tls12.c: Likewise.
75871         * elf/tst-tls14.c: Likewise.
75872         * elf/tst-tlsmod11.c: Likewise.
75873         * elf/tst-tlsmod12.c: Likewise.
75874         * elf/tst-tlsmod13.c: Likewise.
75875         * elf/tst-tlsmod13a.c: Likewise.
75876         * elf/tst-tlsmod14a.c: Likewise.
75877         * elf/tst-tlsmod15b.c: Likewise.
75878         * elf/tst-tlsmod16a.c: Likewise.
75879         * elf/tst-tlsmod16b.c: Likewise.
75880         * elf/tst-tlsmod7.c: Likewise.
75881         * elf/tst-tlsmod8.c: Likewise.
75882         * elf/tst-tlsmod9.c: Likewise.
75883         * gmon/gmon.c: Likewise.
75884         * grp/fgetgrent_r.c: Likewise.
75885         * grp/putgrent.c: Likewise.
75886         * hurd/fopenport.c: Likewise.
75887         * include/libc-symbols.h: Likewise.
75888         * include/tls.h: Likewise.
75889         * intl/gettextP.h: Likewise.
75890         * intl/loadinfo.h: Likewise.
75891         * locale/global-locale.c: Likewise.
75892         * locale/localeinfo.h: Likewise.
75893         * mach/devstream.c: Likewise.
75894         * malloc/arena.c: Likewise.
75895         * malloc/set-freeres.c: Likewise.
75896         * misc/err.c: Likewise.
75897         * misc/getttyent.c: Likewise.
75898         * misc/mntent_r.c: Likewise.
75899         * posix/getopt.c: Likewise.
75900         * posix/wordexp.c: Likewise.
75901         * pwd/fgetpwent_r.c: Likewise.
75902         * resolv/Versions: Likewise.
75903         * resolv/res_hconf.c: Likewise.
75904         * shadow/fgetspent_r.c: Likewise.
75905         * shadow/putspent.c: Likewise.
75906         * stdio-common/printf_fphex.c: Likewise.
75907         * stdio-common/tmpfile.c: Likewise.
75908         * stdlib/abort.c: Likewise.
75909         * stdlib/fmtmsg.c: Likewise.
75910         * sunrpc/auth_unix.c: Likewise.
75911         * sunrpc/clnt_perr.c: Likewise.
75912         * sunrpc/clnt_tcp.c: Likewise.
75913         * sunrpc/clnt_udp.c: Likewise.
75914         * sunrpc/clnt_unix.c: Likewise.
75915         * sunrpc/openchild.c: Likewise.
75916         * sunrpc/svc_simple.c: Likewise.
75917         * sunrpc/svc_tcp.c: Likewise.
75918         * sunrpc/svc_udp.c: Likewise.
75919         * sunrpc/svc_unix.c: Likewise.
75920         * sunrpc/xdr.c: Likewise.
75921         * sunrpc/xdr_array.c: Likewise.
75922         * sunrpc/xdr_rec.c: Likewise.
75923         * sunrpc/xdr_ref.c: Likewise.
75924         * sunrpc/xdr_stdio.c: Likewise.
75926 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75928         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75930 2011-07-03  Andreas Jaeger  <aj@suse.de>
75932         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75933         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75934         regenerate with gen-libm-tests.pl.
75936 2010-05-12  Petr Baudis  <pasky@suse.cz>
75938         [BZ #11589]
75939         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75940         around j0() zero points by switching to j1().
75941         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75942         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75943         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75944         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75946 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75948         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75949         instead of 0.
75950         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75951         instead of 0.
75952         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75953         Patch in part by Pavel Roskin <proski@gnu.org>.
75955         [BZ #13138]
75956         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75957         realloc.
75958         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75959         Free memory block if necessary.
75961         [BZ #12847]
75962         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75963         be NULL.  Don't lock in this case.
75965 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75967         * elf/elf.h (ELFOSABI_GNU): New macro.
75968         (ELFOSABI_LINUX): Define to that.
75970 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75972         * string/strncat.c (strncat): Undef the symbol in case it has been
75973         defined in bits/string.h.
75975 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75977         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75979         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75980         link map.
75982 2011-08-17  Andreas Jaeger  <aj@suse.de>
75984         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75986 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75987             Ian Lance Taylor  <iant@google.com>
75989         * math/libm-test.inc (lround_test): New testcase.
75990         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75992 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75994         * Makefile: Remove support for automatic cvs check-ins.
75995         * Makerules: Likewise.
75996         * config.make.in: Likewise.
75997         * configure.in: Likewise.
75998         * intl/Makefile: Likewise.
75999         * locale/Makefile: Likewise.
76000         * po/Makefile: Likewise.
76001         * posix/Makefile: Likewise.
76002         * sysdeps/gnu/Makefile: Likewise.
76003         * sysdeps/mach/hurd/Makefile: Likewise.
76004         * sysdeps/sparc/sparc32/Makefile: Likewise.
76006         [BZ #13118]
76007         * posix/Makefile (bug-regex32-ENV): Define.
76008         Patch by John Stanley <jpsinthemix@verizon.net>.
76010         * misc/Makefile (headers): Add bits/select2.h.
76011         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76012         * misc/bits/select2.h: New file.
76013         * include/bits/select2.h: New file.
76014         * debug/Makefile (routines): Add fdelt_chk.
76015         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76016         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76017         FD_ISSET.
76018         * debug/fdelt_chk.c: New file.
76020         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76021         * wcsmbs/test-wmemcmp.c: Likewise.
76022         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76023         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76025 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76027         * string/Makefile (strop-tests): Add memcmp.
76028         * string/test-wmemcmp.c: New file.
76029         * string/test-memcmp.c: Add wmemcmp support.
76031 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76033         [BZ #13153]
76034         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76035         2011-07-19 change.
76037         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76038         garbage value in a __mach_port_mod_refs call in the cases of the
76039         task-self and thread-self ports.
76041 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76043         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76045 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76047         * elf/dl-load.c (lose): Check for non-null L.
76049 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76051         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76053         * elf/dl-libc.c (dlerror_run): Pass back error code from
76054         dl_catch_error.
76056         [BZ #13123]
76057         * elf/dl-load.c (lose): Free l_origin if it is valid.
76059         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76060         names.
76061         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76062         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76063         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76064         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76065         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76066         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76068 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76070         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76071         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76072         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76073         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76074         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76075         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76076         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76077         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76078         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76079         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76081 2011-08-15  Alan Modra  <amodra@gmail.com>
76083         [BZ #13092]
76084         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76085         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76086         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76087         ppc_mcount to static-only-routines.
76088         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76089         __mcount_internal.
76090         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76091         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76093 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76095         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76096         for finite and infinity parameters.
76098 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76100         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76101         and add nop instructions for throughput optimization.
76102         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76104 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76106         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76107         aligned copy for power7 with vector-scalar instructions.
76108         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76110 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76112         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76113         AVX check.
76115 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76117         [BZ #13144]
76118         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76119         last change.
76121 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76123         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76124         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76125         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76126         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76127         clock_gettime.
76129 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76131         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76132         Forgot to demangle the pointer.
76134         * sysdeps/i386/sysdep.h: Define atom_text_section.
76135         * sysdeps/x86_64/sysdep.h: Likewise.
76136         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76137         section with atom_text_section.
76138         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76139         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76140         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76141         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76142         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76144         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76145         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76146         already be defined.  Change to take two parameters and don't assign
76147         result to variable.  Adjust all users.
76148         Define INTERNAL_GETTIME if not already defined.
76149         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76150         call.
76151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76152         HAVE_CLOCK_GETTIME_VSYSCALL.
76153         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76155         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76156         gettimeofday vsyscall, just use time.
76158 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76160         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76161         <errno.h>.
76163 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76165         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76166         syscall on x86-64.
76167         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76168         syscall.
76169         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76170         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76171         syscall if possible.
76173 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76175         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76176         e_ident.  Don't pass to find_mapsXX.
76177         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76179 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76182         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76183         * sysdeps/x86_64/multiarch/strchr.S: Update.
76184         Check bit_slow_BSF bit.
76185         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76186         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76187         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76189 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76191         [BZ #13134]
76192         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76193         before glibc 2.15.
76194         (tryshell): Define.
76195         (__spawni): Change last parameter to be flag.  Test
76196         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76197         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76198         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76199         * posix/spawni.c: Likewise.
76200         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76201         * posix/spawnp.c: Likewise.  Change normal version to use
76202         SPAWN_XFLAGS_USE_PATH.
76203         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76204         SPAWN_XFLAGS_TRY_SHELL.
76206         [BZ #13150]
76207         * posix/glob.h: Remove gcc 1.x support.
76209         [BZ #13068]
76210         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76212 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76214         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76215         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76216         strrchr-sse2-bsf
76217         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76218         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76219         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76220         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76221         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76222         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76224 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76226         * sysdeps/x86_64/wcscmp.S: New file.
76228         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76229         wcscmp-c wcscmp-sse2
76230         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76231         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76232         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76233         * wcsmbs/wcscmp.c: Allow renaming.
76235 2011-09-05  David S. Miller  <davem@davemloft.net>
76237         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76238         stack slot, rather than the struct return pointer slot.
76239         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76240         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76242         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76244 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76246         * po/ja.po: Update from translation team.
76248         [BZ #13144]
76249         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76250         kernel in 64-bit binaries.
76252 2011-09-01  David S. Miller  <davem@davemloft.net>
76254         * elf/elf.h (HWCAP_SPARC_*): Move to..
76255         * sysdeps/sparc/sysdep.h: this new file and add new values.
76256         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76257         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76258         _DL_HWCAP_COUNT to 24.
76259         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76260         entries.
76261         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76262         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76263         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76264         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76265         instead of magic constants.
76266         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76268 2011-08-31  David S. Miller  <davem@davemloft.net>
76270         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76271         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76272         Reimplement to do errno handling inline.
76273         (SYSCALL_ERROR_HANDLER): New macro.
76274         (__SYSCALL_STRING): Do not do errno handling in asm.
76275         (__CLONE_SYSCALL_STRING): Delete.
76276         (__INTERNAL_SYSCALL_STRING): Delete.
76277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76278         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76279         (PSEUDO): Reimplement to do errno handling inline.
76280         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76281         (SYSCALL_ERROR_HANDLER): New macro.
76282         (__SYSCALL_STRING): Do not do errno handling in asm.
76283         (__CLONE_SYSCALL_STRING): Delete.
76284         (__INTERNAL_SYSCALL_STRING): Delete.
76285         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76286         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76287         i386.
76288         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76289         (inline_syscall*): Add 'err' argument.
76290         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76291         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76292         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76293         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76295         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76296         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76298 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76300         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76302 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76304         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76305         directive.
76307 2011-08-24  David S. Miller  <davem@davemloft.net>
76309         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76311 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76313         * elf/Makefile: Add rules to build and run unload8 test.
76314         * elf/unload8.c: New file.
76315         * elf/unload8mod1.c: New file.
76316         * elf/unload8mod1x.c: New file.
76317         * elf/unload8mod2.c: New file.
76318         * elf/unload8mod3.c: New file.
76320         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76321         it wasn't used.
76323 2011-08-23  David S. Miller  <davem@davemloft.net>
76325         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76326         subtract stack bias.
76327         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76328         %sp not %fp in calculations.
76329         (_JMPBUF_UNWINDS_ADJ): Likewise.
76331         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76332         (aio_suspend): Call it to force an exception region around the
76333         AIO_MISC_WAIT() invocation.
76335 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76337         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76338         backslash.
76340 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76342         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76343         protection macro.
76344         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76345         and <dl-machine.h>.
76346         (Elf64_FuncDesc): Remove.
76348 2011-08-22  David S. Miller  <davem@davemloft.net>
76350         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76351         sigaltstack check, add missing cfi directives.
76352         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76353         missing cfi directives, and sigaltstack handling.
76355 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76357         [BZ #11724]
76358         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76359         object is seen twice.
76360         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76362         * elf/Makefile (distribute): Add tst-initorder2.c.
76363         (tests): Add tst-initorder2.
76364         (modules-names): Add tst-initorder2a tst-initorder2b
76365         tst-initorder2c tst-initorder2d.  Add rules to build them.
76366         ($(objpfx)tst-initorder2.out): New rule.
76367         * elf/tst-initorder2.c: New file.
76368         * elf/tst-initorder2.exp: New file.
76370 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76372         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76374         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76375         dependencies back to end of function.
76377         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76378         $(elfobjdir)/ld.so.
76380 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76382         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76383         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76384         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76385         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76386         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76387         of __vdso_gettimeofday.
76388         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76389         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76390         attribute_hidden.
76391         (_libc_vdso_platform_setup): Remove initialization of
76392         __vdso_gettimeofday and __vdso_time.
76394 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76396         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76397         and fgetc_unlocked.
76398         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76399         getc_unlocked.
76401         * elf/dl-open.c (add_to_global): Report additions to the global scope
76402         for LD_DEBUG=scopes.
76403         (dl_open_worker): Also print scope of newly loaded dependencies.
76404         (_dl_show_scope): Indicate if there is no scope.
76406         [BZ #13114]
76407         * stdio-common/Makefile (tests): Add bug24.
76408         * stdio-common/bug24.c: New file.
76410 2011-08-19  Andreas Jaeger  <aj@suse.de>
76412         [BZ #13114]
76413         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76414         non-existant file when using close-on-exec mode.
76416 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76418         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76419         the very first instruction.
76421         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76422         the CFI state in the end.
76423         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76424         inclusion of dl-trampoline.h.
76425         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76427 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76429         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76430         expectations for long double.
76432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76433         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76435 2011-08-14  David S. Miller  <davem@davemloft.net>
76437         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76438         artificual limit depends upon the system page size.
76440 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76442         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76443         * resolv/Makefile: Define CFLAGS-libresolv.
76445 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76447         * nss/makedb.c (compute_tables): Make variables used in nested
76448         function static.
76450 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76452         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76453         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76454         if buffer was too small.
76456         * elf/pldd.c (main): Attach to all threads in the process.
76457         Rewrite /proc handling to use *at functions.
76459 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76461         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76462         specifies first scope to show.
76463         (dl_open_worker): Update callers.  Move printing scope of new
76464         object to before the relocation.
76465         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76466         * sysdeps/generic/ldsodefs.h: Update declaration.
76468         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76469         string for the scope number.
76471 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76473         * nscd/servicescache.c (cache_addserv): Make sure written is always
76474         initialized.
76476 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76478         * sysdeps/i386/i486/bits/atomic.h
76479         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76480         statement expression, so as to suppress "set but not used" warning.
76481         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76483         * string/strncat.c (STRNCAT): Use prototype definition.
76485         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76486         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76487         -Iprograms here.
76488         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76489         (localedef-modules): Add localedef.
76490         (locale-modules): Add locale.
76492         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76493         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76494         to avoid a warning.
76496 2011-08-14  David S. Miller  <davem@davemloft.net>
76498         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76499         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76501 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76503         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76504         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76505         * elf/rtld.c (dl_main): Set l_name of vDSO.
76506         Call _dl_show_scope when DL_DEBUG_SCOPES.
76507         (process_dl_debug): Recognize scopes flag and also set it for all.
76508         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76509         Declare _dl_show_scope.
76511         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76512         (do_dlopen): Pass caller_dlopen to dl_open.
76513         (__libc_dlopen_mode): Initialize caller_dlopen.
76515         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76516         of libc.  Make tolower call locale-independent.  Optimize a bit by
76517         using isdigit instead of isalnum.
76518         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76520 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76522         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76523         was a dependency or dynamically loaded.
76525 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76527         * intl/l10nflist.c: Allow architecture-specific pop function.
76528         * sysdeps/x86_64/l10nflist.c: New file.
76530         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76531         classification.
76533 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76535         * include/dirent.h: Add libc_hidden_proto for scandirat and
76536         scandirat64.  Don't declare __scandirat64.
76537         * dirent/scandirat.c: Add libc_hidden_def.
76538         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76539         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76541 2011-08-10  David S. Miller  <davem@davemloft.net>
76543         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76544         enum.
76545         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76546         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76547         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76549 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76551         * Versions.def [libc]: Add GLIBC_2.15.
76552         * dirent/Makefile (routines): Add scandirat and scandirat64.
76553         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76554         GLIBC_2.15.
76555         * dirent/dirent.h: Declare scandirat and scandirat64.
76556         * dirent/scandirat.c: New file.
76557         * dirent/scandirat64.c: New file.
76558         * sysdeps/wordsize-64/scandirat.c: New file.
76559         * sysdeps/wordsize-64/scandirat64.c: New file.
76560         * dirent/opendir.c: Define opendirat.
76561         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76562         using scandirat.
76563         * dirent/scandir64.c: Adjust for scandir.c change.
76564         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76565         __scandirat64, and __scandir_cancel_handler.
76566         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76567         additional parameter and use openat instead of open (outside of ld.so).
76568         Add new __opendir as wrapper around __opendirat.
76569         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76570         here without requiring old scandirat implementation.
76572 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76574         * dirent/scandir.c (cancel_handler): Renamed to
76575         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76576         defined.  Adjust users.
76577         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76578         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76580 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76582         * string/test-string.h (IMPL): Use __STRING to expand name and then
76583         stringify it.
76585         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76586         of cleanups.
76588 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76590         * string/Makefile: Update.
76591         (strop-tests): Append strncat.
76592         * string/test-wcscmp.c: New file.
76593         New comprehensive test for wcscmp.
76594         * string/test-strcmp.c: Update.
76595         (WIDE): New define.
76597 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76599         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76600         line.
76602 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76605         encoding to ACE if AI_IDN.
76607 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76609         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76610         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76612 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76614         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76615         Fix overflow bug in strncat.
76616         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76618         * string/test-strncat.c: Update.
76619         Add new tests for checking overflow bugs.
76621 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76623         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76624         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76625         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76626         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76627         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76628         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76629         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76630         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76631         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76633         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76634         (USE_AS_STRCAT): Define.
76635         Add strcat and strncat support.
76636         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76638 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76640         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76641         __n bigger than INT_MAX+1.
76642         (__strncmp_g): Likewise.
76644 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76646         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76647         * libio/stido.h: Likewise.
76649         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76650         (AF_NFC): Define.
76651         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76652         (AF_NFC): Define.
76654         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76655         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76656         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76657         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76658         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76660         [BZ #13021]
76661         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76662         installed.
76664         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76665         typo.
76666         (_dl_x86_64_save_sse): Likewise.
76668 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76670         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76671         OSXSAVE.
76672         (_dl_x86_64_save_sse): Likewise.
76674         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76676         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76678 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76680         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76681         change.
76682         (_dl_x86_64_save_sse): Use correct AVX check.
76684 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76686         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76687         bug in strncpy/strncat.
76688         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76690 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76692         * string/tester.c (test_strcat): Add tests for different alignments
76693         of source and destination.
76694         (test_strncat): Likewise.
76696 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76698         [BZ #12852]
76699         * posix/glob.c (glob): Check passed in values before using them in
76700         expressions to avoid some overflows.
76701         (glob_in_dir): Likewise.
76703         [BZ #13007]
76704         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76705         check for AVX enablement so that we don't crash with old kernels and
76706         new hardware.
76707         * elf/tst-audit4.c: Add same checks here.
76708         * elf/tst-audit6.c: Likewise.
76710         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76712 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76714         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76716 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76718         * po/cs.po: Update from translation team.
76719         * po/bg.po: Likewise.
76721 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76723         * misc/sys/cdefs.h: Add support for const attribute.
76724         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76725         to gnu_dev_{major,minor,makedev} functions.
76727 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76729         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76731 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76733         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76734         strlen results.
76736 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76738         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76739         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76740         register in order to avoid conflicts with the soft frame pointer
76741         being held in r11 when necessary.
76742         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76743         (INTERNAL_VSYSCALL_NCS): Likewise.
76745 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76747         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76748         * elf/dl-fini.c (_dl_fini): Adjust caller.
76749         * elf/dl-close.c (_dl_close_worker): Likewise.
76750         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76752 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76754         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76755         "aux_cache->nlibs < 0".
76757         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76758         in the reload-count case.
76760 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76762         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76763         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76764         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76765         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76766         * sysdeps/x86_64/multiarch/strcat.S: New file.
76767         * sysdeps/x86_64/multiarch/strncat.S: New file.
76768         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76769         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76770         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76771         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76772         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76773         (USE_AS_STRCAT): Define.
76774         Add strcat and strncat support.
76775         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76776         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76777         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76778         * string/strncat.c: Update.
76779         (USE_AS_STRNCAT): Define.
76780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76781         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76782         and i7.
76783         * sysdeps/x86_64/multiarch/init-arch.h
76784         (bit_Prefer_PMINUB_for_stringop): New.
76785         (index_Prefer_PMINUB_for_stringop): Likewise.
76786         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76787         bit_Prefer_PMINUB_for_stringop.
76789 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76791         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76792         buffer64.
76793         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76794         of casting of buffer.
76795         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76796         buffer32 and buffer64.
76797         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76798         writes instead of casting of buffer.
76799         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76800         buffer32.
76801         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76802         casting of buffer.
76804 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76806         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76808 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76810         * nscd/nscd.c (termination_handler): Don't do anything for a database
76811         if it has not yet been initialized.
76813 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76815         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76817 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76819         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76821 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76823         * po/nl.po: Update from translation team.
76824         * po/sv.po: Likewise.
76826 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76828         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76829         now disallowed by GCC.
76831         * configure.in (use-default-link): Default to yes if a test -shared
76832         link meets our qualifications.
76833         * configure: Regenerated.
76835         * config.make.in (output-format): New variable.
76836         * configure.in: Check for ld --print-output-format support.
76837         * configure: Regenerated.
76838         * Makerules ($(common-objpfx)format.lds)
76839         [$(output-format) != unknown]: Just use $(output-format),
76840         instead of the linker-script munging.
76842 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76844         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76845         of $(common-objpfx)shlib.lds.
76846         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76848         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76849         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76851         * configure.in (-z relro check): Adjust test code to add a large
76852         writable data section after it.
76853         * configure: Regenerated.
76855 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76857         * configure.in (-z relro check): Fix test code to make the variable
76858         truly const.
76859         * configure: Regenerated.
76861 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76863         * nscd/nscd.h (struct traced_file): Define.
76864         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76865         elements.  Add traced_files.
76866         (inotify_fd): Declare.
76867         (register_traced_file): Declare.
76868         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76869         (inotify_fd): Export.
76870         (resolv_conf_descr): Remove.
76871         (nscd_init): Move inotify descriptor creation to main.
76872         Don't register files for notification here.
76873         (register_traced_file): New function.
76874         (invalidate_cache): Don't use reset_res to determine whether to call
76875         res_init, go through the list of registered files.
76876         (main_loop_poll): The inotify descriptors are now stored in the
76877         structures for the traced files.
76878         (main_loop_epoll): Likewise.
76879         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76880         to __nss_disable_nscd.
76881         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76882         for a database anymore.  Check the records for all the registered
76883         files instead.
76884         * nss/Makefile (libnss_files-routines): Add files-init.
76885         (libnss_db-routines): Add db-init.
76886         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76887         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76888         * nss/nss_db/db-init.c: New file.
76889         * nss/nss_files/files-init.c: New file.
76890         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76891         __nss_lookup_function.
76892         (__nss_lookup_function): Call nss_load_library.
76893         (nss_load_all_libraries): New function.
76894         (__nss_disable_nscd): Take parameter with callback function for files
76895         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76896         used for the cached services.
76897         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76898         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76899         options for features to all the files in nscd.
76901         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76903 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76905         * csu/elf-init.c (__libc_csu_init): Comment typo.
76907 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76909         * po/pl.po: Update from translation team.
76910         * po/ja.po: Likewise.
76911         * po/ru.po: Likewise.
76912         * po/ko.po: Likewise.
76913         * po/fr.po: Likewise.
76915 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76917         * configure.in (.ctors/.dtors header and trailer check):
76918         Use an empirical test on a built program.
76919         * configure: Regenerated.
76921         * configure.in (-z relro check): Use an empirical test on a built DSO.
76922         Detect, but do not require, on ia64.
76923         * configure: Regenerated.
76925         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76926         Update tests that use readelf to use $READELF instead.
76927         * configure: Regenerated.
76929 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76931         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76932         if the result is not used.
76934 2011-07-05  Andreas Jaeger  <aj@suse.de>
76936         [BZ#9696]
76937         * stdlib/tst-strtod.c: Add testcase.
76939 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76941         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76942         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76943         The latter has a higher limit.  Take additional parameter to pass to
76944         the new function.
76945         (__pathconf): Pass file to __statfs_link_max.
76946         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76947         __statfs_link_max.
76948         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76949         __statfs_link_max.
76951         [BZ #12868]
76952         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76953         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76954         Handle Lustre.
76955         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76956         (__statfs_filesize_max): Likewise.
76957         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76959 2011-07-05  Andreas Jaeger  <aj@suse.de>
76961         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76963 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76965         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76966         `status' variable.
76967         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76968         Likewise.
76970 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76972         * Makefile (strop-tests): Add strncat.
76973         * string/test-strncat.c: New file.
76975 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76977         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76979 2011-06-21  Andreas Jaeger  <aj@suse.de>
76981         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76982         Copy rule from iconvdata/Makefile.
76984 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76986         [BZ #12922]
76987         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76988         but no long options are defined, just return 'W'.
76990 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76992         [BZ #9696]
76993         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76995 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76997         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76998         netgroups to read.
76999         (innetgr): Likewise.
77001 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77003         * config.make.in (install_root): Default to $(DESTDIR).
77005 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77007         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77009 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77011         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77013         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77014         containing directory rather than embedding absolute directory names.
77016         * scripts/check-local-headers.sh: Rewritten using awk.
77017         Match by word, not by line.  Print error messages for matches.
77018         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77020         * Makerules [shlib-lds-flags empty]:
77021         ($(common-objpfx)libc_pic.opts): New target.
77022         ($(common-objpfx)libc_pic.os.clean): New target.
77023         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77025         * config.make.in (OBJCOPY): New variable.
77026         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77027         * configure: Regenerated.
77029         * config.make.in (use-default-link): New variable.
77030         * configure.in (use_default_link): Grok --with-default-link to set it.
77031         * configure: Regenerated.
77032         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77033         (shlib-lds, shlib-lds-flags): Define to empty.
77035         * Makerules (shlib-lds): New variable.
77036         (shlib-lds-flags): New variable.
77037         (build-shlib, build-moduile, build-module-asneeded): Use it.
77038         ($(common-objpfx)libc.so): Use $(shlib-lds).
77039         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77040         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77042         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77043         DT_FLAGS/DT_FLAGS_1 with zero flags.
77045         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77046         linker script munging.
77048 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77050         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77051         as 128-bit value.
77052         * crypt/sha512.c (sha512_process_block): Perform total addition using
77053         128-bit if possible.
77054         (__sha512_finish_ctx): Likewise.
77055         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77056         as 64-bit value.
77057         * crypt/sha256.c (SWAP64): Define.
77058         (sha256_process_block): Perform total addition using 64-bit if
77059         possible.
77060         (__sha256_finish_ctx): Likewise.
77062 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77064         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77065         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77066         * nscd/hstcache.c (cache_addhst): Likewise.
77067         * nscd/grpcache.c (cache_addgr): Likewise.
77068         * nscd/aicache.c (addhstaiX): Likewise.
77069         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77071 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77073         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77074         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77075         * nscd/hstcache.c (cache_addhst): Likewise.
77076         * nscd/grpcache.c (cache_addgr): Likewise.
77077         * nscd/aicache.c (addhstaiX): Likewise.
77079 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77081         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77082         domain only when needed.
77084 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77086         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77087         is always restored.
77089 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77091         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77092         are re-adding the entry.
77093         * nscd/servicescache.c (cache_addserv): Likewise.
77095 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77097         * sysdeps/generic/dl-irel.h: fix protection against multiple
77098         inclusions.
77099         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77101 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77103         [BZ #12935]
77104         * malloc/memusage.sh: Fix quoting in message.
77105         * debug/xtrace.sh: Likewise.
77107         * configure.in: Remove support for --experimental-malloc option, make
77108         it the default.
77109         * config.make.in: Likewise.
77110         * malloc/Makefile: Likewise.
77112 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77114         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77115         two-byte characters.
77117 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77119         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77120         AC_CACHE_CHECK invocation.
77121         * configure: Regenerated.
77123         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77125 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77127         [BZ #12350]
77128         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77129         bit from old_res_options.
77131         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77133         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77134         value type for setfct.
77136 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77138         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77139         __gettimeofday instead of gettimeofday.
77141 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77143         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77145 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77147         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77149         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77150         info.
77152 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77155         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77156         strcpy-sse2-unaligned strncpy-sse2-unaligned
77157         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77158         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77159         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77160         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77161         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77162         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77163         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77164         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77165         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77166         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77167         (STRCPY): Support SSE2 and SSSE3 versions.
77169 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77171         [BZ #12874]
77172         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77173         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77174         kernels which artificially limit size of requests.
77176 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77178         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77179         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77180         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77181         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77182         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77183         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77184         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77185         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77186         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77187         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77188         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77189         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77190         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77191         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77192         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77193         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77194         Enable unaligned load optimization for Intel Core i3, i5 and i7
77195         processors.
77196         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77197         Define.
77198         (index_Fast_Unaligned_Load): Define.
77199         (HAS_FAST_UNALIGNED_LOAD): Define.
77201 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77203         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77205 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77207         [BZ #12907]
77208         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77209         until it is clear that the information is realy needed.
77210         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77212 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77214         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77216 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77218         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77219         /sys/devices/system/cpu/online if it is usable.
77221         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77222         reading the information from the /proc filesystem to once a second.
77224 2011-06-21  Andreas Jaeger  <aj@suse.de>
77226         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77227         NULL after inclusion of kernel headers.
77229 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77231         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77232         calls to internal_setent.
77234         [BZ #12885]
77235         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77236         addresses using gethostbyname4_r ignore IPv4 addresses.
77238         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77239         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77241         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77243 2011-06-20  David S. Miller  <davem@davemloft.net>
77245         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77246         inclusions.
77247         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77249         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77250         (elf_irel): Use it.
77251         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77252         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77253         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77254         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77255         * sysdeps/x86_64/dl-irel.h: Likewise.
77257         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77258         * elf/dl-sym.c: Likewise.
77260 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77262         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77263         need to dereference resplen2.
77265 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77267         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77269 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77271         * Makeconfig: Define vardbdir and inst_vardbdir.
77272         * nss/Makefile: Add rules to install db-Makefile.
77274         * nss/nss_db/db-XXX.c: Cleanup.
77276         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77277         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77278         GLIBC_PRIVATE.
77279         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77280         * nss/makedb.c: Implement -g option to specify that value strings
77281         are generated and should not be added to table iterated over for
77282         get*ent calls.
77283         * nss/nss_db/db-initgroups.c: New file.
77285         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77286         interface.
77288         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77289         (internal_getgrouplist): Adjust to name change.
77290         Update use_initgroups_entry if this is not the first call.
77291         * nss/databases.def: Add initgroups entry.
77293         * nss/makedb.c (compute_tables): Check result of multiple hash table
77294         sizes to minimize maximum chain length.
77296 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77298         * Versions.def: Add entry for libnss_db.
77299         * shlib-versions: Likewise.
77300         * nss/Makefile: Add rules to build libnss_db.
77301         * nss/Versions: Add libnss_db information.  Organize libnss_files
77302         entries better.
77303         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77304         makedb progra.  Some minor improvements to generate smaller files.
77305         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77306         here from...
77307         * nss/makedb.c: ...here.
77308         Improve database format to be smaller and require less memory at
77309         runtime.
77310         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77311         db anymore.
77312         * nss/nss_db/db-netgrp.c: Likewise.
77313         * nss/nss_db/db-open.c: Likewise.
77314         * nss/nss_files/flies-XXX.x: Adjust comments.
77315         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77316         * nss/nss_files/files-grp.c: Likewise.
77317         * nss/nss_files/files-hosts.c: Likewise.
77318         * nss/nss_files/files-network.c: Likewise.
77319         * nss/nss_files/files-proto.c: Likewise.
77320         * nss/nss_files/files-pwd.c: Likewise.
77321         * nss/nss_files/files-rpc.c: Likewise.
77322         * nss/nss_files/files-service.c: Likewise.
77323         * nss/nss_files/files-sgrp.c: Likewise.
77324         * nss/nss_files/files-spwd.c: Likewise.
77325         * nss/nss_db/db-alias.c: Removed.
77326         * nss/nss_db/dummy-db.h: Removed.
77328 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77330         * nss/makedb.c: Rewritten to not use database library.
77331         * nss/Makefile: Update to build new makedb program.
77333 2011-06-14  Andreas Jaeger  <aj@suse.de>
77335         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77336         memset declaration.
77338 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77341         tmpbuf.
77343 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77345         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77346         * elf/Makefile ($(objpfx)ld.so): Likewise.
77348         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77349         Don't list ld.so twice in dependencies.
77351         * posix/bug-regex31.c: Include <stdlib.h>.
77353         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77355         * nis/nss_compat/compat-spwd.c
77356         (getspent_next_nss_netgr): Remove unused variable.
77357         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77359         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77360         nonmembers" output to use the right array.
77362         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77364         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77366         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77367         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77368         * catgets/gencat.c (read_input_file): Likewise.
77369         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77371         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77372         variable definition inside #if's controlling its use.
77374         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77376         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77378         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77380         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77381         unreachable code.
77383         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77385         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77386         * configure: Regenerated.
77388         * Makerules: Revert last change.
77389         * elf/Makefile: Likewise.
77391 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77393         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77394         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77395         (reloc-link): Likewise.
77397 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77399         * elf/Makefile: Add rules to build pldd.
77400         * elf/pldd.c: New file.
77401         * elf/pldd-xx.c: New file.
77403 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77405         * version.h: Update for 2.15 development version.
77407 2011-06-07  David S. Miller  <davem@davemloft.net>
77409         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77410         ifuncs.
77411         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77412         elf_machine_lazy_rel): Likewise.
77413         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77414         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77415         elf_machine_lazy_rel): Likewise.
77416         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77417         dl_hwcap via passed in argument.
77418         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77419         Likewise.
77421 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77423         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77425 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77427         [BZ #12849]
77428         * manual/fdl-1.1.texi: New file, verbatim from:
77429         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77430         * manual/lgpl-2.1.texi: New file, verbatim from:
77431         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77432         * manual/Makefile (licenses): New variable, list those new file names.
77433         (texis): Use it.
77434         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77436         * manual/fdl.texi: File removed.
77437         * manual/lesser.texi: File removed.
77438         * manual/libc.texinfo (Copying, Documentation License):
77439         Use new @include file names, put @appendix directive before @include.
77441 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77443         [BZ #12841]
77444         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77445         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77446         (mq_open): Add __NTH.
77448 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77450         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77451         Assume Intel Core i3/i5/i7 processor if AVX is available.
77453 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77455         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77456         typo.
77458 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77460         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77461         memory.  Use alloca_account.  Fix memory leak when retrying.
77463 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77465         * version.h (RELEASE): Bump for 2.14 release.
77466         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77468         * config.make.in (RANLIB): Remove entry.
77470 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77472         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77473         (libc.pot): Work around missing support for .ksh extension in xgettext.
77475         [BZ #12684]
77476         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77477         if both request failed.
77478         (send_dg): In case of server errors clear resplen or *resplen2.
77480         [BZ #12454]
77481         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77482         when there are multiple maps.
77483         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77484         (_dl_fini): Remove test here.
77486         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77488 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77490         [BZ #12350]
77491         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77492         bit from old_res_options.
77493         (gaih_inet): Likewise.
77495         [BZ #11099]
77496         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77497         as signed.
77499         * resolv/res_init.c (res_setoptions): Make the code more compact.
77501         [BZ #11558]
77502         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77503         set RES_USEVC.
77505         [BZ #11634]
77506         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77508         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77510         [BZ #11781]
77511         * malloc/malloc.h: Declare malloc hook variables as volatile.
77513         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77514         in last patch.
77516         [BZ #11799]
77517         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77518         raise in the comment.
77519         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77520         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77521         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77523 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77525         [BZ #12811]
77526         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77527         grow the buffers more if it already has to be sufficient.
77528         (build_wcs_upper_buffer): Likewise.
77529         * posix/regexec.c (check_matching): Likewise.
77530         (clean_state_log_if_needed): Likewise.
77531         (extend_buffers): Don't enlarge buffers beyond size of the input
77532         buffer.
77533         Patches mostly by Emil Wojak <emil@wojak.eu>.
77534         * posix/bug-regex32.c: New file.
77535         * posix/Makefile (tests): Add bug-regex32.
77537         * locale/findlocale.c (_nl_find_locale): Return right away if
77538         _nl_explode_name failed.
77539         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77541         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77543         * debug/xtrace.sh: Unify messages.
77544         * malloc/memusage.sh: Likewise.
77546         [BZ #12813]
77547         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77548         time symbol from vDSO.  Substitute with vsyscall if not available.
77549         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77550         __vdso_time.
77552         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77553         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77554         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77555         Add sendmmsg and internal_sendmmsg.
77556         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77557         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77558         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77560         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77561         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77562         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77564 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77566         [BZ #12813]
77567         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77568         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77569         available.
77570         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77571         __vdso_getcpu.
77573         [BZ #12814]
77574         * iconvdata/Makefile (tests): Add bug-iconv9.
77575         * iconvdata/bug-iconv9.c: New file.
77577 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77579         [BZ #12814]
77580         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77582 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77584         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77585         (struct user_regs_struct): Change intcs field back to cs.
77587 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77589         * po/ja.po: Update from translation team.
77591 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77593         [BZ #12795]
77594         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77595         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77597 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77599         * stdlib/longlong.h: Update from GCC.
77601 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77603         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77604         parameter name.
77605         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77606         Add parameter name.
77607         (__sysconf): Pass it down.
77609 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77611         [BZ #12671]
77612         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77613         some situations.
77614         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77615         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77616         add in in __libc_use_alloca calls.  Adjust callers.
77617         (glob): Use malloc in some situations.
77619         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77620         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77621         pltexit.
77623 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77625         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77626         and CLOCK_BOOTTIME_ALARM.
77628         [BZ #12782]
77629         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77630         is returned.
77632         * string/_strerror.c (__strerror_r): Print negative errors as signed
77633         numbers.
77635         [BZ #12777]
77636         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77637         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77638         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77640         * configure.in: Fix typo in redirection and correct removal of test
77641         files in two cases.
77643         [BZ #12788]
77644         * locale/setlocale.c (new_composite_name): Fix test to check for
77645         identical name of all categories.
77647         [BZ #12792]
77648         * libio/filedoalloc.c (local_isatty): New function.
77649         (_IO_file_doallocate): Use local_isatty.
77650         * stdio-common/perror.c (perror): In case a new stream is used
77651         forward the stream error.
77652         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77653         error flag.
77655 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77657         [BZ #11884]
77658         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77659         alloca.
77660         * include/alloca.h (extend_alloca_account): Define.
77662         [BZ #11857]
77663         * posix/regex.h: Fix comments with documentation of user-accessible
77664         fields after compilation and describe correct free'ing of pattern
77665         after re_compile_pattern.
77666         Patch by Reuben Thomas <rrt@sc3d.org>.
77668 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77670         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77671         and -mno-altivec to prevent the compiler from using Altivec and/or
77672         VSX instructions when the corresponding registers are not available.
77674 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77676         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77678 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77680         * libio/freopen.c (freopen): Use __dup2, not dup2.
77681         * libio/freopen64.c (freopen64): Likewise.
77683 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77685         [BZ #12775]
77686         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77687         * math/Makefile (tests): Add test-powl.
77688         (CFLAGS-test-powl.c): Define.
77689         * math/test-powl.c: New file.
77691 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77693         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77695 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77697         [BZ #11837]
77698         * iconvdata/gb18030.c: Update to GB18020-2005.
77700 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77702         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77703         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77704         Patch by Aharon Robbins <arnold@skeeve.com>.
77706         [BZ #11892]
77707         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77708         on the stack.
77710         [BZ #11895]
77711         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77712         through underflows.
77714         [BZ #12766]
77715         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77716         point to strings before performing equality test for error_one_per_line
77717         mode.
77719         [BZ #11697]
77720         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77722         [BZ #11820]
77723         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77724         (struct user_fpregs_struct): Avoid __uint*_t types.
77726         [BZ #6420]
77727         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77728         symbol info.  Use it instead of calling _dl_addr locally.
77729         (lock_and_info): New function.
77730         (tr_freehook): Call lock_and_info and pass symbol info as additional
77731         parameter to tr_where.
77732         (tr_mallochook): Likewise.
77733         (tr_reallochook): Likewise.
77734         (tr_memalignhook): Likewise.
77736         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77737         used and couldn't be at all thread-safe.
77739 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77741         * libio/freopen.c (freopen): Don't close old file descriptor
77742         before the new one is opened.  Instead dup the new file descriptor
77743         to the old one after the new stream is created.
77744         * libio/freopen64.c (freopen64): Likewise.
77745         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77746         * libio/fileops.c (_IO_new_file_close_it): Handle new
77747         _IO_FLAGS2_NOCLOSE flag.
77748         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77749         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77750         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77751         _IO_FLAGS2_NOCLOSE flag.
77752         * include/unistd.h: Add hidden_proto for dup3.
77753         Define __have_dup3.
77754         * io/dup3.c: Define hidden symbol.
77755         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77757         [BZ #7101]
77758         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77759         when an incomplete long option is used.
77760         * posix/tst-getopt_long1.c: New file.
77761         * posix/Makefile (tests): Add tst-getopt_long1.
77763         [BZ #10138]
77764         * scripts/config.guess: Update from autoconf-2.68.
77765         * scripts/config.sub: Likewise.
77767         [BZ #10157]
77768         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77769         tests into ...
77770         (has_cpuclock): ...this.  New function.
77771         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77772         macro here based on has_cpuclock code.
77774         [BZ #10149]
77775         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77776         First byte (not low byte) is now always NUL.
77777         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77779         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77780         Use non-cancelable interfaces.
77782         [BZ #9809]
77783         * locale/iso-639.def: Add entry for Sorani.
77785         [BZ #11901]
77786         * include/stdlib.h: Move include protection to the right place.
77787         Define abort_msg_s.  Declare __abort_msg with it.
77788         * stdlib/abort.c (__abort_msg): Adjust type.
77789         * assert/assert.c (__assert_fail_base): New function.  Majority
77790         of code from __assert_fail.  Allocate memory for __abort_msg with
77791         mmap.
77792         (__assert_fail): Now call __assert_fail_base.
77793         * assert/assert-perr.c: Remove bulk of implementation.  Use
77794         __assert_fail_base.
77795         * include/assert.hL Declare __assert_fail_base.
77796         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77797         mmap.
77798         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77800 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77802         [BZ #11952]
77803         [BZ #12453]
77804         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77805         until all modules are registered in the DTV.
77806         * elf/Makefile: Add rules to build and run tst-tls19.
77807         * elf/tst-tls19.c: New file.
77808         * elf/tst-tls19mod1.c: New file.
77809         * elf/tst-tls19mod2.c: New file.
77810         * elf/tst-tls19mod3.c: New file.
77811         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77813         [BZ #12083]
77814         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77815         correctly.
77817         [BZ #12601]
77818         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77819         two-byte sequence errors.
77820         * iconvdata/Makefile (tests): Add bug-iconv8.
77821         * iconvdata/bug-iconv8.c: New file.
77823         [BZ #12626]
77824         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77825         buf2 definition.
77827         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77829         [BZ #12432]
77830         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77831         (dummy_getcfa): New function.
77832         (init): Get _Unwind_GetCFA address, use dummy if not found.
77833         (backtrace_helper): In recursion check, also check whether CFA changes.
77834         (__backtrace): Completely initialize arg.
77836         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77837         storing incomplete byte sequence in state object.  Avoid testing for
77838         guaranteed too small input if we know there is enough data available.
77840 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77842         * Makeconfig (+link-pie): Indent.
77843         * Rules (binaries-pie): Define if $(have-fpie) and
77844         $(build-shared).
77845         (binaries-shared): Also filter out $(binaries-pie).
77846         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77847         * nscd/Makefile (others-pie): Add nscd.
77848         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77849         ($(objpfx)nscd): Remove command override.
77850         * login/Makefile (others-pie): Add pt_chown.
77851         ($(objpfx)pt_chown): Remove command override.
77852         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77853         remove command overrides.
77855 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77857         * libio/tst_putwc.c: Fix error messages.
77859         [BZ #12724]
77860         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77861         currently writing and seek to current position when not.
77862         * libio/Makefile (tests): Add bug-fclose1.
77863         * libio/bug-fclose1.c: New file.
77865 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77867         [BZ #12511]
77868         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77869         don't set DF_1_NODELETE here.
77870         (do_lookup_x): When entering new entry test for copy relocation
77871         and if necessary set DF_1_NODELETE flag.
77872         * elf/tst-unique4.cc: New file.
77873         * elf/tst-unique4.h: New file.
77874         * elf/tst-unique4lib.cc: New file.
77875         * elf/Makefile: Add rules to build and run tst-unique4.
77876         Patch by Piotr Bury <pbury@goahead.com>.
77878 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77880         [BZ #12052]
77881         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77883         [BZ #12625]
77884         * misc/mntent_r.c (addmntent): Flush the stream after the output
77886         [BZ #12393]
77887         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77888         (is_trusted_path_normalize): Skip initial colon.  Append slash
77889         to empty buffer.  Duplicate is_trusted_path code but allow
77890         constructed patch to be prefix.
77891         (is_dst): Allow $ORIGIN followed by /.
77892         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77893         Correct testing of result of is_trusted_path_normalize
77894         (decompose_rpath): Fix warning.
77896 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77898         [BZ #11257]
77899         * grp/initgroups.c (internal_getgrouplist): When we found the service
77900         list through the initgroups entry in nsswitch.conf do not always
77901         continue on a successful lookup.  Don't always use the
77902         __nss_group_database value if it is set.
77903         * nss/nsswitch.conf (initgroups): Change action for successful db
77904         lookup to continue for compatibility.
77906 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77908         [BZ #11532]
77909         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77910         and CP774 modules.
77911         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77912         and CP774 modules.
77913         * iconvdata/tst-tables.sh: Likewise.
77914         * iconvdata/cp770.c: New file.
77915         * iconvdata/cp771.c: New file.
77916         * iconvdata/cp772.c: New file.
77917         * iconvdata/cp773.c: New file.
77918         * iconvdata/cp774.c: New file.
77919         * iconvdata/testdata/CP770: New file.
77920         * iconvdata/testdata/CP770..UTF8: New file.
77921         * iconvdata/testdata/CP771: New file.
77922         * iconvdata/testdata/CP771..UTF8: New file.
77923         * iconvdata/testdata/CP772: New file.
77924         * iconvdata/testdata/CP772..UTF8: New file.
77925         * iconvdata/testdata/CP773: New file.
77926         * iconvdata/testdata/CP773..UTF8: New file.
77927         * iconvdata/testdata/CP774: New file.
77928         * iconvdata/testdata/CP774..UTF8: New file.
77930         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77931         END CHARMAP line.
77932         * iconvdata/gen-8bit-gap.sh: Likewise.
77933         * iconvdata/gen-8bit.sh: Likewise.
77935         * locale/iso-639.def: Add ary entry.
77937         [BZ #11258]
77938         * locale/C-translit.h.in: Add U20A1 transliteration.
77940         [BZ #12178]
77941         * locale/iso-639.def: Add wae entry.
77942         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77944         [BZ #12545]
77945         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77946         for n.
77948         [BZ #12711]
77949         * locale/C-translit.h.in: Add entry for U20B9.
77950         Patch by pravin.d.s@gmail.com.
77952 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77954         [BZ #12713]
77955         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77956         ENAMETOOLONG use generic getcwd.
77957         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77958         in rtld.  Use *stat64.
77959         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77960         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77961         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77962         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77963         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77964         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77965         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77966         __fstatat64 macros.
77967         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77968         * dirent/rewinddir.c: Add libc_hidden_def.
77969         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77970         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77972         * include/dirent.h (__alloc_dir): Add flags parameter.
77973         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77974         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77975         __alloc_dir.
77976         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77977         from fdopendir if O_CLOEXEC is already set.
77979 2011-03-15  Alan Modra  <amodra@gmail.com>
77981         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77982         l_tls_firstbyte_offset non-zero.  Save padding offset in
77983         l_tls_firstbyte_offset for later use.
77984         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77985         freeing static tls block.
77987 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77989         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77990         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77991         being defined by the kernel headers.
77993 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77995         [BZ #12734]
77996         * resolv/resolv.h: Define RES_NOTLDQUERY.
77997         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77998         no-tld-query and set RES_NOTLDQUERY.
77999         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78000         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78001         modern BIND to search name as TLD unless forbidden.
78003 2011-05-07  Petr Baudis  <pasky@suse.cz>
78004             Ulrich Drepper  <drepper@gmail.com>
78006         [BZ #12393]
78007         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78008         (is_trusted_path): ...to here.
78009         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78010         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78011         using is_trusted_path_normalize() in setuid scripts.
78013 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78015         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78016         __BEGIN/__END_DECLS.
78018 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78020         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78021         NSS_STATUS_NOTFOUND if no record was found.
78023 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78025         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78026         (headers-not-in-tirpc): Remove rpc/netdb.h
78027         * resolv/netdb.h: Revert last change.
78029 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78031         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78032         circular dependency between libgcc.a and libc.a.
78034 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78036         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78037         * nis/Makefile: Don't install rpcsvc/*.
78038         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78039         instead of <rpc/types.h>.
78040         (MAXHOSTNAMELEN): Define.
78042 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78044         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78046 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78048         [BZ #12714]
78049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78050         gethostbyname4_r when IPv6 results are possible.
78052 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78054         [BZ #12723]
78055         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78056         _PC_PIPE_BUF handling.
78058 2011-04-30  Bruno Haible  <bruno@clisp.org>
78060         [BZ #12717]
78061         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78062         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78063         to 'int'.
78064         * inet/getnameinfo.c (getnameinfo): Likewise.
78066 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78068         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78069         to groups setting in database lookup.
78070         * nss/nsswitch.conf: Add initgroups entry.
78072 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78074         [BZ #12685]
78075         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78076         mode string.
78077         Patch by Eric Blake <eblake@redhat.com>.
78079 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78081         * sunrpc/Makefile (need-export-routines): Add svc_run.
78082         (routines): Remove svc_run.
78083         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78084         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78085         * sunrpc/svc_run.c (svc_run): Likewise.
78086         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78088 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78090         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78091         problem in reallocation in last patch.
78093 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78095         * sunrpc/Makefile: Move inclusion of Rules.
78097 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78099         * nss/nss_files/files-initgroups.c: New file.
78100         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78101         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78102         _nss_files_initgroups_dyn.
78104 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78106         * elf/elf.h (R_ARM_IRELATIVE): Define.
78108 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78110         * po/ru.po: Update from translation team.
78112 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78114         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78115         dependencies.
78117 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78119         [BZ #12653]
78120         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78121         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78122         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78123         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78124         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78126 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78128         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78129         differing bytes.
78130         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78131         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78132         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78134 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78136         [BZ #12420]
78137         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78138         storing it.
78139         * stdlib/bug-getcontext.c: New file.
78140         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78142 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78144         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78145         instructions into .machine "z9-109".
78146         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78147         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78149 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78151         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78152         between environment variables and auxiliary vector.
78154 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78156         * Makefile: Add rules to build linkobj/libc.so.
78157         * include/libc-symbols.h: Define libc_hidden_nolink.
78158         * include/rpc/auth.h: Mark functions which are to be hidden.
78159         * include/rpc/auth_des.h: Likewise.
78160         * include/rpc/auth_unix.h: Likewise.
78161         * include/rpc/clnt.h: Likewise.
78162         * include/rpc/des_crypt.h: Likewise.
78163         * include/rpc/key_prot.h: Likewise.
78164         * include/rpc/pmap_clnt.h: Likewise.
78165         * include/rpc/pmap_prot.h: Likewise.
78166         * include/rpc/pmap_rmt.h: Likewise.
78167         * include/rpc/rpc_msg.h: Likewise.
78168         * include/rpc/svc.h: Likewise.
78169         * include/rpc/svc_auth.h: Likewise.
78170         * include/rpc/xdr.h: Likewise.
78171         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78172         * nss/Makefile: Likewise.
78173         * sunrpc/Makefile: Don't install headers.  Build library with normal
78174         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78175         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78176         for the compat linking library.  Remove use of INTDEF/INTUSE.
78177         * sunrpc/auth_none.c: Likewise.
78178         * sunrpc/auth_unix.c: Likewise.
78179         * sunrpc/authdes_prot.c: Likewise.
78180         * sunrpc/authuxprot.c: Likewise.
78181         * sunrpc/clnt_gen.c: Likewise.
78182         * sunrpc/clnt_perr.c: Likewise.
78183         * sunrpc/clnt_raw.c: Likewise.
78184         * sunrpc/clnt_simp.c: Likewise.
78185         * sunrpc/clnt_tcp.c: Likewise.
78186         * sunrpc/clnt_udp.c: Likewise.
78187         * sunrpc/clnt_unix.c: Likewise.
78188         * sunrpc/des_crypt.c: Likewise.
78189         * sunrpc/des_soft.c: Likewise.
78190         * sunrpc/get_myaddr.c: Likewise.
78191         * sunrpc/key_call.c: Likewise.
78192         * sunrpc/key_prot.c: Likewise.
78193         * sunrpc/netname.c: Likewise.
78194         * sunrpc/pm_getmaps.c: Likewise.
78195         * sunrpc/pm_getport.c: Likewise.
78196         * sunrpc/pmap_clnt.c: Likewise.
78197         * sunrpc/pmap_prot.c: Likewise.
78198         * sunrpc/pmap_prot2.c: Likewise.
78199         * sunrpc/pmap_rmt.c: Likewise.
78200         * sunrpc/publickey.c: Likewise.
78201         * sunrpc/rpc_cmsg.c: Likewise.
78202         * sunrpc/rpc_common.c: Likewise.
78203         * sunrpc/rpc_dtable.c: Likewise.
78204         * sunrpc/rpc_prot.c: Likewise.
78205         * sunrpc/rpc_thread.c: Likewise.
78206         * sunrpc/rtime.c: Likewise.
78207         * sunrpc/svc.c: Likewise.
78208         * sunrpc/svc_auth.c: Likewise.
78209         * sunrpc/svc_authux.c: Likewise.
78210         * sunrpc/svc_raw.c: Likewise.
78211         * sunrpc/svc_run.c: Likewise.
78212         * sunrpc/svc_simple.c: Likewise.
78213         * sunrpc/svc_tcp.c: Likewise.
78214         * sunrpc/svc_udp.c: Likewise.
78215         * sunrpc/svc_unix.c: Likewise.
78216         * sunrpc/svcauth_des.c: Likewise.
78217         * sunrpc/xcrypt.c: Likewise.
78218         * sunrpc/xdr.c: Likewise.
78219         * sunrpc/xdr_array.c: Likewise.
78220         * sunrpc/xdr_float.c: Likewise.
78221         * sunrpc/xdr_intXX_t.c: Likewise.
78222         * sunrpc/xdr_mem.c: Likewise.
78223         * sunrpc/xdr_rec.c: Likewise.
78224         * sunrpc/xdr_ref.c: Likewise.
78225         * sunrpc/xdr_sizeof.c: Likewise.
78226         * sunrpc/xdr_stdio.c: Likewise.
78228 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78230         [BZ #12650]
78231         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78232         * sysdeps/ia64/dl-tls.h: Likewise.
78233         * sysdeps/powerpc/dl-tls.h: Likewise.
78234         * sysdeps/s390/dl-tls.h: Likewise.
78235         * sysdeps/sh/dl-tls.h: Likewise.
78236         * sysdeps/sparc/dl-tls.h: Likewise.
78237         * sysdeps/x86_64/dl-tls.h: Likewise.
78238         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78240 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78242         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78243         rpath element also skip the following colon.
78244         (expand_dynamic_string_token): Add is_path parameter and pass
78245         down to DL_DST_REQUIRED and _dl_dst_substitute.
78246         (decompose_rpath): Call expand_dynamic_string_token with
78247         non-zero is_path.  Ignore empty rpaths.
78248         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78249         with zero is_path.
78251 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78254         Make cancelable.
78256 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78258         [BZ #12655]
78259         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78260         Patch by Filipe David Manana <fdmanana@apache.org>.
78262 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78264         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78265         Maintain aligned stack.
78266         (CHECK_RSP): Remove unused macro.
78268 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78270         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78271         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78273 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78275         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78277         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78279 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78281         [BZ #12518]
78282         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78283         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78284         * sysdeps/x86_64/memmove.c: New file.
78285         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78286         (memcpy): Renamed to ...
78287         (__new_memcpy): This.
78288         (memcpy): Provide GLIBC_2_14 memcpy.
78289         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78290         (memcpy): Provide GLIBC_2_2_5 memcpy.
78292 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78294         [BZ #12631]
78295         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78297 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78299         * misc/syncfs.c: New file.
78300         * misc/Makefile (routines): Add syncfs.
78301         * posix/unistd.h: Declare syncfs.
78302         * sysdeps/unix/syscalls.list: Add syncfs.
78304 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78306         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78307         open_by_handle_at.
78308         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78309         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78310         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78311         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78313         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78314         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78316 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78318         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78319         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78320         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78321         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78322         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78323         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78324         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78326         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78327         sync_file_range.c with -fexceptions.
78328         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78329         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78330         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78331         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78332         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78333         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78334         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78335         sync_file_range as cancellation point
78336         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78337         now a wrapper around __call_sync_file_range with cancellation handling.
78338         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78339         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78340         function name to __call_sync_file_range.
78341         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78342         Add call_sync_file_range.
78344 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78346         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78347         bits/timex.h.
78349 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78351         * iconv/iconv.h: Fix typo in comment.
78352         * io/fcntl.h: Likewise.
78353         * libio/stdio.h: Likewise.
78354         * posix/spawn.h: Likewise.
78355         * posix/unistd.h: Likewise.
78356         * stdlib/stdlib.h: Likewise.
78357         * time/time.h: Likewise.
78358         * wcsmbs/wchar.h: Likewise.
78360         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78361         open_by_handle): Add.
78362         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78363         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78364         Augment a few comments.
78365         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78366         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78367         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78368         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78369         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78370         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78371         open_by_handle.
78373         * io/fcntl.h (AT_EMPTY_PATH): Define.
78375 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78377         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78378         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78379         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78380         to...
78381         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78382         * Versions.def: Add GLIBC_2.14.
78383         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78384         Export.
78386 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78388         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78389         round counter.
78390         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78392 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78394         [BZ #12597]
78395         * string/test-strncmp.c (do_page_test): New function.
78396         (check2): Likewise.
78397         (test_main): Call check2.
78398         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78400 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78402         [BZ #12587]
78403         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78404         Handle cache information in CPU leaf 4.
78405         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78407 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78409         [BZ #12583]
78410         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78411         character representation.
78412         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78414 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78416         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78417         END(__isnan) to END(__isnanf) to match function entry point/label
78418         EALIGN(__isnanf,...).
78420 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78422         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78424 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78426         [BZ #12510]
78427         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78428         copy from the symbol referenced in the relocation to initialize the
78429         used variable.
78430         Patch by Piotr Bury <pbury@goahead.com>.
78431         * elf/Makefile: Add rules to build and tst-unique3.
78432         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78433         * elf/tst-unique3.cc: New file.
78434         * elf/tst-unique3.h: New file.
78435         * elf/tst-unique3lib.cc: New file.
78436         * elf/tst-unique3lib2.cc: New file.
78438         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78440 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78442         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78443         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78444         to _start.
78446 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78448         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78449         to-be-loaded object along a path to loader is ld.so.
78451 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78452             Ulrich Drepper  <drepper@gmail.com>
78454         * sysdeps/x86_64/memset.S: After aligning destination, code
78455         branches to different locations depending on the value of
78456         misalignment, when multiarch is enabled. Fix this.
78458 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78460         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78461         Set _x86_64_preferred_memory_instruction for AMD processsors.
78462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78463         Set bit_Prefer_SSE_for_memop for AMD processors.
78465 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78467         * libio/fmemopen.c (fmemopen): Optimize a bit.
78469 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78471         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78473 2011-03-03  Roland McGrath  <roland@redhat.com>
78475         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78477 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78479         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78480         __bzero_ultra1 instead of __memset_ultra1.
78482 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78483             Ulrich Drepper  <drepper@gmail.com>
78485         [BZ #12509]
78486         * include/link.h (struct link_map): Add l_orig_initfini.
78487         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78488         returning unsuccessfully.
78489         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78490         close of a file loaded at startup, restore the original l_initfini
78491         list.
78492         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78493         list, store the pointer.
78494         * elf/Makefile ($(objpfx)noload-mem): New rule.
78495         (noload-ENV): Define.
78496         (tests): Add $(objpfx)noload-mem.
78497         * elf/noload.c: Include <memcheck.h>.
78498         (main): Call mtrace.  Close all opened handles.
78500 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78502         [BZ #12454]
78503         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78504         dependencies are missing.
78506 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78508         Fix __if_freereq crash: Unlike the generic version which uses free,
78509         Hurd needs munmap.
78510         * sysdeps/mach/hurd/ifreq.h: New file.
78512 2011-01-27  Petr Baudis  <pasky@suse.cz>
78513             Ulrich Drepper  <drepper@gmail.com>
78515         [BZ 12445]#
78516         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78517         to extend_alloca().
78518         * stdio-common/bug23.c: New file.
78519         * stdio-common/Makefile (tests): Add bug23.
78521 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78522             Ulrich Drepper  <drepper@gmail.com>
78524         [BZ #12489]
78525         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78526         before performing relro protection.  At old place add assertion
78527         to make sure nothing changed.
78529 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78530             Glauber de Oliveira Costa  <glommer@gmail.com>
78532         * elf/elf.h: Add new ARM TLS relocs.
78534 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78537         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78538         cast from r3.
78539         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78540         'tests' variable.
78541         * sysdeps/wordsize-64/tst-writev.c: New file.
78543 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78545         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78546         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78547         insns in _dl_start to prevent a TOC reference before relocs are
78548         resolved.
78550 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78552         [BZ #12469]
78553         * Makeconfig: Remove RANLIB definition.
78554         * Makerules: Don't use RANLIB.
78555         * aclocal.m4: Remove ranlib test.
78556         * configure.in: No need to check for ranlib.
78557         * elf/rtld-Rules: Don't use RANLIB.
78559 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78561         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78562         protection macro.
78563         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78564         inclusion protection macro.
78566         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78567         SIGRTMIN and SIGRTMAX and print information in that case only when
78568         SIGRTMIN is defined.
78570 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78572         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78573         arginfo fn returning -1.
78575         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78576         and thousands string is zero terminated.
78578 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78580         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78581         sysdeps/unix/sysv/linux/bits/socket.h.
78583 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78585         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78586         (__CPU_COUNT): Remove old macros.
78587         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78588         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78589         (__CPU_ALLOC, __CPU_FREE): Add macros.
78590         (__sched_cpualloc, __sched_cpufree): Add declarations.
78592 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78594         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78595         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78596         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78597         (readdhstai): Return value of addhstaiX call.
78598         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78599         (addgrbyX): Return value returned by cache_addgr.
78600         (readdgrbyname): Return value returned by addgrbyX.
78601         (readdgrbygid): Likewise.
78602         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78603         (addpwbyX): Return value returned by cache_addpw.
78604         (readdpwbyname): Return value returned by addhstbyX.
78605         (readdpwbyuid): Likewise.
78606         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78607         (addservbyX): Return value returned by cache_addserv.
78608         (readdservbyname): Return value returned by addservbyX:
78609         (readdservbyport): Likewise.
78610         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78611         (addhstbyX): Return value returned by cache_addhst.
78612         (readdhstbyname): Return value returned by addhstbyX.
78613         (readdhstbyaddr): Likewise.
78614         (readdhstbynamev6): Likewise.
78615         (readdhstbyaddrv6): Likewise.
78616         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78617         (readdinitgroups): Return value returned by addinitgroupsX.
78618         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78619         (prune_cache): Keep track of timeout value of re-added entries.
78620         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78621         * nscd/nscd.h: Adjust prototypes of readd* functions.
78623 2011-02-04  Roland McGrath  <roland@redhat.com>
78625         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78626         (nis_stats): Likewise.
78627         * nis/nis_modify.c (nis_modify): Likewise.
78628         * nis/nis_remove.c (nis_remove): Likewise.
78629         * nis/nis_add.c (nis_add): Likewise.
78631         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78633         * posix/fnmatch_loop.c: Add some consts.
78635         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78637 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78639         [BZ #12460]
78640         * config.make.in (config-cflags-novzeroupper): Define.
78641         * configure.in: Substitute libc_cv_cc_novzeroupper.
78642         * elf/Makefile (AVX-CFLAGS): Define.
78643         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78644         (CFLAGS-tst-auditmod4a.c): Likewise.
78645         (CFLAGS-tst-auditmod4b.c): Likewise.
78646         (CFLAGS-tst-auditmod6b.c): Likewise.
78647         (CFLAGS-tst-auditmod6c.c): Likewise.
78648         (CFLAGS-tst-auditmod7b.c): Likewise.
78649         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78651 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78653         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78654         function to the callback.
78655         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78657 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78659         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78660         of errno.
78662 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78664         [BZ #11724]
78665         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78666         of constructors.
78667         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78668         of destructors.
78669         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78671         [BZ #11724]
78672         * elf/Makefile: Add rules to build and run new test.
78673         * elf/tst-initorder.c: New file.
78674         * elf/tst-initorder.exp: New file.
78675         * elf/tst-initordera1.c: New file.
78676         * elf/tst-initordera2.c: New file.
78677         * elf/tst-initordera3.c: New file.
78678         * elf/tst-initordera4.c: New file.
78679         * elf/tst-initorderb1.c: New file.
78680         * elf/tst-initorderb2.c: New file.
78681         * elf/tst-order-a1.c: New file.
78682         * elf/tst-order-a2.c: New file.
78683         * elf/tst-order-a3.c: New file.
78684         * elf/tst-order-a4.c: New file.
78685         * elf/tst-order-b1.c: New file.
78686         * elf/tst-order-b2.c: New file.
78687         * elf/tst-order-main.c: New file.
78688         New test case by George Gensure <werkt0@gmail.com>.
78690 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78693         decoding ACE if AI_CANONIDN.
78695 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78697         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78699 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78701         * version.h (RELEASE): Bump for 2.13 release.
78702         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78704         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78706         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78707         MADV_NOHUGEPAGE.
78708         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78709         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78710         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78711         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78712         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78713         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78715         * posix/getconf.c: Update copyright year.
78716         * catgets/gencat.c: Likewise.
78717         * csu/version.c: Likewise.
78718         * debug/catchsegv.sh: Likewise.
78719         * debug/xtrace.sh: Likewise.
78720         * elf/ldconfig.c: Likewise.
78721         * elf/ldd.bash.in: Likewise.
78722         * elf/sprof.c (print_version): Likewise.
78723         * iconv/iconv_prog.c: Likewise.
78724         * iconv/iconvconfig.c: Likewise.
78725         * locale/programs/locale.c: Likewise.
78726         * locale/programs/localedef.c: Likewise.
78727         * malloc/memusage.sh: Likewise.
78728         * malloc/mtrace.pl: Likewise.
78729         * nscd/nscd.c (print_version): Likewise.
78730         * nss/getent.c: Likewise.
78732         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78733         PF_CAIF, and PF_ALG.
78734         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78736 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78738         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78739         (modules-names): Use them.
78740         (ifunc-test-modules, ifunc-pie-tests): Define.
78741         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78742         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78743         (test-extras): Likewise.
78744         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78745         $(compile-command.c).
78746         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78747         (all-built-dso): Define.
78748         (check-textrel.out, check-execstack.out): Depend on it.
78750         * configure.in: Don't override --enable-multi-arch.
78752 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78754         [BZ #6812]
78755         * nscd/hstcache.c (tryagain): Define.
78756         (cache_addhst): Return tryagain not notfound for temporary errors.
78757         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78758         failed.
78760 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78762         [BZ #10563]
78763         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78764         to make the syscall.
78765         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78767         [BZ #12378]
78768         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78769         and fall back to matching as normal character if the string ends before
78770         the matching ']' is found.  This is what POSIX requires.
78771         * posix/testfnm.c: Adjust test result.
78772         * posix/globtest.sh: Adjust test result.  Add new test.
78773         * posix/tst-fnmatch.input: Likewise.
78774         * posix/tst-fnmatch2.c: Add new test.
78776 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78778         * elf/Makefile (check-execstack): Revert last change.  Depend on
78779         check-execstack.h.
78780         (check-execstack.h): New target.
78781         (generated): Add check-execstack.h.
78782         * elf/check-execstack.c: Include "check-execstack.h".
78783         (main): Revert last change.
78784         (handle_file): Return zero if GNU_STACK is absent and
78785         DEFAULT_STACK_PERMS doesn't include PF_X.
78787 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78789         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78790         in child fails because the descriptor is already closed.
78791         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78792         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78793         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78795         [BZ #12397]
78796         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78797         syscall.
78799         [BZ #10484]
78800         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78801         temporary buffer used to handle multi lookups locally.
78802         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78804 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78806         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78807         loader is ld.so.
78809 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78811         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78812         alignment for SSE2.
78814 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78816         [BZ #12394]
78817         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78818         characters.  When rounding increased number of integer digits recompute
78819         number of groups.
78820         * stdio-common/tst-grouping.c: New file.
78821         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78823 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78825         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78826         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78828         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78829         void.
78830         * bits/select.h: Likewise.
78832 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78834         * po/ja.po: Update from translation team.
78836 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78838         [BZ #11155]
78839         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78840         implementation just like for lxstat, fxstatat, et al.
78842 2010-12-27  Jim Meyering  <meyering@redhat.com>
78844         [BZ #12348]
78845         * posix/regexec.c (build_trtable): Return failure indication upon
78846         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78848 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78850         [BZ #12201]
78851         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78852         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78853         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78854         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78856         [BZ #12207]
78857         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78859         [BZ #12204]
78860         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78861         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78863 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78865         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78866         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78867         script has SORT_BY_INIT_PRIORITY.
78868         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78869         NO_CTORS_DTORS_SECTIONS is defined.
78870         * elf/soinit.c: Likewise.
78871         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78872         NO_CTORS_DTORS_SECTIONS is defined.
78873         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78874         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78875         * sysdeps/sh/init-first.c: Likewise.
78876         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78878 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78880         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78881         always use the slow path.
78883 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78885         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78886         similar rule which adds the sysdep directories to the header search in
78887         order to pick up the correct platform stackinfo.h.
78888         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78889         perform test if it is, otherwise return successfully without testing.
78890         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78891         DEFAULT_STACK_PERMS define in stackinfo.h.
78892         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78893         defined in stackinfo.h.
78894         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78895         DEFAULT_STACK_PERMS defined in stackinfo.h.
78896         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78897         * sysdeps/ia64/stackinfo.h: Likewise.
78898         * sysdeps/s390/stackinfo.h: Likewise.
78899         * sysdeps/sh/stackinfo.h: Likewise.
78900         * sysdeps/sparc/stackinfo.h: Likewise.
78901         * sysdeps/x86_64/stackinfo.h: Likewise.
78902         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78903         PF_X for powerpc64.  Retain PF_X for powerpc32.
78905 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78907         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78908         accurately.
78909         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78910         GETDENTS_64BIT_ALIGNED.
78912 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78914         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78916 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78918         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78919         _GNU_SOURCE.
78921         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78922         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78923         Remove __restrict.
78924         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78925         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78927 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78929         [BZ #11655]
78930         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78931         are initialized.
78933 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78935         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78937 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78939         * po/it.po: Update from translation team.
78941 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78943         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78944         unused codes.
78946 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78948         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78950 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78952         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78953         specially.
78954         (gaih_getanswer_slice): Likewise.
78956 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78958         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78960 2010-05-31  Petr Baudis  <pasky@suse.cz>
78962         [BZ #11149]
78963         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78964         silently even in the chroot mode.
78966 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78968         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78969         last patch a bit.  Pretty printing
78971 2010-05-31  Petr Baudis <pasky@suse.cz>
78973         [BZ #10085]
78974         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78975         initialization of skip_initgroups_dyn.
78977 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78979         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78980         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78982 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78984         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78986 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78988         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78989         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78990         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78991         ($(objpfx)tst-fnmatch-mem): New rule.
78992         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78993         * posix/tst-fnmatch.c (main): Call mtrace.
78995 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78998         Support Intel processor model 6 and model 0x2c.
79000 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79002         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79003           signed comparison.
79005 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79007         [BZ #12205]
79008         * string/test-strncasecmp.c (check_result): New function.
79009         (do_one_test): Use it.
79010         (check1): New function.
79011         (test_main): Use it.
79012         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79013         Support strcasecmp and strncasecmp.
79015 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79017         [BZ #12194]
79018         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79019         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79021 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79023         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79024         IFUNC support.
79025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79026         memset-x86-64.
79027         * sysdeps/x86_64/multiarch/bzero.S: New file.
79028         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79029         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79030         * sysdeps/x86_64/multiarch/memset.S: New file.
79031         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79033         Set bit_Prefer_SSE_for_memop for Intel processors.
79034         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79035         Define.
79036         (index_Prefer_SSE_for_memop): Define.
79037         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79039 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79041         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79042         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79044 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79046         [BZ #12191]
79047         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79048         (__x86_64_raw_data_cache_size_half): Likewise.
79049         (__x86_64_raw_shared_cache_size): Likewise.
79050         (__x86_64_raw_shared_cache_size_half): Likewise.
79052         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79053         (__x86_64_raw_data_cache_size_half): Likewise.
79054         (__x86_64_raw_shared_cache_size): Likewise.
79055         (__x86_64_raw_shared_cache_size_half): Likewise.
79056         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79057         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79058         and __x86_64_raw_shared_cache_size_half.  Round
79059         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79060         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79061         to multiple of 256 bytes.
79063 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79065         [BZ #12167]
79066         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79067         of inacessible symlinks.  Verify result of symlink before returning it.
79068         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79069         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79071 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79073         * math/math.h (isinf): Fix typo in comment.
79075 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79077         * po/da.po: Update from translation team.
79079 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79081         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79082         is added to the list.
79084 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79085             Ulrich Drepper  <drepper@gmail.com>
79087         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79088         the global list here.  Move code to...
79089         (_dl_add_to_namespace_list): ...here.  New function.
79090         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79091         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79092         * elf/dl-load.c (lose): Don't remove the element from the list.
79093         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79094         (_dl_map_object): Likewise.
79096 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79098         [BZ #12159]
79099         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79100         into all bytes of SSE register.
79101         Patch by Richard Li <richardpku@gmail.com>.
79103 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79105         [BZ #12140]
79106         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79107         perturbing.
79109 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79111         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79112         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79113         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79114         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79116         submachine.
79117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79119 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79121         * include/dlfcn.h (__RTLD_SECURE): Define.
79122         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79123         mode & __RTLD_SECURE instead.
79124         (open_path): Rename preloaded parameter to secure.
79125         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79126         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79127         * elf/dl-deps.c (openaux): Likewise.
79128         * elf/rtld.c (struct map_args): Remove is_preloaded.
79129         (map_doit): Don't use it.
79130         (dl_main): Likewise.
79131         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79132         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79134 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79136         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79137         (sysd-rules-targets): Remove duplicates.
79138         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79139         rtld-%.$o dependency.
79141 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79143         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79144         _dl_map_object do it.
79146 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79148         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79149         fast fma builtins, define the macros in the C99 standard.
79150         (FP_FAST_FMAF): Likewise.
79151         (FP_FAST_FMAL): Likewise.
79152         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79154         * bits/mathdef.h: Update copyright year.
79155         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79157 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79159         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79160         builtins, define the macros in the C99 standard.
79161         (FP_FAST_FMAF): Likewise.
79162         (FP_FAST_FMAL): Likewise.
79163         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79164         multiply/add.
79165         (FP_FAST_FMAF): Likewise.
79167 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79169         [BZ #3268]
79170         * math/libm-test.inc (fma_test): Some new testcases.
79171         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79172         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79173         y and infinite z.  Do multiplication by C already in long double.
79174         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79175         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79176         y and infinite z.  Do bitwise or of inexact bit into u.d.
79177         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79178         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79179         * sysdeps/i386/fpu/s_fma.S: Removed.
79180         * sysdeps/i386/fpu/s_fmal.S: Removed.
79182 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79184         [BZ #3268]
79185         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79186         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79187         computation is not scheduled after fetestexcept.  Fix value
79188         of minimum denormal long double.
79190 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79192         [BZ #3268]
79193         * math/libm-test.inc (fma_test): Add some more tests.
79194         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79195         correctly.
79197 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79199         * scripts/data/localplt-s390-linux-gnu.data: New file.
79200         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79202 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79204         [BZ #3268]
79205         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79206         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79207         instead of dbl-64.
79208         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79209         inlines.
79210         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79212         if one of x and y is very large and the other is subnormal.
79213         * sysdeps/s390/fpu/s_fmaf.c: New file.
79214         * sysdeps/s390/fpu/s_fma.c: New file.
79215         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79216         * sysdeps/powerpc/fpu/s_fma.S: New file.
79217         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79218         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79219         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79221 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79223         [BZ #3268]
79224         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79225         fma tests.
79226         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79227         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79228         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79229         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79230         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79231         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79232         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79234 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79236         [BZ #12078]
79237         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79238         * posix/bug-regex31.input: Add test case.
79240 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79242         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79243         * posix/bug-regex31.input: New file.
79245         [BZ #12078]
79246         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79247         (parse_sub_exp): Fix last change, use postorder.
79249         * posix/bug-regex31.c: New file.
79250         * posix/Makefile: Add rules to build and run bug-regex31.
79252         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79254         [BZ #12078]
79255         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79257         [BZ #12108]
79258         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79259         to have entries in sys_siglist.
79261         [BZ #12093]
79262         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79263         be NULL.
79265 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79267         [BZ #3268]
79268         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79269         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79270         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79271         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79272         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79273         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79274         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79275         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79276         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79277         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79278         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79279         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79280         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79281         * math/ftestexcept.c (fetestexcept): Likewise.
79282         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79283         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79284         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79285         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79286         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79287         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79288         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79290 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79292         [BZ #12107]
79293         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79294         newline.
79296 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79298         * string/bug-strstr1.c: New file.
79299         * string/Makefile: Add rules to build and run bug-strstr1.
79301 2010-10-05  Eric Blake  <eblake@redhat.com>
79303         [BZ #12092]
79304         * string/str-two-way.h (two_way_long_needle): Always clear memory
79305         when skipping input due to the shift table.
79307 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79309         [BZ #12005]
79310         * malloc/mcheck.c: Handle large requests.
79312         [BZ #12077]
79313         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79314         for strncmp and strncasecmp.
79315         * string/stratcliff.c: Add tests for strcmp and strncmp.
79316         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79318 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79320         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79321         __set_fpscr.
79323 2010-09-30  Andreas Jaeger  <aj@suse.de>
79325         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79326         (CGROUP_SUPER_MAGIC): Define.
79327         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79328         Handle btrfs and cgroup file systems.
79329         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79330         Likewise.
79332 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79334         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79335         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79337 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79339         [BZ #12067]
79340         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79341         trying to locate the ELF header.
79343 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79345         [BZ #11611]
79346         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79347         Mask out sign-bit copies when constructing f_fsid.
79349 2010-09-24  Petr Baudis <pasky@suse.cz>
79351         * debug/stack_chk_fail_local.c: Add missing licence exception.
79352         * debug/warning-nop.c: Likewise.
79354 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79356         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79357         implementing getdents64 using getdents syscall, set d_type if
79358         __ASSUME_GETDENTS32_D_TYPE.
79360 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79362         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79363         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79365 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79367         [BZ #12037]
79368         * posix/unistd.h: Undo change of feature selection for ftruncate from
79369         2010-01-11.
79371 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79373         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79374         detection.
79376 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79378         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79379         fanotify_mark.
79380         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79382 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79384         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79385         variables after CHECK_SP call.
79386         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79388 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79389             Ulrich Drepper  <drepper@redhat.com>
79391         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79392         re-relocationg ld.so.
79393         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79394         _dl_init_paths call.
79395         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79396         here anymore.
79398 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79400         * resolv/res_init.c (__res_vinit): Count the default server we added.
79402 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79403             Ulrich Drepper  <drepper@redhat.com>
79405         [BZ #11968]
79406         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79407         (____longjmp_chk): Use %ebx for saving value across system call.
79408         Add unwind info.
79410 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79412         * manual/Makefile: Don't mix pattern rules with normal rules.
79414 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79416         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79417         operation.
79418         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79419         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79420         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79421         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79422         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79423         Likewise.
79425 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79427         [BZ #11979]
79428         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79429         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79431 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79433         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79434         * sysdeps/x86_64/addmul_1.S: Likewise.
79435         * sysdeps/x86_64/lshift.S: Likewise.
79436         * sysdeps/x86_64/mul_1.S: Likewise.
79437         * sysdeps/x86_64/rshift.S: Likewise.
79438         * sysdeps/x86_64/sub_n.S: Likewise.
79439         * sysdeps/x86_64/submul_1.S: Likewise.
79441 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79443         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79444         Define __sched_param instead of SCHED_* and sched_param when
79445         <bits/sched.h> is included with __need_schedparam defined.
79446         * bits/sched.h [__need_schedparam]
79447         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79448         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79449         (__defined_schedparam): Define to 1.
79450         (__sched_param): New structure, identical to sched_param.
79451         (__need_schedparam): Undefine.
79453 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79455         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79456         (epoll_create1): Declare.
79458         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79460 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79462         [BZ #7066]
79463         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79464         shifting retval into place.
79466 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79468         * nis/rpcsvc/nis.h: Update copyright notice.
79469         * nis/rpcsvc/nis.x: Likewise.
79470         * nis/rpcsvc/nis_callback.h: Likewise.
79471         * nis/rpcsvc/nis_callback.x: Likewise.
79472         * nis/rpcsvc/nis_object.x: Likewise.
79473         * nis/rpcsvc/nis_tags.h: Likewise.
79474         * nis/rpcsvc/yp.h: Likewise.
79475         * nis/rpcsvc/yp.x: Likewise.
79476         * nis/rpcsvc/ypupd.h: Likewise.
79477         * nis/yp_xdr.c: Likewise.
79478         * nis/ypupdate_xdr.c: Likewise.
79480         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79481         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79482         (pmap_getport): Use __libc_rpc_getport.
79483         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79484         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79485         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79487 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79490         fanotify_mark.
79492 2010-08-27  Roland McGrath  <roland@redhat.com>
79494         * sysdeps/i386/i686/multiarch/Makefile
79495         (CFLAGS-varshift.c): New variable.
79497 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79499         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79500         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79502         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79504         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79506 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79508         * sysdeps/x86_64/strlen.S: Unroll the loop.
79509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79510         strlen-sse2 strlen-sse2-bsf.
79511         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79512         __strlen_no_bsf if bit_Slow_BSF is set.
79513         (__strlen_sse42): Removed.
79514         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79515         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79517 2010-08-25  Roland McGrath  <roland@redhat.com>
79519         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79520         * sysdeps/x86_64/multiarch/varshift.c: New file.
79521         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79522         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79523         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79524         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79526 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79528         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79529         strlen-sse2 strlen-sse2-bsf.
79530         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79531         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79532         (__strlen_sse2): Removed.
79533         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79534         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79535         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79536         bit_Slow_BSF for Atom.
79537         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79538         (index_Slow_BSF): Define.
79539         (HAS_SLOW_BSF): Define.
79541 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79543         [BZ #10851]
79544         * resolv/res_init.c (__res_vinit): When no server address at all
79545         is given default to loopback.
79547 2010-08-24  Roland McGrath  <roland@redhat.com>
79549         * configure.in: Remove config-name.h generation.
79550         * configure: Regenerated.
79551         * config-name.in: File removed.
79552         * scripts/config-uname.sh: New file.
79553         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79554         ($(objdir)config-name.h): New target.
79556         * sunrpc/rpc_parse.h: Avoid nested comment.
79558 2010-08-24  Richard Henderson  <rth@redhat.com>
79559             Ulrich Drepper  <drepper@redhat.com>
79560             H.J. Lu  <hongjiu.lu@intel.com>
79562         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79564         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79565         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79566         _mm_alignr_epi8 with _mm_loadu_si128.
79567         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79568         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79569         (__m128i_shift_right): Removed.
79570         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79571         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79572         * sysdeps/x86_64/multiarch/varshift.h: New file.
79573         * sysdeps/x86_64/multiarch/varshift.S: New file.
79575 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79577         * configure.in: Move assembler checks to before sysdep dir checking.
79579 2010-08-20  Petr Baudis  <pasky@suse.cz>
79581         * LICENSES: Sync the sunrpc license.
79583 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79585         * sunrpc/auth_des.c: Update copyright notice once again.
79586         * sunrpc/auth_none.c: Likewise.
79587         * sunrpc/auth_unix.c: Likewise.
79588         * sunrpc/authdes_prot.c: Likewise.
79589         * sunrpc/authuxprot.c: Likewise.
79590         * sunrpc/bindrsvprt.c: Likewise.
79591         * sunrpc/clnt_gen.c: Likewise.
79592         * sunrpc/clnt_perr.c: Likewise.
79593         * sunrpc/clnt_raw.c: Likewise.
79594         * sunrpc/clnt_simp.c: Likewise.
79595         * sunrpc/clnt_tcp.c: Likewise.
79596         * sunrpc/clnt_udp.c: Likewise.
79597         * sunrpc/clnt_unix.c: Likewise.
79598         * sunrpc/des_crypt.c: Likewise.
79599         * sunrpc/des_soft.c: Likewise.
79600         * sunrpc/get_myaddr.c: Likewise.
79601         * sunrpc/getrpcport.c: Likewise.
79602         * sunrpc/key_call.c: Likewise.
79603         * sunrpc/key_prot.c: Likewise.
79604         * sunrpc/openchild.c: Likewise.
79605         * sunrpc/pm_getmaps.c: Likewise.
79606         * sunrpc/pm_getport.c: Likewise.
79607         * sunrpc/pmap_clnt.c: Likewise.
79608         * sunrpc/pmap_prot.c: Likewise.
79609         * sunrpc/pmap_prot2.c: Likewise.
79610         * sunrpc/pmap_rmt.c: Likewise.
79611         * sunrpc/rpc/auth.h: Likewise.
79612         * sunrpc/rpc/auth_unix.h: Likewise.
79613         * sunrpc/rpc/clnt.h: Likewise.
79614         * sunrpc/rpc/des_crypt.h: Likewise.
79615         * sunrpc/rpc/key_prot.h: Likewise.
79616         * sunrpc/rpc/netdb.h: Likewise.
79617         * sunrpc/rpc/pmap_clnt.h: Likewise.
79618         * sunrpc/rpc/pmap_prot.h: Likewise.
79619         * sunrpc/rpc/pmap_rmt.h: Likewise.
79620         * sunrpc/rpc/rpc.h: Likewise.
79621         * sunrpc/rpc/rpc_des.h: Likewise.
79622         * sunrpc/rpc/rpc_msg.h: Likewise.
79623         * sunrpc/rpc/svc.h: Likewise.
79624         * sunrpc/rpc/svc_auth.h: Likewise.
79625         * sunrpc/rpc/types.h: Likewise.
79626         * sunrpc/rpc/xdr.h: Likewise.
79627         * sunrpc/rpc_clntout.c: Likewise.
79628         * sunrpc/rpc_cmsg.c: Likewise.
79629         * sunrpc/rpc_common.c: Likewise.
79630         * sunrpc/rpc_cout.c: Likewise.
79631         * sunrpc/rpc_dtable.c: Likewise.
79632         * sunrpc/rpc_hout.c: Likewise.
79633         * sunrpc/rpc_main.c: Likewise.
79634         * sunrpc/rpc_parse.c: Likewise.
79635         * sunrpc/rpc_parse.h: Likewise.
79636         * sunrpc/rpc_prot.c: Likewise.
79637         * sunrpc/rpc_sample.c: Likewise.
79638         * sunrpc/rpc_scan.c: Likewise.
79639         * sunrpc/rpc_scan.h: Likewise.
79640         * sunrpc/rpc_svcout.c: Likewise.
79641         * sunrpc/rpc_tblout.c: Likewise.
79642         * sunrpc/rpc_util.c: Likewise.
79643         * sunrpc/rpc_util.h: Likewise.
79644         * sunrpc/rpcinfo.c: Likewise.
79645         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79646         * sunrpc/rpcsvc/key_prot.x: Likewise.
79647         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79648         * sunrpc/rpcsvc/mount.x: Likewise.
79649         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79650         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79651         * sunrpc/rpcsvc/rex.x: Likewise.
79652         * sunrpc/rpcsvc/rstat.x: Likewise.
79653         * sunrpc/rpcsvc/rusers.x: Likewise.
79654         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79655         * sunrpc/rpcsvc/spray.x: Likewise.
79656         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79657         * sunrpc/rtime.c: Likewise.
79658         * sunrpc/svc.c: Likewise.
79659         * sunrpc/svc_auth.c: Likewise.
79660         * sunrpc/svc_authux.c: Likewise.
79661         * sunrpc/svc_raw.c: Likewise.
79662         * sunrpc/svc_run.c: Likewise.
79663         * sunrpc/svc_simple.c: Likewise.
79664         * sunrpc/svc_tcp.c: Likewise.
79665         * sunrpc/svc_udp.c: Likewise.
79666         * sunrpc/svc_unix.c: Likewise.
79667         * sunrpc/svcauth_des.c: Likewise.
79668         * sunrpc/xcrypt.c: Likewise.
79669         * sunrpc/xdr.c: Likewise.
79670         * sunrpc/xdr_array.c: Likewise.
79671         * sunrpc/xdr_float.c: Likewise.
79672         * sunrpc/xdr_mem.c: Likewise.
79673         * sunrpc/xdr_rec.c: Likewise.
79674         * sunrpc/xdr_ref.c: Likewise.
79675         * sunrpc/xdr_sizeof.c: Likewise.
79676         * sunrpc/xdr_stdio.c: Likewise.
79678         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79679         handling.
79681 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79683         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79685 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79687         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79688         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79689         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79690         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79691         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79692         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79693         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79694         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79695         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79696         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79697         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79698         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79699         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79700         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79702 2010-07-26  Anton Blanchard  <anton@samba.org>
79704         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79705         * malloc/arena.c (heap_trim): Likewise.
79707 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79709         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79710         here.  Not...
79711         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79712         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79714 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79716         * sysdeps/i386/elf/Makefile: New file.
79718 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79720         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79721         from fanotify_init.
79722         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79723         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79725 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79727         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79728         of strncasecmp_l.
79729         * sysdeps/multiarch/strcmp.S: Likewise.
79731 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79733         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79734         strncase_l-nonascii.
79735         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79736         Add strncase_l-ssse3.
79737         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79738         * sysdeps/x86_64/strcmp.S: Likewise.
79739         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79740         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79741         * sysdeps/x86_64/strncase.S: New file.
79742         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79743         * sysdeps/x86_64/strncase_l.S: New file.
79744         * string/Makefile (strop-tests): Add strncasecmp.
79745         * string/test-strncasecmp.c: New file.
79747         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79748         warning.
79750         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79751         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79753 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79755         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79757 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79759         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79760         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79761         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79763 2010-05-01  Alan Modra  <amodra@gmail.com>
79765         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79766         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79767         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79768         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79769         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79770         tidying.  Don't tail-call __sigjmp_save for static lib.
79771         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79772         save location.
79773         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79774         (CALL_MCOUNT): Add eh info, and nop after bl.
79775         (TAIL_CALL_SYSCALL_ERROR): New macro.
79776         (PSEUDO_RET): Use it.
79777         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79778         Correct save location of integer regs and cr.
79779         (_dl_profile_resolve): Correct cr save location.  Delete nops
79780         after bl when SHARED.  Reduce cfi size a little by better
79781         placement of cfi directives.
79782         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79783         make a stack frame.  Instead use parm save area as a temp.
79784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79785         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79787         Don't make a stack frame for parent, use parm save area.
79788         Increase child stack frame to 112 bytes.  Don't save unused reg,
79789         and adjust reg usage.  Set up cfi on error recovery and
79790         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79792         (__makecontext): Add dummy nop after jump to exit.
79793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79794         Use correct parm save area and cr save, reduce stack frame.
79795         Correct cfi for possible PSEUDO_RET frame setup.
79796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79797         Branch to local label emitted by PSEUDO_RET rather than
79798         __syscall_error.
79800 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79802         [BZ #11904]
79803         * locale/programs/locale.c (print_assignment): New function.
79804         (show_locale_vars): Use it.
79806 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79808         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79809         field.
79810         (struct statfs64): Likewise.
79811         (_STATFS_F_FLAGS): Define.
79812         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79813         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79814         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79815         (ST_VALID): Define locally.
79816         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79817         __statvfs_getflags, use the provided value.
79818         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79819         __ASSUME_STATFS_F_FLAGS.
79821         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79823         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79824         Add sys/fanotify.h.
79825         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79826         fanotify_mask for GLIBC_2.13.
79827         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79828         fanotify_init and fanotify_mark.
79829         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79830         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79832         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79833         Add prlimit.
79834         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79835         prlimit64 for GLIBC_2.13.
79836         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79837         prlimit64.
79838         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79839         syscall.
79840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79841         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79842         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79843         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79844         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79845         add prlimit alias.
79846         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79848         [BZ #11903]
79849         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79850         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79852         * nss/Makefile: Add rules to build and run tst-nss-test1.
79853         * shlib-versions: Add entry for libnss_test1.
79854         * nss/nss_test1.c: New file.
79855         * nss/tst-nss-test1.c: New file.
79857         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79858         (__nss_configure_lookup): Set appropriate entry in
79859         __nss_configure_lookup to true.
79860         * nss/nsswitch.h: Define enum with indeces of databases in
79861         databases and __nss_database_custom arrays.  Declare
79862         __nss_database_custom.
79863         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79864         to avoid using nscd when custom rules are installed.
79865         * nss/getXXbyYY_r.c: Likewise.
79866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79868         * nss/nss_files/files-parse.c: Whitespace fixes.
79870 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79872         [BZ #11883]
79873         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79874         * posix/fnmatch_loop.c: Likewise.
79876 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79878         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79879         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79880         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79881         * Versions.def [GLIBC_2.13]: Add.
79883 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79885         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79886         Also fail if tpwd after pwuid call is NULL.
79888 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79890         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79891         when converting to ms.
79893 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79895         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79896         EOPNOTSUPP errors with ENOTTY.
79897         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79898         EOPNOTSUPP errors with ENOTTY.
79900 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79902         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79903         Add strcasecmp_l-ssse3.
79904         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79905         strcasecmp.
79906         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79907         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79908         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79910 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79912         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79914         * string/Makefile (strop-tests): Add strcasecmp.
79915         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79916         strcasecmp_l-nonascii.
79917         (gen-as-const-headers): Add locale-defines.sym.
79918         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79919         * sysdeps/x86_64/strcasecmp.S: New file.
79920         * sysdeps/x86_64/strcasecmp_l.S: New file.
79921         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79922         * sysdeps/x86_64/locale-defines.sym: New file.
79923         * string/test-strcasecmp.c: New file.
79925         * string/test-strcasestr.c: Test both ends of the range of characters.
79926         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79928 2010-07-29  Roland McGrath  <roland@redhat.com>
79930         [BZ #11856]
79931         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79933 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79935         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79936         for ld.so.
79938 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79940         * manual/memory.texi (Malloc Tunable Parameters): Document
79941         M_PERTURB.
79943 2010-07-26  Roland McGrath  <roland@redhat.com>
79945         [BZ #11840]
79946         * configure.in (-fgnu89-inline check): Set and substitute
79947         gnu89_inline, not libc_cv_gnu89_inline.
79948         * configure: Regenerated.
79949         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79951 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79953         * string/test-strnlen.c: New file.
79954         * string/Makefile (strop-tests): Add strnlen.
79955         * string/tester.c (test_strnlen): Add a few more test cases.
79956         * string/tst-strlen.c: Better error reporting.
79958         * sysdeps/x86_64/strnlen.S: New file.
79960 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79962         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79963         lower-latency instructions.
79965 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79967         * string/test-strcasestr.c: New file.
79968         * string/test-strstr.c: New file.
79969         * string/Makefile (strop-tests): Add strstr and strcasestr.
79970         * string/str-two-way.h: Don't undefine MAX.
79971         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79973 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79975         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79976         strcasestr-nonascii.
79977         (CFLAGS-strcasestr-nonascii.c): Define.
79978         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79979         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79980         Remove unused attribute.
79982 2010-07-20  Roland McGrath  <roland@redhat.com>
79984         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79985         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79986         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79987         like LD_HWCAP_MASK can disable hwcaps.
79989 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79991         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79993 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79995         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79996         call in strcasestr.
79997         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79998         __strcasestr_sse42_nonascii.
79999         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80000         strcasestr-nonascii.c.
80001         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80003 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80005         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80006         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80007         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80008         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80010 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80012         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80013         fcntl.
80015 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80017         [BZ #11577]
80018         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80019         dl_signal_cerror.
80021 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80023         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80024         _PC_PIPE_BUF using F_GETPIPE_SZ.
80026 2010-07-05  Roland McGrath  <roland@redhat.com>
80028         * manual/arith.texi (Rounding Functions): Fix rint description
80029         implicit in round description.
80031 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80033         * elf/Makefile: Fix linking for a few tests to make recent linker
80034         happy.
80036 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80038         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80039         $(common-objpfx)libc_nonshared.a.
80041 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80043         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80044         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80045         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80046         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80047         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80048         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80049         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80050         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80065         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80066         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80067         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80068         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80069         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80070         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80071         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80072         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80073         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80074         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80075         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80076         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80092 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80094         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80095         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80096         * string/memmove.c (memmove): Renamed to ...
80097         (MEMMOVE): ...this.  Default to memmove.
80098         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80099         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80100         (END_CHK): Define.
80101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80102         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80103         mempcpy-ssse3-back memmove-ssse3-back.
80104         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80105         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80106         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80107         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80108         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80109         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80110         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80111         * sysdeps/x86_64/multiarch/memmove.c: New file.
80112         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80113         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80114         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80115         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80116         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80117         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80118         Define.
80119         (index_Fast_Copy_Backward): Define.
80120         (HAS_ARCH_FEATURE): Define.
80121         (HAS_FAST_REP_STRING): Define.
80122         (HAS_FAST_COPY_BACKWARD): Define.
80124 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80126         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80127         Restore proper fallback handling.
80129 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80131         [BZ #11701]
80132         * posix/group_member.c (__group_member): Correct checking loop.
80134         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80135         OOM in getpwuid_r correctly.  Return error number when the caller
80136         should return, otherwise -1.
80137         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80138         call returning > 0 value.
80139         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80141 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80143         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80144         libc_nonshared.a from targets in modules-names.
80146 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80148         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80149         requires it.
80151 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80153         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80154         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80155         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80156         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80158 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80160         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80162 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80164         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80165         and F_GETPIPE_SZ.
80166         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80167         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80168         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80169         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80170         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80171         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80173 2010-06-14  Roland McGrath  <roland@redhat.com>
80175         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80177 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80179         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80180         __REDIRECT followed by __THROW.
80181         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80182         * posix/getopt.h (getopt): Likewise.
80184 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80186         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80187         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80188         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80189         in AT_FLAGS.
80190         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80191         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80193 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80195         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80197 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80199         [BZ #11640]
80200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80201         Properly check family and model.
80203 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80205         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80207 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80209         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80211 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80213         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80214         symbol reference.
80216 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80218         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80219         symbol reference.
80221 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80223         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80224         and internal_recvmmsg.
80225         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80226         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80227         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80228         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80230         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80231         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80232         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80234 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80236         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80238 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80240         POWER7 optimizations.
80241         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80242         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80244 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80246         * version.h: Update for 2.13 development version.
80248 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80250         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80251         exceptions.  Return 0.
80253 2010-05-07  Roland McGrath  <roland@redhat.com>
80255         * elf/ldconfig.c (main): Add a const.
80257 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80259         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80260         (args_options): Add no-idn option.
80261         (ahosts_keys_int): Add idn_flags to ai_flags.
80262         (parse_option): Handle 'i' option to clear idn_flags.
80264         * malloc/malloc.c (_int_free): Possible race in the most recently
80265         added check.  Only act on the data if no current modification
80266         happened.
80268 See ChangeLog.17 for earlier changes.